Commit Graph
21 Commits
Author SHA1 Message Date
Duy Tran Khanh d8459effc0 WIP: New User interface
UISplitViewController is being used to create split menu.
Currently, autolayout is not yet done.
Added account switcher to the split view.

Fixes:
- auth_session parameter for legacy Minecraft versions
- Updating self.view background color is now automated by
UIColor.systemBackgroundColor
2022-07-22 08:02:40 +07:00
Duy Tran Khanh 984647084b Fixes
- [Internal] Changed how setting current viewController work
- [Internal] Correct 018e46a: avoid duplicating code
- [Internal] Saving JSON now uses NSData to write directly
- Correct a check of the Launch .jar option
- Set the AWT window size for the game
2022-05-27 21:54:26 +07:00
khanhduytran0 2a9d3909f8 Internal, renderer and UI changes + 1.19-pre1 support
Minecraft 1.19 support:
- Since 1.19-pre1, LWJGL 3.3.1 is used. However, LWJGL 3.2.3 still works with it, at least for this Minecraft release.
- Added a hack to skip calling to ObjC codes (skipped an asset file to skip setting the icon)
- JNA version replacing: now only change to 5.8.0 if version < 5.8.0

Internal changes:
- Cleanup: moved global functions to a new place
- Handle demo user correctly: actually authenticate the game with demo's access token and use the Xbox gamertag as the username
- Start moving strings to Localizable.strings (WIP)
- Re-wrote the Microsoft authentication and account management to Objective-C
- Assets downloading: added a tiny sleep call so that the UI won’t be frozen when too many tasks are executed at the same time

Renderers changes
- gl4es: `init_constructor` is now enabled, therefore moved the preload part to before `eglInitialize` (or EGL will be de-init after gl4es's hardware test).
- gl4es-extra (aka holy gl4es 1.1.4) is now used to replace the regular gl4es. This fixes VBO issue on version < 1.13 and some extra stuff. https://github.com/PojavLauncherTeam/gl4es-114-extra/commit/d6cf5c4
- Removed gl4es 1.1.5 and `Disable gl4es shaderconv` as it's unnecessary for now
- Removed vgpu, as it requires some missing extensions when come to shaders

User interface:
- The account selection list now displays the skin head (or the Xbox gamerpic if demo) and the account type
2022-05-22 11:31:14 +07:00
Adam TunnicandDuy Tran Khanh 81ae236181 Disable Mojang login (#331)
Merging early because... why not. Anyone that hasn't migrated now will get the warning.

Co-authored-by: Duy Tran Khanh <[email protected]>
2022-03-09 19:03:08 -05:00
Adam Tunnic b9d2d2042b Add changelog for 2.1 release 2022-02-07 00:45:16 -05:00
Adam Tunnic fcfa3d6d28 Fix issue with text alignment 2022-01-28 18:16:48 -05:00
Adam Tunnic cd811d9aca Consolidate some more code, fix my dumb mistake 2022-01-12 11:45:58 -05:00
Adam Tunnic eef1310629 Bump to 2.1 2021-11-26 12:48:33 -05:00
Adam Tunnic 649976de7f fix version 2021-11-25 23:45:21 -05:00
Adam Tunnic d6f3a0e636 1.3 is now 2.0 2021-09-21 11:47:59 -04:00
Duy Tran Khanh fe5f9e77a9 Changes
- Added a check to prevent attempt to launch 1.17+ with Java 8.
- Added an option to disable gl4es shaderconv in order to let ANGLE
processes them directly. This option lets Minecraft 1.17+ work
without the patch resource pack, OptiFine works aswell :)
- Changing renderer library no longer requires restart the launcher.
- Fixed some alert dialogs not displaying.
- PList default values are now set every time it loads.
2021-08-13 07:25:17 +07:00
doregon d4f349fd83 Replace GL4ES_LIBNAME with RENDERER 2021-08-08 19:39:16 -04:00
doregon de26a09e6f Fix syntax error 2021-08-04 14:05:25 -04:00
doregon 3d0b71ebb8 Update changelog 2021-08-04 14:01:10 -04:00
doregon 12980fae21 Update the Update history 2021-07-19 23:01:38 -04:00
doregon 603b0223cd Add development to 1.3 2021-07-02 01:51:31 -04:00
doregon 16bf73f77f Updated the UpdateHistory's scroll view and text 2021-07-02 01:50:57 -04:00
doregon d5cf5d7531 I swear this is the last time I'm moving the update history view controller! 2021-07-01 19:31:47 -04:00
Adam Tunnic 6ea575c2c5 Move update history… again. 2021-06-19 02:52:36 -04:00
Adam Tunnic df39e08d08 Rename UpdateHistory to AboutLauncher and overhaul its UI
- Two columns, one for creation notes and the other for update history
- Version information at the bottom with iDevice model and OS version
- Will be paired with overhauled scripts in the future to provide different builds according to environment variables that are set
2021-06-09 07:03:25 +07:00
Adam Tunnic f0fddce7c7 Add UpdateHistory and LauncherFAQ buttons
These will be adjusted greatly in the future, as I am continuing work on these
2021-06-07 22:01:33 +07:00