4754 Commits

Author SHA1 Message Date
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
artdeell
51ca5d859f Check for PVC corruption 2021-12-11 23:09:57 +03:00
ArtDev
870d86d9ab
check for null value insert (#2350)
Co-authored-by: SerpentSpirale <serpentspirale@gmail.com>
2021-12-07 21:23:42 +03:00
SerpentSpirale
4b69b986da check for null value insert 2021-12-07 19:07:00 +01:00
artdeell
095b62a100 Changes
- Add profile enabler-disabler
 - Change the lifecycle a bit
 - Fix: recreating PojavLauncherActivity causes crashes in Laun
 cherPreferences
2021-12-07 15:45:57 +03:00
artdeell
14a460a22c Fix merging 2021-12-07 14:29:47 +03:00
SerpentSpirale
4219779ce4 new eXperimental option: disable VBO 2021-12-06 22:18:01 +01:00
SerpentSpirale
fdc4a86dc9 Update ExtraCore.java 2021-12-06 21:23:49 +01:00
SerpentSpirale
33cde596ff Fix NPE with the ExtraCore singleton 2021-12-06 21:16:24 +01:00
artdeell
9608545111 Changes
- The game runs now
2021-12-05 15:13:06 +03:00
artdeell
213c6a7f84 Changes
- Added the ability create profiles
- Now the changes to profiles are immediately saved
2021-12-05 12:26:48 +03:00
SerpentSpirale
e896229e45 Fix scroll crashing 1.13+
Fix secondary pointers not affecting the touchbar
2021-12-04 14:31:44 +01:00
SerpentSpirale
6488b611ef Add a line break when logging stuff 2021-12-04 13:46:50 +01:00
khanhduytran0
bf41008851 virgl: set OpenGL version to 4.3
OpenGL 4.4 is incomplete, especially GL_ARB_buffer_storage, which is enabled by default in Sodium.
2021-12-04 16:56:46 +07:00
github-actions
53034113c7 CI: Update gl4es 2021-12-04 00:57:36 +00:00
SerpentSpirale
c2e5ddaeda Fix hotbar not registering 0-9 inputs 2021-12-03 13:27:57 +01:00
artdeell
4961acf10d New shit
- Removed profiles fragment because Serpent begged me not to use viewpager
 - Progressed further with the profiles dialog, now it's actually usable
 - Now launcher doesn't have profile amnesia
 - More splitting of raw version selector and profile selector
 Bugs:
 - Saving profiles in the editor does nothing
 TODO:
 - Implement launching the game with selected profile
 - Replace "Unknown" version ID in profiles with mProfile.selectedVersion for ease of migration
2021-12-02 23:21:32 +03:00
Duy Tran Khanh
e732f7d823
Use androidx.annotation.Keep (with package name) 2021-12-02 16:50:38 +07:00
SerpentSpirale
da13f2ed72 Fix handler infinitely throwing out items 2021-12-02 10:27:04 +01:00
ArtDev
0fc0623978
ExtraCore can now deal all kinds of values (#2315)
The extraListener is now an interface

Co-authored-by: SerpentSpirale <mathiasboulay@free.fr>
2021-12-01 16:25:30 +03:00
SerpentSpirale
edd8859f2d ExtraCore can now deal all kinds of values
The extraListener is now an interface
2021-11-30 19:35:47 +01:00
artdeell
4bea845ba4 Start implementing new, cleaner Profiles 2021-11-30 20:57:48 +03:00
SerpentSpirale
2be5ae2584 Extend pause a bit 2021-11-27 19:03:02 +01:00
SerpentSpirale
6cdfe1a694 New eXperimental hack -> Texture size shrink 2021-11-27 19:02:49 +01:00
SerpentSpirale
f3c16027a6 "Fix" showing incompatible runtimes 2021-11-27 16:18:35 +01:00
SerpentSpirale
fc28e3af79 Add proguard flavour, for internal testing 2021-11-27 16:09:45 +01:00
SerpentSpirale
c2036a1886 [DISABLED] Add experimental support for proguard. 2021-11-27 14:54:08 +01:00
SerpentSpirale
a7fad6100c Forgot a } in my previous commits 2021-11-26 15:35:59 +01:00
SerpentSpirale
fb21ddce9a Reduce gamepad mouse latency by one frame 2021-11-26 00:06:40 +01:00
SerpentSpirale
5289c0164f "Fix" mouse poll based event 2021-11-26 00:06:32 +01:00