Commit graph

101 commits

Author SHA1 Message Date
khanhduytran0
84f97f3ccd A lot of changes
* Custom controls:
- Rename classes
- Add Dynamic position calculator for auto scale. TODO: document position variables
* Source code
- Abstracts MainActivity.java to prepare implement custom control.
2020-11-17 14:38:20 +07:00
khanhduytran0
d41bcb6561 Sorting 2020-11-15 09:53:59 +07:00
khanhduytran0
d46abbe040 Fix internal errors 2020-11-15 09:49:27 +07:00
khanhduytran0
a33dcfaf9f [Custom version] Improve MC version inheriting combination 2020-11-15 09:37:00 +07:00
khanhduytran0
217f3997db Scroll when hold 2 fingers 2020-11-14 15:42:09 +07:00
khanhduytran0
ebc95ec9c7 Move LIBGL_BATCH=10 to environment variable 2020-11-13 05:21:31 +07:00
LegacyGamerHD
e90a9e0a0e
correct my stuff 2020-11-12 17:35:22 +01:00
LegacyGamerHD
9c5ad4c505
Update Tools.java 2020-11-12 16:55:33 +01:00
LegacyGamerHD
678b86f228
Update Tools.java 2020-11-12 16:49:12 +01:00
khanhduytran0
5214a4f7e6 Code cleanup
- Move source files to convenient folders
- Remove unused classes
- Remove NDK ABI filter (supports all architectures)
2020-11-12 09:34:08 +07:00
khanhduytran0
79c3386e2a Changes
- [Input pipe] Try to fix text not working on 1.12.2 and below.
- [MC version manage] Copy from inheritsFrom if could not download version.
2020-11-10 20:01:49 +07:00
khanhduytran0
44bac63dac Changes
- [Custom control] Move source files.
- [Input pipe] Force to trigger update screen size at least once to fix wrong cursor position.
2020-11-09 13:30:50 +07:00
khanhduytran0
9fbe2385e0 Disable print MC args 2020-11-07 05:24:13 +07:00
khanhduytran0
7ef8526c91 Changes
- [Default JVM args] Set user.home to fix crash of mods or hacked clients.
- [Mod installer] fix
2020-11-06 20:24:36 +07:00
khanhduytran0
d00035d645 Changes
- Remove "id=inheritsFrom"
- [Mod installer] Fix JNI thread attach.

Current TODO: complete "inheritsFrom" implementation to get Fabric to work.
2020-11-06 18:12:39 +07:00
ArtDev
c0d09d4f5f
Attempt №2 2020-11-06 13:25:03 +03:00
ArtDev
1dae5afea1
Try to fix up Fabric 2020-11-06 13:22:11 +03:00
Tran Khanh Duy
57466ca6de
Print Minecraft args on launch 2020-11-06 16:17:28 +07:00
khanhduytran0
7a0e4efcec [MC args parser] Try to get Fabric work 2020-11-06 15:43:21 +07:00
khanhduytran0
8960365524 [JRE Startup check] Enable JVM arguments check 2020-11-06 15:32:08 +07:00
khanhduytran0
e8a972c0ba Tools.java: Add a global method to launch JVM with additional args 2020-11-05 20:21:42 +07:00
khanhduytran0
7c0f688f89 [Code cleanup] Unnecessary codes, JVM launch types 2020-11-05 19:53:34 +07:00
khanhduytran0
ffa6d7d0d7 Fix ld lib path (2/2) 2020-11-05 19:31:45 +07:00
khanhduytran0
96f71d65f9 fix... 2020-11-05 18:54:10 +07:00
khanhduytran0
950784f81f [JRE Launcher] use java.library.path 2020-11-05 18:39:16 +07:00
khanhduytran0
39e250aa57 Changes
- [Mod installer] Fix crash when put t background.
- Tools.java: replace tabs with 4-spaces
2020-11-05 17:43:28 +07:00
khanhduytran0
7892198c9d Merge + Put duplicate codes to global method 2020-11-05 09:52:25 +07:00
khanhduytran0
c4e56b045c [Bug fix] JRE exit code -1 in non-first time launch 2020-10-30 15:03:21 +07:00
khanhduytran0
9b4d43d72d JRE lib path improvement 2020-10-28 06:26:59 +07:00
khanhduytran0
617e3babbd Another try to fix 1.13+ input 2020-10-24 06:31:18 +07:00
khanhduytran0
5b6395c5b0 Change ClientBrandRetriever 2020-10-16 19:06:10 +07:00
khanhduytran0
11f1e1b5c9 Multiple changes
- Force to use LaunchWrapper 2.0 or above, to fix java9 compatibility issue.
- Remove Regal libraries.
- Update version name
2020-10-12 19:57:36 +07:00
khanhduytran0
d606d25bea Multiple changes
- Disable ClassWrapper
- Try get multiple GL contexts
2020-10-12 16:39:46 +07:00
khanhduytran0
a5742b0760 Use ClassWrapper if main class is LaunchWrapper; Fix input event crash 2020-10-06 17:18:50 +07:00
khanhduytran0
9741b05dfd Handle java exit code 2020-10-06 15:28:29 +07:00
khanhduytran0
32992619e9 put main class 2020-10-05 16:40:39 +07:00
khanhduytran0
5e251cdb22 Activate [ClassWrapperMC](https://github.com/khanhduytran0/ClassWrapperMC) 2020-10-05 16:25:09 +07:00
khanhduytran0
9f0a79176b Add launch checks; Fix cursor not working on grab mode 2020-09-28 14:30:38 +07:00
khanhduytran0
c658d005c6 Fix Y inverted 2020-09-27 19:50:23 +07:00
khanhduytran0
e99c608434 Not separate LWJGL2 and 3 classpath 2020-09-27 18:40:08 +07:00
khanhduytran0
48af767506 Change os.name to Linux 2020-09-24 20:52:31 +07:00
khanhduytran0
1bd9c02194 Add logger for install mod screen 2020-09-24 17:48:23 +07:00
khanhduytran0
d6988fea87 Custom controls: fix wrong pos 2020-09-22 13:25:40 +07:00
khanhduytran0
e3435c3cef Re-enable arm64 as it worked; Add option to uninstall java runtime 2020-09-20 12:40:08 +07:00
khanhduytran0
ce6660c2a6 Filter non-exists jar 2020-09-18 13:09:31 +07:00
khanhduytran0
13007f152a Improve input bridge; Add a pipe to callback data from JRE to Android thread 2020-09-17 10:20:10 +07:00
khanhduytran0
d83357cbb6 Add break on java arg processing 2020-09-16 20:00:59 +07:00
khanhduytran0
9ab1afcf68 Fix duplicate Java arguments while processing 2020-09-16 19:58:47 +07:00
khanhduytran0
3a9da81033 Add debug to attempt fix multiplied arguments 2020-09-13 10:58:50 +07:00
khanhduytran0
1e6f295518 Debug: print java classpath to logcat 2020-09-12 18:34:14 +07:00