Commit Graph
1483 Commits
Author SHA1 Message Date
Duy Tran Khanh a81b326f45 fixes (not ready yet!) 2023-01-21 05:12:45 +07:00
Duy Tran Khanh 85aff4698c Remove Zink triangle fan hack 2023-01-20 21:54:00 +07:00
khanhduytran0 fb1714e120 Updated Mesa to https://github.com/PojavLauncherTeam/mesa/commit/fd0914c 2023-01-20 21:53:02 +07: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
Duy Tran Khanh ab597ba745 Fix: unset jna-5.8 SHA1 leading to verify failure
Fix: proper split display mode when autohide enabled
2023-01-05 22:07:50 +07:00
Duy Tran Khanh 7c6c986b68 Fix: missing JNA version override 2023-01-05 11:59:47 +07:00
Duy Tran Khanh 9816c9cab5 Bug workaround: pasted text not being caught
When pasting from the toolbar (presented by 3-finger gesture),
on-keyboard paste button, or Command + V, text is only pasted to the
hidden text field. This is a workaround.
2022-12-31 21:54:48 +07:00
Duy Tran Khanh 30e0529658 Internal fixes 2022-12-30 06:06:35 +07:00
BigBoiMan123 c145f40666 fix typo (#466) 2022-12-26 02:44:57 -05:00
Duy Tran Khanh de66a9720b Fix flipped hidden_sidebar condition
why @crystall1nedev :woe:
2022-12-20 18:26:40 +07:00
Duy Tran Khanh 7c9566e132 Fix wrong preference key: hidden_side(r)bar 2022-12-20 18:08:06 +07:00
Duy Tran Khanh 18c59126ba Fix Realms API broke due to UUID with dashes
It’s weird that Realms API just returns empty list whenever UUID with dashes is passed. Without dashes, Realms is now working.
2022-12-20 17:52:32 +07:00
Eilionoir Tunnicliff fe38eacf9d Port hidden sidebar stuffs from 2.1.1 branch
As well as add a new preference to enable hiding by default and when rotating for iOS 14 and newer.
v2.1.1
2022-12-18 18:10:29 -05:00
Eilionoir Tunnicliff 849c1a238c Merge remote-tracking branch 'refs/remotes/origin/main' 2022-12-18 13:41:00 -05:00
Eilionoir Tunnicliff 37b479bbe1 Fix warnings, drop 1GB devices 2022-12-18 13:40:51 -05:00
Eilionoir Tunnicliff 7d2948b89b Re-add LaunchScreen.storyboardc
Apparently iOS will assume you're using a 3.5" iPhone is there isn't one. Unsure why, too tired to look into a solution, so just reverting the removal.
2022-12-18 03:34:27 -05:00
Eilionoir Tunnicliff 710c899b20 Update README.md 2022-12-18 03:08:25 -05:00
Eilionoir Tunnicliff e3096ad909 Formatting fixes 2022-12-18 02:49:27 -05:00
Eilionoir Tunnicliff 052e69966c Whoops lmaooo 2022-12-18 02:46:42 -05:00
Duy Tran KhanhandEilionoir Tunnicliff 4986ba0a02 New Crowdin updates (#442)
* New translations Localizable.strings (Portuguese, Brazilian)

* New translations Localizable.strings (Portuguese, Brazilian)

* New translations Localizable.strings (Portuguese, Brazilian)

* New translations Localizable.strings (Portuguese, Brazilian)

* 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 (German)

* New translations Localizable.strings (Russian)

* New translations Localizable.strings (Estonian)

* New translations Localizable.strings (Czech)

* New translations Localizable.strings (Czech)

Co-authored-by: Eilionoir Tunnicliff <[email protected]>
2022-12-18 01:34:31 -05:00