13 Commits
Author SHA1 Message Date
Duy Tran Khanh d0279af8aa Internal changes
- First changes for tvOS (very WIP) this will be a challenge to use
remote storage as ATV doesn't allow persistent storage (at least
without jailbreak). Low priority for now.
- Change regLog, debugLog to NSLog, NSDebugLog
- Rewrite most of JavaLauncher.m to ObjC
- Update README.md
2022-12-17 21:25:23 +07:00
Duy Tran Khanh 5d7c77d697 Forge 1.17+ support 2022-05-29 20:03:04 +07:00
Duy Tran Khanh 85bc35f679 Automatically change the Java version if needed
Manually-specified Java version still applies to:
- Minecraft versions below 1.17 (default is Java 8)
- Minecraft version 1.17.x (allow choosing between Java 16 and 17)
2022-05-27 09:01:39 +07:00
khanhduytran0 bf12743457 Moved the JVM entry point to start when needed 2022-05-27 05:48:25 +07:00
khanhduytran0 fbde4948d5 Various bug fixes
- Input cursor movement seems too fast, attempt to reduce it by setting larger font size in the hidden text field.
- latestlog.txt doesn't log in 1.12+ since Log4j patch. Fixed by adding some config lines.
- Makefile: building is broken when run make from a path with space(s). Fixed by handling spaces with backslashes.
- text2speech is not overridden properly. Fixed by excluding it from download list and adding launcher.jar itself to the classpath.
- XML log output in < 1.12 since Log4j patch. Fixed by using our own configuration file.

Some more changes:
- Commented out a debug line in LWJGLX
- Fix a typo.
- JavaLauncher: use (ObjC)BOOL instead of (std)bool.
2022-01-17 08:18: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 f4daca3c35 Compilation fix 2021-01-01 11:34:30 +07:00
Duy Tran Khanh 94fdb03c58 Merge ; commit 'caf79a2dfb75b9b4bb6d400fc7a1329076513a8f'
Conflicts:
	Natives/CMakeLists.txt
	Natives/JavaLauncher.h
2021-01-01 11:30:49 +07:00
Duy Tran Khanh df74ea2ce7 Attempt: invoke UIApplicationMain from java 2021-01-01 11:26:35 +07:00
Duy Tran Khanh caf79a2dfb Use char** 2021-01-01 10:49:33 +07:00
khanhduytran0 e2bc6c08df bool.h -> stdbool.h 2021-01-01 10:26:44 +07:00
Duy Tran Khanh d2ec05c549 Try start java inside main()
Invoke map: C main() calls JLI_Launch -> Java main() calls
UIApplicationMain -> AppDelegate: didFinishLaunchingWithOptions
callback to Java -> Init OpenGL ES and start Minecraft client. (TODO)
2021-01-01 10:20:52 +07:00
Duy Tran Khanh b9b1e76aca Change project structure again 2020-12-31 16:52:58 +07:00