Duy Tran Khanh
f477db18a0
Workaround(MCDL): modded version breaks if vanilla not installed
2023-01-31 06:34:51 +07:00
Duy Tran Khanh
2d455861de
Fix(setupSlimmed): incorrect string format passed to NSString
...
no idea how this didn’t crash, but it’s better to change it to avoid the check being incorrect
2023-01-31 05:53:54 +07:00
khanhduytran0
9f9a3f706c
Fix: broken TrollStore self-JIT in commit 23d9338
...
This adds a boolean to toggle JIT check between jailbreak and csops
because the jailbreak detection checks for CS_PLATFORM_BINARY, which
is available for both jailbroken and TrollStore
2023-01-31 05:45:34 +07:00
Duy Tran Khanh
b9b0e0959b
Fix: broken mouse coord input again
...
Turns out another fix broke it
2023-01-30 21:59:51 +07:00
Duy Tran Khanh
d3743b3225
chore: set PATH for workflows
2023-01-30 10:20:40 +07:00
Duy Tran Khanh
fd436d9f88
Fix: issues with legacy versions
...
This picks up the following commits from Android repo:
*
https://github.com/PojavLauncherTeam/PojavLauncher/commit/4716e99df12ab
5bfcaade881774e3b07e8e35450: Don't call Display.create in AWTGLCanvas
constructor (fixes Minecraft 1.2.1-1.2.4)
*
https://github.com/PojavLauncherTeam/PojavLauncher/commit/693cff45b09b3
ca09784a3038a3f9c89cacd391f: Infdev cursor grab: the Pojav part +
Window resize on first key even poll (actual on iOS is on grab state
changes because Android's approach does not work)
*
https://github.com/PojavLauncherTeam/PojavLauncher/commit/ee39334bf31ed
0687c750f37229cf6bea8919b4c (Comment out unnecessary calls to resize)
2023-01-30 09:57:15 +07:00
Duy Tran Khanh
4c71a17a35
Fix(version picker): empty array/OOB crashes
2023-01-30 09:07:47 +07:00
Duy Tran Khanh
4e2a62d24b
Move strings to InfoPlist.strings, change AVAudioSession category
...
Change AVAudioSession category to AVAudioSessionCategoryPlayAndRecord
2023-01-30 08:40:27 +07:00
Duy Tran Khanh
9fb19fa211
Revert: Ask for microphone permission when launching the app
...
This partially reverts commit fe2b85ec32
Microphone permission is now only asked on-demand
2023-01-30 08:31:23 +07:00
Eilionoir Tunnicliff
fe2b85ec32
Ask for microphone permission when launching the app, if not already enabled
2023-01-29 13:18:33 -05:00
Eilionoir Tunnicliff
d1cc9ac977
Add "slim" builds ( #494 )
...
* Merge 'main' into 'slim-building' (#493 )
* Remove java-16-openjdk from environmentFailsafes()
Versions that use 16 can use 17 as well. Instead of wasting storage and installing both, use just 17 instead.
* Jailbreak JIT fixes
- palera1n detection
- enable JIT if jailbreak bit is set
* github.dev moment
Fix syntax error
* README changes
* Requirements + tvOS things
* Produce a "slimmed" build
Slimmed builds only include the Java 8 runtime, meaning only 1.16.5 and lower can be played. Made for those tight on storage or only using older versions.
* Move zip around
* No need for the * glob
* Escape globs
* --exclude instead of -x
I literally have no idea what's going on, this probably won't fix it
* Payload
* bruh
2023-01-27 09:18:50 -05:00
Eilionoir Tunnicliff
97c7972f55
Requirements + tvOS things
2023-01-26 11:36:34 -05:00
Eilionoir Tunnicliff
c5581e6342
README changes
2023-01-26 10:58:45 -05:00
Eilionoir Tunnicliff
a27876d187
github.dev moment
...
Fix syntax error
2023-01-26 10:26:01 -05:00
Eilionoir Tunnicliff
23d9338f04
Jailbreak JIT fixes
...
- palera1n detection
- enable JIT if jailbreak bit is set
2023-01-26 10:21:31 -05:00
Eilionoir Tunnicliff
7cb7578c17
Remove java-16-openjdk from environmentFailsafes()
...
Versions that use 16 can use 17 as well. Instead of wasting storage and installing both, use just 17 instead.
2023-01-26 09:45:55 -05:00
Duy Tran Khanh
cdd4d3908b
Fix(MCDL): multiple debug prints of call stack
...
Fix(local,Makefile) : @ldid: command not found, why?
2023-01-26 12:52:03 +07:00
Duy Tran Khanh
9f2f6d93dd
Fix(ControllerInput): joystick magnitude calculation
2023-01-24 06:25:55 +07:00
Duy Tran Khanh and Eilionoir Tunnicliff
6f645d35a8
New Crowdin updates ( #456 )
...
* New translations Localizable.strings (Turkish)
* New translations Localizable.strings (Chinese Simplified)
* New translations Localizable.strings (English)
* New translations Localizable.strings (Indonesian)
* New translations Localizable.strings (Romanian)
* New translations Localizable.strings (French)
* New translations Localizable.strings (Spanish)
* New translations Localizable.strings (Arabic)
* New translations Localizable.strings (Czech)
* New translations Localizable.strings (German)
* New translations Localizable.strings (Greek)
* New translations Localizable.strings (Hebrew)
* New translations Localizable.strings (Italian)
* New translations Localizable.strings (Japanese)
* New translations Localizable.strings (Korean)
* New translations Localizable.strings (Lithuanian)
* New translations Localizable.strings (Dutch)
* New translations Localizable.strings (Norwegian)
* New translations Localizable.strings (Polish)
* New translations Localizable.strings (Portuguese)
* New translations Localizable.strings (Russian)
* New translations Localizable.strings (Slovak)
* New translations Localizable.strings (Serbian (Cyrillic))
* New translations Localizable.strings (Swedish)
* New translations Localizable.strings (Ukrainian)
* New translations Localizable.strings (Chinese Traditional)
* New translations Localizable.strings (Vietnamese)
* New translations Localizable.strings (Portuguese, Brazilian)
* New translations Localizable.strings (Persian)
* New translations Localizable.strings (Malay)
* New translations Localizable.strings (English, United Kingdom)
* New translations Localizable.strings (Filipino)
* New translations Localizable.strings (Tatar)
* New translations Localizable.strings (English (upside down))
* New translations Localizable.strings (LOLCAT)
* New translations Localizable.strings (Russian (pre-revolutionary))
* New translations Localizable.strings (Estonian)
* New translations Localizable.strings (Turkish)
* New translations Localizable.strings (Chinese Simplified)
* New translations Localizable.strings (English)
* New translations Localizable.strings (Indonesian)
* New translations Localizable.strings (French)
* New translations Localizable.strings (Spanish)
* New translations Localizable.strings (Czech)
* New translations Localizable.strings (German)
* New translations Localizable.strings (Italian)
* New translations Localizable.strings (Polish)
* New translations Localizable.strings (Russian)
* New translations Localizable.strings (Ukrainian)
* New translations Localizable.strings (Chinese Traditional)
* New translations Localizable.strings (Vietnamese)
* New translations Localizable.strings (Portuguese, Brazilian)
* New translations Localizable.strings (Filipino)
* New translations Localizable.strings (English (upside down))
* New translations Localizable.strings (Russian)
* New translations Localizable.strings (German)
* New translations Localizable.strings (Turkish)
* New translations Localizable.strings (Chinese Simplified)
* New translations Localizable.strings (English)
* New translations Localizable.strings (French)
* New translations Localizable.strings (Czech)
* New translations Localizable.strings (German)
* New translations Localizable.strings (Italian)
* New translations Localizable.strings (Russian)
* New translations Localizable.strings (Ukrainian)
* New translations Localizable.strings (Portuguese, Brazilian)
* New translations Localizable.strings (English (upside down))
* New translations Localizable.strings (Estonian)
* New translations Localizable.strings (Chinese Simplified)
* New translations Localizable.strings (German)
* New translations Localizable.strings (English)
* New translations Localizable.strings (French)
* New translations Localizable.strings (Indonesian)
* New translations Localizable.strings (Indonesian)
* New translations Localizable.strings (Chinese Simplified)
* New translations Localizable.strings (Czech)
* New translations Localizable.strings (Ukrainian)
* New translations Localizable.strings (English (upside down))
Co-authored-by: Eilionoir Tunnicliff <[email protected] >
2023-01-20 10:46:21 -05:00
Duy Tran Khanh
fcc7d8b2d4
Fix(iOS 12): fatal issues: dlopen, entitlement
...
* dlopening the main executable fails
* dlopening dylib fails due to codesign
* Installing PojavLauncher with AppSync causing
extended-virtual-addressing entitlement to be checked improperly
Current issue: it seems that Java 8 is broken on iOS 12
2023-01-20 21:42:51 +07:00
Duy Tran Khanh
a08563ee36
Refactor egl_bridge.m: no longer preloading gl4es
2023-01-20 21:02:35 +07:00
Duy Tran Khanh
7220af520b
Fix: incorrect handling of auto renderer for 1.17+
2023-01-20 19:19:47 +07:00
Duy Tran Khanh
642ce8f84d
New option: Erase Demo game data
...
Since users have no access to the demo instance, this option is added
to make it possible to clean up it in case it is not needed anymore,
such as after buying Minecraft.
2023-01-20 13:43:02 +07:00
khanhduytran0
9e03e36be7
Refactor: deduplicate code, use cleaner syntax
2023-01-20 08:36:26 +07:00
Eilionoir Tunnicliff
919ac3c58b
Remove unneeded compiler argument
2023-01-19 19:21:46 -05:00
Eilionoir Tunnicliff
657530f9e3
Try workaround
2023-01-19 14:46:02 -05:00
Eilionoir Tunnicliff
89b4650491
More anti-piracy demo mode stuff pt. 2
2023-01-19 14:23:10 -05:00
Eilionoir Tunnicliff
febb05be46
import LNC
2023-01-19 14:16:29 -05:00
Eilionoir Tunnicliff
356510463d
More anti-piracy demo mode stuff
2023-01-19 14:15:57 -05:00
Eilionoir Tunnicliff
44f48f032a
Forgot to redefine NSLog properly
2023-01-19 13:59:01 -05:00
Eilionoir Tunnicliff
957e175a05
Test out custom NSLog
...
No date, time, or executable name. May add filename + function in the future.
2023-01-19 13:57:48 -05:00
Eilionoir Tunnicliff
1c6b4f6e35
oops
2023-01-19 11:46:31 -05:00
Eilionoir Tunnicliff
289b47abfc
Move demo mode stuffs to secure location
...
This way, local mode users cannot use it to download game files without a license.
2023-01-19 11:44:04 -05:00
Eilionoir Tunnicliff
224c86d689
Dormant environment variable
2023-01-19 11:34:12 -05:00
Eilionoir Tunnicliff
a596e7fc8a
Use as macro instead
2023-01-19 11:19:36 -05:00
Eilionoir Tunnicliff
64f4ee75cc
Fix 2
2023-01-19 11:12:08 -05:00
Eilionoir Tunnicliff
cdcfa224b0
Fix some issues
2023-01-19 11:03:24 -05:00
Eilionoir Tunnicliff
21aa26bbf8
Add deviceids.h
...
Makes identifying models easier for our helpers in the Discord. Also add ASU fallback for migrate directory function.
2023-01-19 10:47:01 -05:00
Duy Tran Khanh
8577636a4e
Fix: user interaction issue on iOS below 14
...
The following changes apply for iOS 13.7 and below.
* Actually, a fake toolbar view is added on top of the real one, in
order for subviews (the version picker and the play button) to receive
user interaction properly
* Tweaked Split behavior to fix another dead-locked sidebar issue
* The toggle of hiding sidebar is now available
2023-01-19 20:45:34 +07:00
Duy Tran Khanh
3ccd432412
Fix: missing multistage input handler for iOS 12.x
2023-01-19 11:19:09 +07:00
Duy Tran Khanh
60f6fa3825
whoops ScrollView.scrollEnabled=YES, not ready yet
2023-01-19 09:58:00 +07:00
khanhduytran0
b0203d6fc7
Text input for jar launcher, update lib, fixes
...
News
- Added text input support for jar launcher.
- Updated MoltenVK to https://github.com/KhronosGroup/MoltenVK/commit/d880f4c
Internal changes
- Added more handling cases to avoid missing call to pojav_initOpenGL()
- Moved custom control’s global functions and properties to ControlLayout.
- Moved dylib framework outside its folder, as it’s not necessary to be bundled in framework.
- Reusing custom controls to produce flexible buttons in jar launcher, which might be extended in the future.
Fixes
- Multistage text input (Japanese, Chinese, etc) should now work again.
- Pointer lock should now function properly again.
- Updated README.md to reflect current stuff
2023-01-19 09:54:55 +07:00
Eilionoir Tunnicliff
a7be904df0
lmao
2023-01-16 19:39:18 -05:00
Eilionoir Tunnicliff
92ff02a1ad
Fix delegate set issue
...
Using code from an old project and forgor 💀
2023-01-16 19:34:37 -05:00
Eilionoir Tunnicliff
6013bf8a2a
Change AVAudioSession category + options
...
This allows PojavLauncher to mix its audio with other applications.
Playback was chosen so that audio is not disabled with the ringer
switch - toggle to be added later.
Code untested - might break/not compile.
2023-01-16 19:32:01 -05:00
Eilionoir Tunnicliff
a1400105f1
Change true tone intensity
...
Also, bump to 2.2
2023-01-16 18:55:53 -05:00
Duy Tran Khanh
abe6141ea0
Update README.md regarding sideload methods
2023-01-15 05:28:50 +07:00
Duy Tran Khanh
495e8cb9d0
Fix: Timezone is now set properly
2023-01-15 05:12:10 +07:00
Duy Tran Khanh
652316e8f6
Various fixes and enhancements
...
- Change setNeedsUpdateOfPrefersPointerLocked logic to hopefully fix
issues with mouse not recognizing on iPhones
- Change reloadVersionList logic to load Installed version list
instantly at startup
- Enable game's CALayer opaque and drawsAsynchronously to improve
rendering performance
- Handle natives_directory variable for legacy modded versions
- Set LD_LIBRARY_PATH to silent Caciocavallo NPE error in locating
Android-only code
- Tapping Play when no version selected will now bring up the version
picker instead of doing nothing
2023-01-13 20:11:50 +07:00
Duy Tran Khanh
61929eb9ad
Fix modded client library priority
...
Removed ancient(v2) parameter: optifineLib
Wrap invokeAfterJITEnabled's handler in main_queue for a more clean
stack
2023-01-07 21:33:49 +07:00