4733 Commits

Author SHA1 Message Date
github-actions
902632cae1 CI: Update vgpu 2022-02-25 23:19:29 +00:00
Duy Tran Khanh
3fe5ef98e9
Clear Microsoft auth cookies before load the page
Closes #2749
Closes #2579
Closes #2447
2022-02-26 06:16:04 +07:00
ArtDev
0b4d775a21
Upstreamify profiles (#2765)
* add Arc capes DNS injector

* Bug fix: Arc DNS injector breaks on Java 17

Error:
Failed to inject cache!
java.lang.reflect.InaccessibleObjectException: Unable to make java.net.InetAddress$CachedAddresses(java.lang.String,java.net.InetAddress[],long) accessible: module java.base does not "opens java.net" to unnamed module @4157f54e

* Validate assets even if it’s fully downloaded (#2730)

* Update MinecraftDownloaderTask.java

Co-authored-by: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com>
2022-02-20 21:12:36 +03:00
Duy Tran Khanh
4e3fdf7f95
Update MinecraftDownloaderTask.java 2022-02-15 17:32:28 +07:00
Duy Tran Khanh
7c3d1712e9
Validate assets even if it’s fully downloaded (#2730) 2022-02-15 17:28:08 +07:00
Duy Tran Khanh
fb0a96a33f
Bug fix: Arc DNS injector breaks on Java 17
Error:
Failed to inject cache!
java.lang.reflect.InaccessibleObjectException: Unable to make java.net.InetAddress$CachedAddresses(java.lang.String,java.net.InetAddress[],long) accessible: module java.base does not "opens java.net" to unnamed module @4157f54e
2022-02-10 11:00:57 +07:00
artDev
0a3385acd2 add Arc capes DNS injector 2022-02-04 19:51:31 +03:00
artDev
d7556c318b Upstreamify 2022-02-04 17:20:51 +03:00
artDev
97dace30c5 - Prepend java as argv[0]
- Fix override mechanism
2022-02-04 17:18:42 +03:00
Duy Tran Khanh
fb7a4b2407
Allow remove the only runtime left if corrupt or incompatible 2022-01-30 17:20:18 +07:00
github-actions
cb4167c761 CI: Update vgpu 2022-01-30 09:49:29 +00:00
khanhduytran0
9114ddacf6 Changes
- Java architecture check is now performed in the Runtime Manager dialog.
- Required Java version is now stated when launching 1.17+ without it installed.
- [Mod installer] Java version is now checked before displaying the file picker. Java 8 is now automatically selected.
- [Mod installer] Brought back "Launch with custom arguments", can be accessed by long-pressing the "Install .jar" button.
2022-01-30 16:44:49 +07:00
github-actions
658c937d73 CI: Update vgpu 2022-01-18 22:47:48 +00:00
Duy Tran Khanh
7f238a1890
gl4es update: skip if fails 2022-01-19 05:44:10 +07:00
Duy Tran Khanh
8ede547b1a
Update bug_report.yml
Mark "The log file and images/videos" as required
2022-01-19 05:41:40 +07:00
Duy Tran Khanh
a6dab4966e
Update strings.xml
Application/Game exited with code %d**, check latestlog.txt for more details.**
2022-01-19 05:28:09 +07:00
artdeell
b85dd16209 Fix merge conflicts 2022-01-10 17:50:38 +03:00
artdeell
15030acc99 Merge remote-tracking branch 'origin/profiles-2-electric-boogaloo' into profiles-2-electric-boogaloo 2022-01-10 17:38:46 +03:00
artdeell
015e27daa0 Make the profile settings from the previous commit user-editable 2022-01-10 17:38:16 +03:00
Duy Tran Khanh
bb9d2eaf9f
GLFW.java: add missing array version of functions 2022-01-10 07:44:38 +07:00
SerpentSpirale
10e4187a76 New eXperimental option: force gles 1 2022-01-06 23:58:52 +01:00
SerpentSpirale
2867ef3ad2 New option, start with virtual mouse on (#2399) 2022-01-06 22:59:00 +01:00
SerpentSpirale
5d61619243 Centralised coordinates to always use CallBackBridge ones 2022-01-06 21:57:32 +01:00
SerpentSpirale
3149734b94 Update ControlOffsetPreference.java 2022-01-06 21:29:44 +01:00
artdeell
ac40da2c4e TMP_COMMIT 2022-01-05 12:47:07 +03:00
SerpentSpirale
d54bfa6569 Add parser support for double dashes and list arguments 2022-01-02 12:31:07 +01:00
SerpentSpirale
b0851c1592 Fix gamepad crosshair resizing; Switched trigger detections from digital to analog tests. 2022-01-01 15:07:24 +01:00
Duy Tran Khanh
5c9db455d8
gl4es: disable overloading default functions shader hack
This fixes startup crash on certain devices, thanks to @NotAHero04
2022-01-01 17:13:37 +07:00
Duy Tran Khanh
1403a0c0af
Update android.yml 2022-01-01 05:35:13 +07:00
Duy Tran Khanh
7df8559ad9
Skip building gl4es/vgpu if not in main branch 2021-12-30 20:04:02 +07:00
Duy Tran Khanh
c1de44dd13
Added missing class (for #2468) 2021-12-29 18:20:06 +07:00
ArtDev
85889338c1
Upstreamify profiles (#2472)
* Extended MCOptionUtils to support list values

* Mitigation for the Apache Log4j RCE in 1.8.x-1.18

Related issue: #2378

* Update JREUtils.java

* Completely fix Log4J RCE (1.7-1.16.5) (not yet tested)
#2378

* fix moment

* Fix a NullPointerException when launching ≤ 1.6.4

* Updated virgl vtest (arm64 only)

Experimental changes:
- HACK: explicitly set location for fsout_c0/1. this might not work, not tested
- Fix empty screen on OF + shader: caused by target fb/texture changed

* Trigger a texture creation, which then set VIRGL_TEXTURE_ID

* Replace sprintf with asprintf for auto allocation

* Update egl_bridge.c

* Updated vtest lib: fixes flipped screen

* CI: Update gl4es

* Updated vtest arm64: fixes black screen on <1.13(?)

Co-authored-by: SerpentSpirale <mathiasboulay@free.fr>
Co-authored-by: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com>
Co-authored-by: khanhduytran0 <khanhduytran0@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-12-28 11:19:57 +03:00
github-actions
1fe5719e11 CI: Update gl4es 2021-12-26 06:39:31 +00:00
Duy Tran Khanh
25e2c4ef48
Remove package-info.class from these files
Workaround "Module org.lwjgl not found, required by <these libraries>"
2021-12-26 13:36:43 +07:00
Duy Tran Khanh
f1bd70996c
Updated vtest arm64: fixes black screen on <1.13(?) 2021-12-19 17:03:07 +07:00
github-actions
163206f349 CI: Update gl4es 2021-12-19 02:57:43 +00:00
Duy Tran Khanh
4892ce3812
Updated vtest lib: fixes flipped screen 2021-12-19 09:54:55 +07:00
ArtDev
a530e72506
Update egl_bridge.c 2021-12-18 09:05:43 +03:00
ArtDev
06b9393ad0
Replace sprintf with asprintf for auto allocation 2021-12-18 09:03:07 +03:00
Duy Tran Khanh
b1fc61648b
Trigger a texture creation, which then set VIRGL_TEXTURE_ID 2021-12-18 11:31:41 +07:00
Duy Tran Khanh
a57091ad2b
Updated virgl vtest (arm64 only)
Experimental changes:
- HACK: explicitly set location for fsout_c0/1. this might not work, not tested
- Fix empty screen on OF + shader: caused by target fb/texture changed
2021-12-18 10:54:25 +07:00
Duy Tran Khanh
f2e8ee3422
Fix a NullPointerException when launching ≤ 1.6.4 2021-12-14 10:49:32 +07:00
khanhduytran0
9c15455929 fix moment 2021-12-14 07:58:43 +07:00
khanhduytran0
2d5751d018 Completely fix Log4J RCE (1.7-1.16.5) (not yet tested)
#2378
2021-12-14 07:40:35 +07:00
ArtDev
9fc4d5dc82
Upstreamify profiles (#2390)
* Extended MCOptionUtils to support list values

* Mitigation for the Apache Log4j RCE in 1.8.x-1.18

Related issue: #2378

* Update JREUtils.java

Co-authored-by: SerpentSpirale <mathiasboulay@free.fr>
Co-authored-by: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com>
2021-12-13 22:49:22 +03:00
artdeell
ad8d115b82 ▼▼▼
- Probably fix race condition when clearing the cache
- Unload unneeded launcher activity while in game
2021-12-13 22:45:52 +03:00
Duy Tran Khanh
7551487461
Update JREUtils.java 2021-12-12 14:21:46 +07:00
Duy Tran Khanh
123a185d51
Mitigation for the Apache Log4j RCE in 1.8.x-1.18
Related issue: #2378
2021-12-12 14:19:03 +07:00
SerpentSpirale
a24d3cf1dd Extended MCOptionUtils to support list values 2021-12-11 22:29:45 +01:00
artdeell
2478758e5d Update from mainline 2021-12-11 23:11:14 +03:00