Commit Graph
213 Commits
Author SHA1 Message Date
Duy Tran Khanh d949cb4e1b Fixes Sodium 0.3 crashes on saving settings
Sodium 0.3 won't work yet
2021-08-22 14:19:57 +07:00
Duy Tran Khanh 949e562c0e Regal stuff (test) 2021-08-22 14:19:57 +07: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
Duy Tran Khanh a739cf7202 Resolution downscaler moment 2021-08-10 19:42:10 +07:00
Duy Tran Khanh 2f87bbb54d Trick FlatLAF (used by LabyMod installer) to use Linux codes 2021-08-10 11:44:56 +07:00
Duy Tran Khanh 934f4f1354 FPS limiter :) 2021-08-08 17:34:09 +07:00
Duy Tran Khanh 66bee901db Layout converter v1 -> unfinished v2
"i want new keyboard for pojavluancher" x20 by @𝙵𝚊𝚔ȇ̈_A𝕣ᴄᴀᴅᴇ#7200
2021-08-07 10:17:52 +07:00
Duy Tran Khanh e079e86a80 Changes
- Automatically set overrideWidth and overrideHeight
- Multi-context moment.
Current status of Forge 1.12.2:

Exception type: EXC_BAD_ACCESS (SIGSEGV)
Exception subtype: KERN_INVALID_ADDRESS: 0x964
Exception codes: 0x0000000000000001, 0x0000000000000964
Culprit: Unknown
VM Protection: 0x964 is not in any region.

Triggered by thread: 20
Thread name:
Call stack:
0   libgl4es_115.dylib  0x000000012196738c 0x121900000 + 422796  //
realize_glenv
1   libgl4es_115.dylib  0x00000001219672dc 0x121900000 + 422620  //
realize_glenv
2   libgl4es_115.dylib  0x0000000121966e78 0x121900000 + 421496  //
fpe_glDrawArrays
3   libgl4es_115.dylib  0x000000012199d4e4 0x121900000 + 644324  //
draw_renderlist
4   libgl4es_115.dylib  0x000000012197e39c 0x121900000 + 517020  //
gl4es_flush
5   libgl4es_115.dylib  0x00000001219609e4 0x121900000 + 395748  //
proxy_glEnable
2021-08-05 15:17:56 +07:00
Duy Tran Khanh f2566e3da5 Basic mod installer implementation 2021-08-03 16:06:32 +07: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 d4d13edc9a Stub glfwRequestWindowAttention 2021-07-24 16:25:42 +07:00
Duy Tran Khanh 14c5a5ac8f Update PLaunchApp.java 2021-07-18 07:49:54 +07:00
Duy Tran Khanh 7c766a1a5d [Java] This messy plist parser should be fixed now 2021-07-18 07:44:07 +07:00
Duy Tran Khanh 69e8f38894 Update PLaunchApp.java 2021-07-18 07:21:55 +07:00
Duy Tran Khanh 1b606997e1 wrong offset in current selected version parser 2021-07-17 20:34:32 +07:00
Duy Tran Khanh 322870f8a3 Bug fix: always download 1.16.5 2021-07-17 16:13:06 +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
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
Duy Tran Khanh 7a4bef444b Update GLFWNativeCocoa.java 2021-07-07 07:57:47 +07:00
Duy Tran Khanh f33da2475f Update GLFWNativeCocoa.java 2021-07-07 07:57:03 +07:00
Duy Tran Khanh f76c91f1a9 Get Minecraft 1.17.1 to work 2021-07-07 07:55:41 +07:00
Duy Tran Khanh 35afa7ec5c Local account implementation 2021-07-05 05:31:03 +07:00
Duy Tran Khanh cade3c1f01 Added Caciocavallo (not yet finished) 2021-07-04 19:43:33 +07:00
doregon 5e9354aa74 Finishing transition from Gradle
We're using javac now.
2021-07-03 17:20:40 -04:00
Duy Tran Khanh be1646c8ce Now this can be installed as an IPA :trollface: 2021-07-02 20:05:59 +07:00
Duy Tran Khanh 705e53e47b well, just remove this piece of check :trollface:
Local interrupt is already handled by mIsAssetsProcessing
2021-07-02 04:53:48 +07:00
Adam Tunnic b29289fc13 Recreate error, now that the Makefile is fixed 2021-07-01 17:41:22 -04:00
Adam Tunnic 6211f42f55 Revert "TEST: Update MC assets downloader to match Android" 2021-07-01 11:50:22 -04:00
Duy Tran Khanh 41d1943c87 TEST: Update MC assets downloader to match Android
Could fix issue #182
See https://github.com/PojavLauncherTeam/PojavLauncher/commit/2adc410ef81bc5641a8517000cfeeaaf2df3f1eb
2021-07-01 20:40:00 +07:00
Duy Tran Khanh 7ac5f2d163 Java Runtime loading changes
Allow changing Java Runtime with JAVA_HOME environment variable.
Support Java 8 libjli location (`lib/jli` instead of `lib`).
2021-07-01 12:52:59 +07:00
Duy Tran Khanh 55499b52e6 Prepare for version list filtering 2021-06-16 15:18:06 +07:00
Adam Tunnic 0549c8e331 Time to move to the new Makefile (#214) 2021-06-12 17:15:49 -04:00
Duy Tran Khanh 4e959ae334 Added missing classes for b1.7 works
Requires a X11 server in order to play 1.6.2 and older, also need
toggle fullscreen (later)
2021-06-08 06:57:42 +07:00
Duy Tran Khanh f4503692fe Fixed dex2jar error on Minecraft 1.17
Removed the built-in Apache Commons library which was not fully
converted from dex to classes.
2021-06-04 10:46:52 +07:00
Duy Tran Khanh b5c4e9ef1d Changes
- Cleaned some unused codes
- Set client brand name
- Set window size correctly(?)
2021-06-03 07:15:38 +07:00
Duy Tran Khanh a93bc7028e Added local java compiler build script 2021-06-02 06:29:00 +07:00
Duy Tran Khanh 3be87bfa46 Changes
- Added preferences screen (currently empty)
- Cleaned compiler warnings
- Implemented GLFW clipboard
2021-05-24 20:50:40 +07:00
Adam Tunnic b11692bcc2 Minor changes to .gitignore, using CMake for workflow again 2021-04-29 04:26:42 -04:00
Adam Tunnic 703c467647 CMake with ARC enabled 2 2021-04-28 17:16:39 -04:00
Adam Tunnic f784f1d730 Move latestlog.txt to .pojavlauncher, pt. 2 2021-04-23 20:55:18 -04:00
Duy Tran Khanh d811cf9e5a Add gl4es 1.1.5 along with rename gl4es 1.1.4 2021-03-02 12:40:41 +07:00
Duy Tran Khanh b580728ff2 Attempt to debug lwjgl2
Text input on 1.12.2 and below are not working for some reasons...
2021-02-26 05:21:30 +07:00
khanhduytran0 d4b962ae75 Completely fixed monitor size is 0x0 (Forge mouse input should work rn) 2021-02-21 07:44:51 +07:00
Duy Tran Khanh 39b21f6380 Update AccountJNI.java 2021-02-20 17:01:53 +07:00
Duy Tran Khanh ad25e21b64 Rewrote the Mojang authentication HTTP post 2021-02-20 16:17:35 +07:00
Duy Tran Khanh 3505510914 Update GLFW.java 2021-02-18 19:02:46 +07:00
Duy Tran Khanh 43092d94e5 Stills fixing forge crashes 2021-02-18 18:54:27 +07:00
Duy Tran Khanh 6721469f6f Update GLFW.java 2021-02-18 17:29:33 +07:00
Duy Tran Khanh 89d47206fe Make the returned fb/window callback never null 2021-02-18 17:20:12 +07:00