Commit Graph
78 Commits
Author SHA1 Message Date
Duy Tran Khanh f7c9ec5695 Bug fix: crash if JAVA_HOME not set 2021-07-01 20:14:51 +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 a742e5b14f Updated gl4es: probably fixes 1.17 empty terrain 2021-06-30 06:48:00 +07:00
Duy Tran Khanh f25e1d7354 Update JavaLauncher.c 2021-06-03 13:33:35 +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 3be87bfa46 Changes
- Added preferences screen (currently empty)
- Cleaned compiler warnings
- Implemented GLFW clipboard
2021-05-24 20:50:40 +07:00
Adam Tunnic 9772139579 Roll back, wrong repo! 2021-04-26 02:11:03 -04:00
Adam Tunnic c91758df4f Testing with my debug build of jetsamctl 2021-04-26 02:10:16 -04:00
Adam Tunnic 8d2c453e8d Move latestlog.txt to .pojavlauncher
Aligning with Android
2021-04-23 19:48:14 -04:00
Adam Tunnic 01942b1529 Removing the jetsamctl guff 2021-04-23 14:30:54 -04:00
Adam Tunnic 11f9683d1b No more sudo for jetsam 2021-04-22 16:06:00 -04:00
Adam Tunnic d37e569eb1 Need to make a log 2021-04-22 15:24:32 -04:00
Adam Tunnic 9288261e56 I’m stupid. 2021-04-22 14:49:16 -04:00
Adam Tunnic 75dd5ec41f Try another way to run jetsamctl 2021-04-22 14:25:58 -04:00
Adam Tunnic f52ebdbbcd Make the note about jetsamctl smaller. 2021-04-22 13:36:31 -04:00
Adam Tunnic 3c8fa8d7f5 Remove #include <errno.h> 2021-04-22 13:21:16 -04:00
Adam Tunnic 8de66499cd Undo Remove /var/mobile/Documents/.pojavlauncher/customcontrols, if it exists. 2021-04-22 13:16:03 -04:00
Adam Tunnic bd25ac8f0b Remove /var/mobile/Documents/.pojavlauncher/customcontrols, if it exists.
This has been replaced by controlmap.
2021-04-22 13:12:50 -04:00
Adam Tunnic 9c47dccc10 Jetsam bypass with an if/else 2021-04-22 09:51:00 -04:00
Duy Tran Khanh fc19e16e4f Custom controls implementation changes
- Fallback to default control if custom control data size is over 100kb.
- Implemented dynamic position.
- Renamed folder from `customcontrols` to `controlmap` to match
Android.
2021-04-22 17:46:18 +07:00
Duy Tran Khanh 19cbac05b1 [JavaLauncher] Changes
- Add ability to custom environment variables.
- Moved overrideargs.txt to .pojavlauncher folder.
2021-03-18 05:27:22 +07:00
Duy Tran Khanh ca049ae6e1 Update GL4ES 1.1.5; Custom control impl (broken) 2021-03-11 05:17:47 +07:00
Duy Tran Khanh 2e9227b1f5 Disable shader debug (enable for local dev build) 2021-03-03 15:19:23 +07:00
Duy Tran Khanh dfdf2cd672 Default to gl4es 1.1.4 because of weird crashes 2021-03-02 18:49:43 +07: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 dc215f9463 Remove chmod (not the reason caused random crash)) 2021-02-23 05:57:56 +07:00
Duy Tran Khanh 81d8360c71 Fix the logger; Fix parsing custom JVM arguments 2021-02-22 05:25:57 +07:00
Duy Tran Khanh 7a62c8e1af Custom ClassLoader (attempt fix Forge and Fabric) 2021-02-18 15:57:24 +07:00
Duy Tran Khanh 40ddae4ec8 Update JavaLauncher.c 2021-02-14 14:05:10 +07:00
Duy Tran Khanh 2ded71b09d Automatically chmod the java commmand
This could fix some crashes (accroding to
https://github.com/PojavLauncherTeam/PojavLauncher_iOS/issues/39#issuec
omment-778659542)
2021-02-14 13:46:28 +07:00
Duy Tran Khanh 167d22cefd Fixed Sodium crashes 2021-02-08 20:53:23 +07:00
Duy Tran Khanh 48298eb390 Try to fix Sodium crashes 2021-02-08 20:27:10 +07:00
Hayden 39d190ffee Merge branch 'main' into main 2021-02-01 18:00:48 -05:00
Hayden e5905c57ab Fix rare crash when libjemalloc-dev is installed
A better fix in the future would be to figure out why jemalloc causes it to crash.
2021-02-01 17:59:26 -05:00
khanhduytran0 309ceb0a2d Remove duplicate setenv 2021-01-28 19:11:50 +07:00
Duy Tran Khanh 68d8e131d3 Back to AppClassLoader, try to fix class loader 2021-01-17 18:15:31 +07:00
Duy Tran Khanh e5aabc8641 Load launcher jar files to bootclasspath 2021-01-17 16:59:59 +07:00
Duy Tran Khanh b2597ddf8e Update JavaLauncher.c 2021-01-12 17:09:34 +07:00
Duy Tran Khanh 0e99e465c5 Set LIBGL_GL=15 to not use fb to see if MC works 2021-01-12 17:00:55 +07:00
Duy Tran Khanh e966aa9709 Enable LIBGL_FB=2 back 2021-01-07 18:41:53 +07:00
Duy Tran Khanh f7b8401141 Changes
- Try to fix rendering issues on 1.6.x
- Set GL4ES back to default fb mode
- Set orientation to landscape
2021-01-07 09:45:24 +07:00
khanhduytran0 62fde952c2 Try javafx again 2021-01-05 20:44:50 +07:00
khanhduytran0 6aafd7f3aa conflicts 2021-01-05 20:38:23 +07:00
Duy Tran Khanh 9b2aefa0d7 Add missing header 2021-01-05 19:51:02 +07:00
Duy Tran Khanh a3d8fde855 Try to fix the generated classpath
Conflicts:
	Natives/JavaLauncher.c
2021-01-05 19:35:39 +07:00
Duy Tran Khanh 94b3bc7b8b Try to fix the generated classpath 2021-01-05 10:34:34 +07:00
Duy Tran Khanh f3265fb9f3 Try to get javafx works on
If javafx works, I will considering designing a tiny UI on.
2021-01-05 09:27:22 +07:00
Duy Tran Khanh 698fbfc8aa Try gl4es LIBGL_FB=2 2021-01-04 05:43:38 +07:00
Duy Tran Khanh 81cea03c14 Fix a typo 2021-01-04 05:34:49 +07:00
Duy Tran Khanh 3a14120e1a Try change fb mode 2021-01-04 05:30:00 +07:00