Commit Graph
1344 Commits
Author SHA1 Message Date
Eilionoir Tunnicliff 781e643b64 Move to sandboxed directory for all users
This commit fixes issues where users migrating from the debian package to TrollStore will lose access to existing PojavLauncher data, by beginning a final migration to a sandboxed directory. We also remove the compatibility symlink option, to get people familiar with the new location and prepare for .pojavpack.

This commit breaks installations of PojavLauncher installed with AppSync Unified. Recommend installing with TrollStore or sideloading as if it were an unjailbroken device.
2022-10-03 00:21:32 -04:00
Duy Tran Khanh b46c64cc59 Changes and fixes to input, mark nonatomic to others
- Controller: implement ticking, swapped thumbstick mapping to match
common usage
- External mouse should continue sending move while mouse button is
being held
- Tweak touch scroll velocity division to 100
2022-10-02 10:54:04 +07:00
Duy Tran Khanh 6464c62d36 Fix compiler warning at menuWithTitle nonnull 2022-09-29 22:18:45 +07:00
Duy Tran Khanh 6c256aa362 Correct swipeable button offset 2022-09-26 05:41:04 +07:00
Duy Tran Khanh 87242860c6 Set minimum RAM allocation slider to 250MB 2022-09-25 18:50:55 +07:00
Duy Tran Khanh a8e5411796 these can't be localized 2022-09-25 11:50:30 +07:00
Duy Tran Khanh f5c06af090 Added option to open game dir in the file manager
Bug fix: version selector should now sync properly when change game
directory.
2022-09-25 11:38:33 +07:00
Duy Tran Khanh c616cb152f Moved toolbar code, added WIP News tab 2022-09-25 11:13:59 +07:00
Duy Tran Khanh ec575fb8c4 Properly handled gamepad joystick (untested) 2022-09-25 11:00:05 +07:00
Duy Tran Khanh 35fa465a95 Use Files if containerized and opening folder from game 2022-09-25 10:58:45 +07:00
Duy Tran Khanh cf9d0d136d Use FileSystemPreferencesFactory instead of OSX 2022-09-25 10:52:35 +07:00
Duy Tran Khanh 9217c52442 Fix b806c5d: retain authVC for callback to work again 2022-09-23 11:24:14 +07:00
Duy Tran Khanh e69b019032 View controller presentation tweaks 2022-09-22 19:11:22 +07:00
Duy Tran Khanh fde7bb0139 null fix, remove some log calls 2022-09-22 10:36:15 +07:00
Duy Tran Khanh b806c5df3c Many changes and fixes
Changes:
- Decreased multithreaded download max threads to 10
- Moved launcher buttons to match Android UI
- Moved UIKit hooking code to separate file
- The Launcher tab is now marked as under construction.
- Updated README.md to avoid confusion between self-JIT and auto-JIT.

New settings section: UI debugging
- Unlock iPadOS UI: allow iPhone users to unlock every iPadOS-only
features (floating keyboard, popover alert, sheet-styled view
controllers, etc.)
- Show layout bounds, like the one in Android's developer setting
- Show layout overlapping

Fixes:
- App container data is not shown in the Files app due to
`no-container` entitlement, replaced it with `no-sandbox`.
- Ignore jinput-platform libraries to avoid download error
- Multithreaded assets download breaks
- `Send your logs` crashes on iPadOS
2022-09-22 09:52:56 +07:00
Duy Tran Khanh f404ddd2cb Add a delay between held state on click 2022-09-17 21:46:26 +07:00
Duy Tran Khanh 9aa7095ca1 Auto RAM tweaks
- It is now accessible for everyone (sandboxed, TrollStored, jailbroken)
- Enabled by default if Jetsam can't be controlled
- Default ratio: 25% (sandboxed), 40% (TrollStored or jailbroken)
2022-09-16 21:29:12 +07:00
Duy Tran Khanh 77370a01ea Self-controlled Jetsam limit for unsandboxed env 2022-09-16 17:43:53 +07:00
Duy Tran Khanh 2753364f79 Bug fix regarding mod installer window size 0x0 2022-09-16 15:40:44 +07:00
khanhduytran0 a7a4e015f4 Don't exclude jinput; Updated gl4es to https://github.com/PojavLauncherTeam/gl4es-114-extra/commit/29ce130 2022-09-16 10:39:25 +07:00
Duy Tran Khanh 2b17ce6273 Remove duplicated check 2022-09-15 21:58:54 +07:00
khanhduytran0 d949a3d661 Correct hotbar slot scaling 2022-09-15 21:55:23 +07:00
Eilionoir Tunnicliff 197bbd29e0 Add strings to prepare for #384 2022-09-14 14:11:06 -04:00
Duy Tran Khanh d5540fd4a5 Correct Cosmetica preference key 2022-09-14 05:50:47 +07:00
khanhduytran0 1669857401 Fix Forge 1.19.2; wait timeout for CS_DEBUGGED in main()
Removed module-info.class from lwjgl jar files
2022-09-13 09:20:42 +07:00
Duy Tran Khanh 56f4ec73e9 Jailbroken, Java 8, IPA: fix check of libawt_xawt 2022-09-12 21:12:36 +07:00
Duy Tran Khanh 32e3313162 Update README.md 2022-09-12 19:33:53 +07:00
khanhduytran0 ccaa9416f1 Changes for TrollStore self-JIT enabler
Special thanks to @asdfugil for testing (arm64), not yet tested on arm64e
2022-09-12 18:54:46 +07:00
Eilionoir Tunnicliff 4c7c75c75c Warn all 1GB RAM users about deprecation in 2.2
This extends the deprecation list from just A7 chip devices to 1GB A8 devices as well:

- iPhone 6
- iPhone 6 Plus
- iPod touch (6th generation)
2022-09-12 00:02:19 -04:00
Eilionoir Tunnicliff f7eb23b204 Fix code for disabling Auto RAM unjailbroken 2022-09-11 21:28:32 -04:00
Eilionoir Tunnicliff 90380add37 Remove "Other JB" warning stuff 2022-09-11 21:26:58 -04:00
khanhduytran0 f0db7d4b03 Force setting HOME to sandboxed directory 2022-09-12 07:11:23 +07:00
khanhduytran0 c10e0af8ff Various fixes, some cleanup
Fixes:
- dlopen gets hooked no matter if installed in /Applications or container
- Jailbroken IPA installation always looked for /usr/lib/jvm instead of the internal one
- Metal returned 0 physical devices, caused all renderers to be broken
- Zink renderer tried to load VirGL stuff
2022-09-11 21:58:11 +07:00
khanhduytran0 dc089a29f5 Self enable JIT if sandbox is disabled
This technique makes use of ptrace(PT_TRACE_ME) in the forked process, which causes CS_DEBUGGED to be assigned to both parent and forked processes. May help #381
2022-09-11 18:01:30 +07:00
Duy Tran Khanh d939654c2f Log branch name, tweaks, localization 2022-09-11 17:48:58 +07:00
Duy Tran Khanh bbc8e276eb Update README.md 2022-09-11 11:47:28 +07:00
Duy Tran Khanh 20bd84a203 Update README.md
- Added Crowdin badge
- Recommend to install through TrollStore
2022-09-10 20:52:23 +07:00
Duy Tran Khanh 068a531ae1 Update Crowdin configuration file 2022-09-10 20:10:06 +07:00
Duy Tran Khanh c9cb4d749b Create crowdin.yml 2022-09-10 19:09:56 +07:00
Duy Tran Khanh 8d26ed38d7 Custom controls: make toggleable functional
Fixes #378
2022-09-10 18:28:09 +07:00
Duy Tran Khanh e372df28dc Welcome to the new Settings UI
What's new?
- Settings are now categorized
- Re-designed Game Directory manager
- Moved help detail to subtitles, toggleable
- Some settings are now made accessible ingame
- Added Auto Renderer

Removed settings:
- Restart before launching: not needed anymore, also it would break JIT/debugger.
2022-09-09 19:08:27 +07:00
Duy Tran Khanh 746933e3eb Cleanup Restart before launching code 2022-09-09 19:03:06 +07:00
Duy Tran Khanh f26849f5f2 iOS 16(?), Java 8: disable compressed class space 2022-09-09 10:58:29 +07:00
Duy Tran Khanh f521a0c5c1 Toggleable settings details 2022-09-09 06:00:54 +07:00
Duy Tran Khanh 6ceac73d60 Clean some unintended line breaks 2022-09-08 21:29:58 +07:00
Duy Tran Khanh 8bea48479d Add settings details (subtitle) 2022-09-08 19:25:09 +07:00
Duy Tran Khanh 75dbeb41f9 Tweak .ipa entitlements 2022-09-07 17:32:51 +07:00
Duy Tran Khanh b14f23c169 Adjust background transparency and tweaks 2022-09-06 18:10:53 +07:00
Duy Tran Khanh d42d4e963e Allow changing resolution while in game (1.13+)
For now, this only works properly on Minecraft 1.13+. Older version
doesn't seem to get the new resolution (will be fixed later)

Additional changes:
- Make ingame settings background transparent
- Set prefersHomeIndicatorAutoHidden to YES
2022-09-05 19:38:39 +07:00
Duy Tran Khanh 14aa343230 Fix a typo, which may have confused people 2022-09-05 05:29:39 +07:00