110 Commits
Author SHA1 Message Date
Eilionoir Tunnicliff 7e47128d66 2.1.3 - Final debian packaging fixes 2023-01-17 09:35:47 -05:00
Duy Tran Khanh 13190c24aa Makefile fixes 2022-11-27 22:16:10 +07:00
Duy Tran Khanh 118cf149a3 Update Makefile
deb build now includes Pojav's JRE and now use the same entitlements as
ipa (need test!)
Potential fix for TrollStore arm64e: remove all entitlements from dylib
2022-11-27 20:33:31 +07:00
Eilionoir Tunnicliff 8fe44a1aea Add alternate Dark icon
Feature request from a whiiiiiiiiiile ago
2022-11-25 10:22:27 -05:00
Duy Tran Khanh d939654c2f Log branch name, tweaks, localization 2022-09-11 17:48:58 +07:00
Eilionoir Tunnicliff c30a5fc5d4 Fix type build error 2022-09-03 20:45:08 -04:00
Eilionoir Tunnicliff a9ca069f1f Various makefile fixes ported from the post-jailbreak-pojav branch 2022-09-02 23:53:42 -04:00
Eilionoir Tunnicliff 77b650e44d Align correctly 2022-09-02 23:39:58 -04:00
Eilionoir Tunnicliff c8be2494e9 Java kit fixes in Makefile, added to .gitignore 2022-09-02 23:39:15 -04:00
Duy Tran Khanh 6588cb8af6 (jb) Attempt to mess around libawt_headless absence 2022-08-30 11:03:25 +07:00
Eilionoir Tunnicliff bb5e42e2c0 Make the Java kit check better + actually fix it 2022-08-26 02:57:12 -04:00
Eilionoir Tunnicliff 2d61423f0c Fix building when no Java kits are downloaded already 2022-08-25 15:36:54 -04:00
Duy Tran Khanh f7d0825c88 Fix copying caciocavallo17 2022-08-24 19:06:33 +07:00
Eilionoir Tunnicliff 2beed75251 Fix copy operation x2 2022-08-24 01:52:30 -04:00
Eilionoir Tunnicliff 5b19a7095b Fix copy operating for libawt_xawt.dylib 2022-08-24 01:49:15 -04:00
Eilionoir Tunnicliff 6b5ee6650e Fix check for Java archive 2022-08-24 01:45:57 -04:00
Duy Tran Khanh 15629000a2 Fix spacing 2022-08-24 12:39:07 +07:00
Duy Tran Khanh b7cc2d097e Added Caciocavallo17; Get JRE build from Actions 2022-08-24 12:34:06 +07:00
Duy Tran Khanh 4f8e46cfc3 there wasn't cd .. 2022-08-17 20:51:03 +07:00
Duy Tran Khanh 028f2535e8 ipa build: added java 17 2022-08-17 20:45:45 +07:00
Eilionoir Tunnicliff 8f2ecc2476 Unlock java_home option when unjailbroken
Also prep code for Java 17 bundling

TODO: Allow building of ipa with different runtimes included
2022-08-17 02:54:22 -04:00
Duy Tran Khanh 8e848efc29 Fix sideloading on Windows causes Access is denied 2022-08-13 07:15:01 +07:00
Duy Tran Khanh 2679e618b8 Fix ipa files permission, should install now without error 2022-08-12 21:37:13 +07:00
Duy Tran Khanh 1d2d7edaec Update Makefile 2022-08-12 04:43:34 +07:00
Duy Tran Khanh 8ef9091192 fix the wrong file name 2022-08-12 04:36:05 +07:00
khanhduytran0 3a854fc9fd Remove -INT name suffix from IPA 2022-08-11 21:30:36 +07:00
Duy Tran Khanh 12daebcd5c IPA build: use W^X JIT-enabled runtime
Finally, we managed to get W^X JIT working. The game will now run at
full speed, without having to jailbreak the device.
More info:
https://github.com/PojavLauncherTeam/android-openjdk-build-multiarch/re
leases/tag/jre8-40df388
2022-08-11 20:49:20 +07:00
Eilionoir Tunnicliff 3ce2ee901c Pojav INT Setup (#358)
* Pull JRE Zero when compiling IPA

Also move dsym above ipa to make sure it's made

* Depend on dsym

* Disable certain preferences when unjailbroken

- Allocated RAM
- Java home (to be readded)
- Disable home symlink

* Add launch warning

* bruh

* bruh 2

* bruh 3
2022-08-10 11:34:55 -04:00
Eilionoir Tunnicliff e121ae4f7f Fix ipa building without debs 2022-08-09 11:04:16 -04:00
Duy Tran Khanh 51e6a3b7be Fixes: "An unknown error occurred" + localize file 2022-08-09 18:40:08 +07:00
Duy Tran Khanh cf98cecf0b ldid: sign only the main binary 2022-08-09 18:13:45 +07:00
Duy Tran Khanh 370997d381 Added entitlement file for IPA build 2022-08-09 17:18:43 +07:00
Duy Tran Khanh 6dcde44087 Fixes for IPA build 2022-08-09 14:21:16 +07:00
Duy Tran Khanh 586eae3f1e Simplify IPA builder + upload artifact to Actions 2022-08-09 14:06:17 +07:00
Duy Tran Khanh e2976633be Update Makefile 2022-07-28 11:04:08 +07:00
Duy Tran Khanh 74cbcc28af Added support for building on Linux (incl. Android/WSL)
This does not require a compatibility layer (Darling) nor a toolchain
(Theos). Instead, clang and lld from Linux distribution is used with
iOS SDK to compile the natives part (C/Objective-C). Of course, this
also allows compiling on Android with Termux or Windows with WSL.
2022-07-28 10:59:56 +07:00
Eilionoir Tunnicliff 0622423df4 ._. 2022-07-12 23:47:21 -04:00
Eilionoir Tunnicliff b497dc2448 oops, actually fix Elu dpkg this time 2022-07-12 23:43:58 -04:00
Eilionoir Tunnicliff 698ce11bcd Fix Elucubratus dpkg errors 2022-07-12 23:37:42 -04:00
Duy Tran Khanh 8aea2ee5fc Changes
Added a little more debug info
Fixes: the GUI button hides itself; Makefile jar path; Restart before
launching game
2022-07-01 12:43:30 +07:00
Eilionoir Tunnicliff 7f9d71537d Bugfix: "The folder does not exist" when signing into the launcher 2022-06-30 22:48:11 -04:00
Duy Tran Khanh ee2c68fb98 Fixes
Makefile: fix path
Moved GameSurfaceView to a separate class
Renamed MinecraftDownloader to MinecraftResourceUtils

Fix: Some versions fails because GLFW_CLIENT_API is not set
2022-07-01 07:02:25 +07:00
Duy Tran Khanh b772e3d8f2 Fix building .jar; support mapped resources 2022-06-02 07:14:52 +07:00
Duy Tran Khanh 5d7c77d697 Forge 1.17+ support 2022-05-29 20:03:04 +07:00
khanhduytran0 2a9d3909f8 Internal, renderer and UI changes + 1.19-pre1 support
Minecraft 1.19 support:
- Since 1.19-pre1, LWJGL 3.3.1 is used. However, LWJGL 3.2.3 still works with it, at least for this Minecraft release.
- Added a hack to skip calling to ObjC codes (skipped an asset file to skip setting the icon)
- JNA version replacing: now only change to 5.8.0 if version < 5.8.0

Internal changes:
- Cleanup: moved global functions to a new place
- Handle demo user correctly: actually authenticate the game with demo's access token and use the Xbox gamertag as the username
- Start moving strings to Localizable.strings (WIP)
- Re-wrote the Microsoft authentication and account management to Objective-C
- Assets downloading: added a tiny sleep call so that the UI won’t be frozen when too many tasks are executed at the same time

Renderers changes
- gl4es: `init_constructor` is now enabled, therefore moved the preload part to before `eglInitialize` (or EGL will be de-init after gl4es's hardware test).
- gl4es-extra (aka holy gl4es 1.1.4) is now used to replace the regular gl4es. This fixes VBO issue on version < 1.13 and some extra stuff. https://github.com/PojavLauncherTeam/gl4es-114-extra/commit/d6cf5c4
- Removed gl4es 1.1.5 and `Disable gl4es shaderconv` as it's unnecessary for now
- Removed vgpu, as it requires some missing extensions when come to shaders

User interface:
- The account selection list now displays the skin head (or the Xbox gamerpic if demo) and the account type
2022-05-22 11:31:14 +07:00
Adam TunnicandDuy Tran Khanh 81ae236181 Disable Mojang login (#331)
Merging early because... why not. Anyone that hasn't migrated now will get the warning.

Co-authored-by: Duy Tran Khanh <[email protected]>
2022-03-09 19:03:08 -05:00
Adam Tunnic 3c26158406 Fix ipa build
Note that the ipa still doesn't work
2022-03-05 00:17:06 -05:00
Adam Tunnic 3ece9e2ccb Workflow changes part 2 2022-02-07 01:13:35 -05:00
Adam Tunnic 30e51de2cd oops 2022-01-30 10:47:34 -05:00
Adam Tunnic df8c8fc85f use gnproc and nproc (for procursus on macos)
on the road development is bumpy
2022-01-30 10:45:04 -05:00