4208 Commits

Author SHA1 Message Date
Duy Tran Khanh
b6a294d7c0
Maybe fix settings broken? 2021-06-25 11:24:40 +07:00
Duy Tran Khanh
bc994b97da
Replace /data/user/0 with /data/data
This fixes JRE17 not working on some devices.
2021-06-25 06:36:15 +07:00
Duy Tran Khanh
4d812cc49a
Revert b7b2c4868c4701255ed306ef8d8e33b18bf5272d 2021-06-25 06:32:54 +07:00
Duy Tran Khanh
34db2a688f
no 21w09a lol :trollface: 2021-06-25 05:19:24 +07:00
Boulay Mathias
14d9d2b177
Slight clean up of MCOptionsUtils (#1586)
* Clean up MCOptionUtils.java

* Use of explicit type conversion to string.
2021-06-25 05:11:58 +07:00
Duy Tran Khanh
bca639b809
Fix: wrong gl4es when renderer is opengles2_5 2021-06-25 05:08:20 +07:00
ArtDev
b7b2c4868c
[TEST] Remove the JVM from LD_LIBRARY_PATH 2021-06-25 00:06:30 +03:00
Duy Tran Khanh
05a291fd85 New translations strings.xml (German) 2021-06-25 01:48:23 +07:00
Duy Tran Khanh
b29b0b6952 New translations strings.xml (German) 2021-06-25 00:45:02 +07:00
Duy Tran Khanh
fd7d2cc80b New translations strings.xml (Indonesian) 2021-06-24 23:18:47 +07:00
Duy Tran Khanh
4a90c8f124
Merge Zink renderer to upstream (#1585)
* OSMesa EGLBridge

* It renders a gray screen with Zink!

* Image

* Added missing file: gl/glext.h

* Added jniLibs/arm64-v8a/libOSMesa_8.so

* Load built-in libOSMesa when dev lib not available

* Added jniLibs/x86_64/libOSMesa_8.so

* Start trying to use Android's internal APIs to manage framebuffers

* Automatic stride to un-broke the image

* DMA

* Update lwjgl3 version

* Update LauncherPreferences.java

Temporary force set, to fix #1121

* Remove ndk.abiFilters

* Re-add ndk.abiFilters but for 64bit archs only

* Fixed x86_64 libOSMesa_8.so

* Fix buffer size

* [WIP] Force enable VK ext for GL 3.0

* WIP force ext

* Attempt get Zink GL 3.0 by force enable some exts

* Just missing ;;

* Mesa3D: set OpenGL version to 4.6

* Added Zink to renderer list

* Fixed the renderer check

* Maybe correct the switch between gl4es and zink

* Update JREUtils.java

fixes from https://github.com/sp614x/optifine/issues/420

* also set glsl version

* [NOT TESTED] (DO NOT TRY DEVS ONLY) upstream mesa to staging mesa branch

* upstream mesa once again

* Revert "upstream mesa once again"

This reverts commit ccb0f429b707c6fed1376809bb978e7eb8230222.

* add arm32

* Enable building for arm32

* Attempt fix auto change to libname libOSMesa

* Attempt fix (2/2)?

* Added missed `break`, should fix gl4es crashes

* Update JREUtils.java

* Support OpenJDK 17 runtime environment (internal)

* Update JREUtils.java

* [zink] use RGBA instead of RGB

Some mobile GPUs does not support RGB format, so switching to RGBA is necessary. However, native window is set to RGBX to ignore alpha channel.

* Move jreReleaseList to here

* Update BaseMainActivity.java

* Fixes (#1525)

* import java.util.Map
* fix: String cannot be converted to boolean
* Fixes
* Put readJREReleaseProperties to try catch

* Remove loading libtinyiconv.so (statically linked)

* lets do this

* upsteam to the staging branch of 21.0

* [zink] exports OpenGL 4.6 again

Limit OpenGL version does nothing other than deny the game to use it, so limiting is probably useless. Also, this is a lie that user see "export OpenGL 4.6" in renderer list but see "OpenGL 3.2" when enter game. Therefore, change back to OpenGL 4.6.

* New string: mcn_check_fail_vulkan_support

* [not yet finish] error if GPU doesn’t have Vulkan

* [not yet finished] error if vulkan is unsupported

* Additional checks for Vulkan support state

* Changes about gl4es renderers

* Define new renderer: opengles2_5 g4es 1.1.4

Also, change how gl4es renderers works

* Filter out "_5"

* Don’t allow custom OpenGL libname from jvm args

* Update strings.xml

* Update headings_array.xml

* Update headings_array.xml

* Update strings.xml

* Unreachable code

* Enable build for 32-bit x86 (zink not added!)

* Changes from upstream and security changes (#1575)

* import java.util.Map

* fix: String cannot be converted to boolean

* Fixes

* Put readJREReleaseProperties to try catch

* Attempt to redirect signal handler to JVM

* @artdeell: missed \n in printf

* Missed include errno.h

* Comment out last changes

* try and optimise gl4es with flags

* corect format

* dont shrink textures

* does notting

* Fix issue #1199

* Filter out Session ID on new log pipe

* int index

* Debug: print all env vars to latestlog.txt

Co-authored-by: artdeell
Co-authored-by: rhjdvsgsgks
Co-authored-by: LegacyGamerHD
Co-authored-by: Boulay Mathias
2021-06-24 19:51:56 +07:00
Duy Tran Khanh
0f11351605 New translations strings.xml (Chinese Simplified) 2021-06-24 00:00:23 +07:00
Duy Tran Khanh
45072e25e5 New translations strings.xml (Chinese Simplified) 2021-06-23 23:01:19 +07:00
Boulay Mathias
76b185e3b5
Revision of .apk versioning (SerpentSpirale@PojavLauncher#1576)
* Add a way more robust version system.

* Improve lisibility of the version name.

* Add a fallback for non git users

* attempt at ignoring return value

* attempt 2 at fallback for non git users

* re-added try/catch

* Fix call to null function

* use of return statement when needed

* Add git to the workflow

* Create deliberate crash

* Force fetch all repo

* Attempt to only fetch tags

* add remote ?

* Reset full repo download 👀

* Change no-git to LOCAL

* added BRANCH on the version name

* build is now more resilient

* Remove useless symbols
2021-06-23 17:38:39 +03:00
Duy Tran Khanh
9353868562 New translations strings.xml (Russian (pre-revolutionary)) 2021-06-23 05:14:43 +07:00
Duy Tran Khanh
5bf1b3acbe New translations strings.xml (Korean) 2021-06-22 14:55:44 +07:00
Duy Tran Khanh
45340ffff2 New translations strings.xml (English (upside down)) 2021-06-22 13:36:02 +07:00
Duy Tran Khanh
589f0ca64e New translations strings.xml (Russian) 2021-06-22 13:36:01 +07:00
Duy Tran Khanh
5076de995a New translations strings.xml (Italian) 2021-06-22 12:32:13 +07:00
Duy Tran Khanh
4db36c29e2 New translations strings.xml (English (upside down)) 2021-06-22 10:55:03 +07:00
Duy Tran Khanh
76047b0968 New translations strings.xml (English, United Kingdom) 2021-06-22 10:55:02 +07:00
Duy Tran Khanh
ef616d4b15 New translations strings.xml (Malay) 2021-06-22 10:54:59 +07:00
Duy Tran Khanh
bcd7dbf584 New translations strings.xml (Indonesian) 2021-06-22 10:54:58 +07:00
Duy Tran Khanh
323d3b1f2c New translations strings.xml (English) 2021-06-22 10:54:57 +07:00
Duy Tran Khanh
0085264717
int index 2021-06-22 10:09:46 +07:00
Duy Tran Khanh
0edd0af0f7 New translations strings.xml (Russian (pre-revolutionary)) 2021-06-22 09:57:45 +07:00
Duy Tran Khanh
f200ee51d9 New translations strings.xml (Korean) 2021-06-22 09:57:44 +07:00
Duy Tran Khanh
fbee4aa4c7 New translations strings.xml (Japanese) 2021-06-22 09:57:43 +07:00
Duy Tran Khanh
b2bc1d4028 New translations strings.xml (Italian) 2021-06-22 09:57:43 +07:00
Duy Tran Khanh
10efb8bd37 New translations strings.xml (Hungarian) 2021-06-22 09:57:42 +07:00
Duy Tran Khanh
da4ef0cb6b New translations strings.xml (Finnish) 2021-06-22 09:57:41 +07:00
Duy Tran Khanh
721baf6348 New translations strings.xml (Greek) 2021-06-22 09:57:40 +07:00
Duy Tran Khanh
2953975d4f New translations strings.xml (German) 2021-06-22 09:57:39 +07:00
Duy Tran Khanh
381729999c New translations strings.xml (Danish) 2021-06-22 09:57:38 +07:00
Duy Tran Khanh
65310f2b7a New translations strings.xml (Czech) 2021-06-22 09:57:37 +07:00
Duy Tran Khanh
4efc360eac New translations strings.xml (Dutch) 2021-06-22 09:57:36 +07:00
Duy Tran Khanh
8f16d9ccf7 New translations strings.xml (Catalan) 2021-06-22 09:57:35 +07:00
Duy Tran Khanh
7cdd588f30 New translations strings.xml (Spanish) 2021-06-22 09:57:34 +07:00
Duy Tran Khanh
8b36c1d1f2 New translations strings.xml (French) 2021-06-22 09:57:33 +07:00
Duy Tran Khanh
5723770b2e New translations strings.xml (Romanian) 2021-06-22 09:57:32 +07:00
Duy Tran Khanh
53cc7dda4f New translations strings.xml (Chinese Traditional) 2021-06-22 09:57:31 +07:00
Duy Tran Khanh
1974fc1674 New translations strings.xml (Thai) 2021-06-22 09:57:30 +07:00
Duy Tran Khanh
9bde769460 New translations strings.xml (English) 2021-06-22 09:57:29 +07:00
Duy Tran Khanh
31f9a283ef New translations strings.xml (Lithuanian) 2021-06-22 09:57:28 +07:00
Duy Tran Khanh
e19d7b809a New translations strings.xml (Hebrew) 2021-06-22 09:57:28 +07:00
Duy Tran Khanh
216066d514 New translations strings.xml (Afrikaans) 2021-06-22 09:57:27 +07:00
Duy Tran Khanh
d90958a8ce New translations strings.xml (Arabic) 2021-06-22 09:57:26 +07:00
Duy Tran Khanh
bf142443cf New translations strings.xml (Norwegian) 2021-06-22 09:57:24 +07:00
Duy Tran Khanh
046b5a35c8 New translations strings.xml (Portuguese) 2021-06-22 09:57:24 +07:00
Duy Tran Khanh
317135d9d4 New translations strings.xml (LOLCAT) 2021-06-22 09:57:23 +07:00