3136 Commits

Author SHA1 Message Date
Duy Tran Khanh
c738767307
Update MinecraftDownloaderTask.java 2021-06-30 18:16:10 +07:00
ArtDev
f5d9bd5ebb
Update MinecraftDownloaderTask.java 2021-06-30 14:11:46 +03:00
ArtDev
d3e65576fa
Create MinecraftDownloaderTask.java 2021-06-30 14:10:27 +03:00
Duy Tran Khanh
255e6557ba
Throwable -> IOExeception 2021-06-30 18:09:54 +07:00
ArtDev
f9050f52de
Update MinecraftDownloaderTask.java 2021-06-30 14:07:20 +03:00
ArtDev
f8af16d5b0
A 2021-06-30 14:06:47 +03:00
Duy Tran Khanh
390f77cfbf
Missing stuff 2021-06-30 17:58:53 +07:00
Duy Tran Khanh
5c376f7ee9
Update MinecraftDownloaderTask.java 2021-06-30 17:53:57 +07:00
Duy Tran Khanh
8b4cbb3890
import 👀 2021-06-30 17:48:44 +07:00
Duy Tran Khanh
ca75214a8e
Get JRE8 from buildjre8 branch 2021-06-30 17:42:00 +07:00
khanhduytran0
e726179364 Changes
- Simplified MS demo login message.
- Experimental multithread assets download implementation.
- Remove some commented out code blocks
2021-06-30 17:28:42 +07:00
Duy Tran Khanh
cb82ff5e50
[gl4es] swap repo (trigger new cache) 2021-06-29 14:09:56 +07:00
Duy Tran Khanh
55b8b4d7a3
[gl4es] Swap repo 2021-06-29 14:06:42 +07:00
Google61
4224c44221
Fix gl4es git merge (#1601)
* Fix gl4es git merge
* Delete Android_gl4es.mk
2021-06-29 05:04:53 +07:00
SerpentSpirale
f666e190be The notch option is now gone for users with no notch. 2021-06-28 14:32:19 +02:00
Duy Tran Khanh
9593adba31
Use forked gl4es (patch GL3) + auto merge 2021-06-28 16:21:18 +07:00
ArtDev
179b502576
Add debug version suffix 2021-06-28 12:06:27 +03:00
Duy Tran Khanh
a2332f9d8f
Crash fix: undefined renderer: 2/3 2021-06-28 15:55:37 +07:00
Duy Tran Khanh
3875a70514
Crash fix: undefined renderer: 2
Reproduce:
- Clear app data
- Open the launcher
- Open again
2021-06-28 15:51:57 +07:00
artdeell
8bdde6163f [TEST] Better libjvm loader 2021-06-25 11:45:35 +03:00
Duy Tran Khanh
8f1bc31154
b7b2c4868c4701255ed306ef8d8e33b18bf5272d 2021-06-25 11:52:19 +07:00
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
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
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
0085264717
int index 2021-06-22 10:09:46 +07:00
Duy Tran Khanh
9e4d4de70d
Filter out Session ID on new log pipe 2021-06-22 09:47:16 +07:00
Duy Tran Khanh
ab8c1e74e4
(3/?) move session id filter 2021-06-22 09:29:58 +07:00
Duy Tran Khanh
1598b2c995
(2/?) move session id filter 2021-06-22 08:39:55 +07:00
Duy Tran Khanh
2af8f54687
(1/?) Move Session ID filter 2021-06-22 08:37:46 +07:00
Boulay Mathias
20d7fa383a
Fix issue #1199 2021-06-18 18:29:33 +02:00
LegacyGamerHD
3db8fd76bf
does notting 2021-06-15 20:54:54 +02:00
LegacyGamerHD
13d83457a6
dont shrink textures 2021-06-13 19:13:50 +02:00
LegacyGamerHD
9ea8bbf14a
corect format 2021-06-13 19:07:04 +02:00
LegacyGamerHD
016f7c44b2
try and optimise gl4es with flags 2021-06-13 19:06:03 +02:00
Duy Tran Khanh
d5f59a661b
Comment out last changes 2021-06-12 19:29:37 +07:00
Duy Tran Khanh
b78562ebf7
Missed include errno.h 2021-06-12 18:54:31 +07:00
Duy Tran Khanh
f8a22c6b1c
@artdeell: missed \n in printf 2021-06-12 18:52:55 +07:00
Duy Tran Khanh
ad726d1006
Attempt to redirect signal handler to JVM 2021-06-12 18:50:42 +07:00
Duy Tran Khanh
2f294a9002
Put readJREReleaseProperties to try catch 2021-06-12 06:09:00 +07:00
Duy Tran Khanh
6987fafd1a
Fixes 2021-06-12 06:06:07 +07:00
Duy Tran Khanh
adb4161542
fix: String cannot be converted to boolean 2021-06-12 05:48:31 +07:00
Duy Tran Khanh
961ab6cb7c
import java.util.Map 2021-06-12 05:46:53 +07:00
Duy Tran Khanh
18f251e9c6
Print selected Minecraft version to latestlog.txt 2021-06-12 05:18:02 +07:00
Duy Tran Khanh
7caff641ec
tab -> spaces 2021-06-12 05:14:06 +07:00