Commit Graph
43 Commits
Author SHA1 Message Date
Duy Tran Khanh a26ce4b499 JRE failsafe: use java 17 when 16 is not installed 2021-09-21 15:27:00 +07:00
Duy Tran Khanh 64f4042103 Changes
- Downgraded to Mesa 21.0 since 21.2.? goes brrr
- Zink renderer is now visible in the renderer picker.
- Makefile: test multi-line ssh script moment
2021-09-18 19:52:09 +07:00
doregon 4658a55e89 Reorganize java home failsafe code 2021-09-18 02:23:13 -04:00
Duy Tran Khanh b2ffd5edc3 Changes
- libpojavexec.dylib is now PojavCore.framework.
- More changes for Zink renderer. Note that Mesa 21.0 is included instead of 21.2.1 due to the new version seems to be broken, only display glClearColor.
2021-09-17 07:00:14 +07:00
Duy Tran Khanh 5dcacb6d00 Changes
- Fixes #272
- Replaced MGLLayer with EGL calls
- Re-implemented Zink renderer to work with new Renderer selection system (currently hidden due to unfinished)
2021-09-14 10:57:24 +07:00
doregon 38fbfe2b34 Make game directory option a picker
- Create and delete instances from inside the app
- Fix a wrong debug line
- Fix PojavLauncher Discord link (rip vanity url)
2021-09-11 20:34:08 -04:00
Duy Tran Khanh 30f1b95693 Prepare for jailed version (no ETA)
I still have no idea how to start implementing JIT, do I just mprotect to swap between RW and RX?
2021-09-10 07:28:02 +07:00
Adam Tunnic 5b2392d053 Remove RENDERER failsafe
No longer required, now that the UIPickerView is in place.
2021-09-03 00:29:32 -04:00
doregon 11974a497f Changes
- exit app button in pojavlauncher prefs
- jailbreak warning on non-pro strapped jailbreaks
- better deciphering of what jailbreak is in use
2021-09-01 23:54:19 -04:00
Duy Tran Khanh 49125524d3 Preliminary support for v2 (code 3) control
TODO:
- Control editor
- Implement Drawer

FIXME:
-[MGLLayer init] crashes. Maybe replace with CAMetalLayer?
2021-08-30 07:13:39 +07:00
Duy Tran Khanh f00b09af2e Changes
- [Custom controls] Implemented `isSwipeable` property.
- VGPU has error at `sampler2DShadow`, so ignore it for now.
- WIP changes on jailed version.
2021-08-27 20:55:38 +07:00
doregon 15a6cf0acf MultiMC-like instances:
- now stores the minecraft directory in .pojavlauncher/instances/default
- configurable straight from the preferences
- migrates your existing minecraft folder to instances/default
- moves L/AS/m from Documents/ to .pojavlauncher/
- changes home directory to .pojavlauncher/
- automatically switches the L/AS/m symlink based on the current instance
- accounts stay the same between instances
2021-08-24 02:56:00 -04:00
Duy Tran Khanh 5ce5dbcc00 Changes
- Avoid printing "Session ID". Several Minecraft versions do that.
- Fixes Minecraft 1.13 snapshot due to the usage of LWJGL functions from an older version.
- Minecraft's built in Fullscreen Resolution scaler is available now, but not working properly.
- Regal internal changes (still fail at )
2021-08-23 11:19:54 +07:00
doregon b3fe21efb4 Add RAM slider, part 2
Fully functional.
2021-08-21 22:31:56 -04:00
doregon 3c1ef94cc6 Now log device model, iOS version, and jailbreak used 2021-08-21 19:52:54 -04:00
Duy Tran Khanh de6479f1e6 Changes
- test regal stuff (lib not added)
- auto init symlinks for jailed JRE
2021-08-18 05:52:40 +07: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 798e5790ad Merge remote-tracking branch 'origin/main' 2021-08-10 20:02:45 -04:00
doregon 9bcf627eaf Fix custom_env.txt 2021-08-10 20:02:33 -04:00
Duy Tran Khanh a739cf7202 Resolution downscaler moment 2021-08-10 19:42:10 +07:00
Duy Tran Khanh 2858c06755 oof LIBGL_NOINTOVLHACK=1 2021-08-08 17:49:36 +07:00
doregon dc674c10c5 Replace GL4ES_LIBNAME with RENDERER 2021-08-07 01:28:55 -04:00
doregon e669b6b766 Added failsafe for GL4ES_LIBNAME 2021-08-07 00:11:07 -04:00
doregon 1a1da77f39 Added check plist function 2021-08-06 23:28:44 -04:00
doregon 85524e251c Fix that last commit 2021-08-06 17:05:08 -04:00
doregon 505719deec JAVA_HOME now repairs itself when incorrect path is chosen 2021-08-06 15:41:53 -04:00
doregon 2606262ebe Fix issue with vars == nil 2021-08-06 14:58:40 -04:00
doregon 961b81d039 A bit of latestlog stuff 2021-08-05 21:10:07 -04:00
Adam Tunnic 0696174d4c Fix compile warnings 2021-08-05 03:57:31 -04:00
Adam Tunnic 87c2d5f19b Fix java_home issue 2021-08-05 03:42:22 -04:00
doregon 69a8e82efd Committing my WIP code
This builds fine, but does not yet run. I am committing so I can switch from CLion to my phone. Anyway:

- gl4es_libname is now in the plist
- working on java_home, that's the reason this code breaks
   - javaHome_pre returns null rather than the intended string
2021-08-05 02:21:46 -04:00
Duy Tran Khanh 0668d016bf Changes
- Added Caciocavallo (libawt_xawt stubs) support library.
- Added support lauching Minecraft 1.5.2 and older (requires latest
JRE8 build)
- [Custom controls] Implemented opacity property.
- Version info is now updated through macro instead of `sed` command.
2021-08-01 10:41:02 +07:00
Duy Tran Khanh c896da08bb A lot of more changes
* Custom controls:
- Unfinished v2 control
- Auto generate default.json, removed internal fallback control
- Compatible with Android's dp (might need scaling)
- Implemented properties: keycodes, bgColor, strokeColor, strokeWidth,
cornerRadius

* Other changes
- Updated MetalANGLE to 0.0.7
- Updated gl4es 1.1.5

* TODO:
- Control converter
- Drawer buttons
- Multiple keys support (?)
- Implement properties: opacity, isSwipeable, isToggle,
passThruEnabled, (maybe more?)
2021-07-23 16:51:51 +07:00
doregon 2c9e4c210b Allow PojavLauncher to be used with just OpenJDK 8 2021-07-19 16:59:38 -04:00
doregon 5d658c4d42 Fix issue 2021-07-18 19:57:46 -04:00
doregon 1bb2fa0914 Change GL4ES_HOME to GL4ES_LIBNAME because yeah 2021-07-18 19:53:28 -04:00
Duy Tran Khanh 186e3cfbb5 Bug fixes
- Button scale slider: offset run out of screen size
- JVM arguments parser: lost "-" after parse non-first arguments
2021-07-18 19:12:13 +07:00
Duy Tran Khanh 20d678c0fc Comment out a piece of debug prints 2021-07-17 09:53:35 +07:00
Duy Tran Khanh b47a6fffb3 Merge ; commit '920658a56491f9429554fde76cd28a89e0df20b4'
Conflicts:
	Natives/JavaLauncher.m
2021-07-17 09:44:42 +07:00
Duy Tran Khanh 8f5059e741 Changes
- [Custom controls] Removed control size limit, prepare custom controls
screen.
- [Jailed] Use  directory as home instead of

- [Preference] Added "button scale"
- [Preferences] Moved into launcher_preferences.plist
2021-07-17 07:18:03 +07:00
doregon 920658a564 Allow for custom_env to control gl4es libname 2021-07-14 14:20:03 -04:00
Duy Tran Khanh 12f6fcf1b6 Bug fixes around interacting with hotbar
- GUI scale is never set, so hotbar offset becomes wrong.
- Touching from hotbar to outside and vice versa cause camera to jump
randomly.
2021-07-12 16:27:54 +07:00
doregon d660282606 C is boring, move to Obj-C
Also fix the macOS stuff as I research how to properly fix the issue
2021-07-06 17:14:41 -04:00