Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

Commit 8daca73

Browse files
committed
hopefully fix Sodium
1 parent eb32ebb commit 8daca73

58 files changed

Lines changed: 137 additions & 137 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body:
1717
attributes:
1818
label: The log file and images/videos
1919
description: |
20-
The log file called `latestlog.txt` is located under `/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files` (on Android 10 and higher) or `/storage/emulated/0/games/PojavLauncher/` (on Android 9 and lower). You may have to activate an option in your file explorer to see hidden files and folders. Recommended file managers are ZArchiver and MiXplorer. |
20+
The log file called `latestlog.txt` is located under `/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files` (on Android 10 and higher) or `/storage/emulated/0/games/SolCraftLauncher/` (on Android 9 and lower). You may have to activate an option in your file explorer to see hidden files and folders. Recommended file managers are ZArchiver and MiXplorer. |
2121
You can also upload here screenshots or videos of the buggy behavior, if possible.
2222
2323
Tip: You can attach files by clicking this area to highlight it and then dragging files in or select them on 🖼 option at the toolbar. Do not click anything before the file successfully uploads, otherwise the upload is going to stop and the file won't attach.
@@ -29,7 +29,7 @@ body:
2929
label: Steps To Reproduce
3030
description: Steps to reproduce the issue.
3131
placeholder: |
32-
1. Start PojavLauncher
32+
1. Start SolCraftLauncher
3333
... *(your set of actions to reproduce the bug)*
3434
render: markdown
3535
validations:
@@ -51,12 +51,12 @@ body:
5151
- **Device model**: Huawei P30 Pro 8/512G
5252
- **CPU architecture**: arm64 (can be arm64, arm, x86_64 or x86 depending on the device)
5353
- **Android version**: 10
54-
- **PojavLauncher version**: (can be found in Android Apps settings, for example `dahlia-20230813-5e8842b-v3_openjdk`)
54+
- **SolCraftLauncher version**: (can be found in Android Apps settings, for example `dahlia-20230813-5e8842b-v3_openjdk`)
5555
value: |
5656
- Device model:
5757
- CPU architecture:
5858
- Android version:
59-
- PojavLauncher version:
59+
- SolCraftLauncher version:
6060
render: markdown
6161
validations:
6262
required: true

.github/workflows/android.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ jobs:
3232
run: |
3333
apt update && apt install wget
3434
cd app_pojavlauncher/libs
35-
wget https://github.com/PojavLauncherTeam/LTW/releases/latest/download/ltw-release.aar
35+
wget https://github.com/SolCraftLauncherTeam/LTW/releases/latest/download/ltw-release.aar
3636
3737
- name: Get JRE 8
3838
uses: dawidd6/action-download-artifact@v9
3939
with:
4040
workflow: build.yml
4141
path: app_pojavlauncher/src/main/assets/components/jre
4242
workflow_conclusion: success
43-
repo: PojavLauncherTeam/android-openjdk-build-multiarch
43+
repo: SolCraftLauncherTeam/android-openjdk-build-multiarch
4444
branch: buildjre8
4545
name: jre8-pojav
4646

@@ -50,7 +50,7 @@ jobs:
5050
workflow: build.yml
5151
path: app_pojavlauncher/src/main/assets/components/jre-new
5252
workflow_conclusion: success
53-
repo: PojavLauncherTeam/android-openjdk-build-multiarch
53+
repo: SolCraftLauncherTeam/android-openjdk-build-multiarch
5454
branch: buildjre17-21
5555
name: jre17-pojav
5656

@@ -60,7 +60,7 @@ jobs:
6060
workflow: build.yml
6161
path: app_pojavlauncher/src/main/assets/components/jre-21
6262
workflow_conclusion: success
63-
repo: PojavLauncherTeam/android-openjdk-build-multiarch
63+
repo: SolCraftLauncherTeam/android-openjdk-build-multiarch
6464
branch: buildjre17-21
6565
name: jre21-pojav
6666

@@ -83,7 +83,7 @@ jobs:
8383
java-version: '17'
8484

8585
- name: Build Google Play .aab
86-
if: github.repository_owner == 'PojavLauncherTeam' && github.ref_name == 'v3_openjdk'
86+
if: github.repository_owner == 'SolCraftLauncherTeam' && github.ref_name == 'v3_openjdk'
8787
run: |
8888
gradle :app_pojavlauncher:bundleGplay
8989
mv app_pojavlauncher/build/outputs/bundle/gplay/app_pojavlauncher-gplay.aab out/app-gplay.aab
@@ -120,7 +120,7 @@ jobs:
120120

121121
- name: Upload onto the Google Play testing track
122122
continue-on-error: true
123-
if: github.repository_owner == 'PojavLauncherTeam' && github.ref_name == 'v3_openjdk'
123+
if: github.repository_owner == 'SolCraftLauncherTeam' && github.ref_name == 'v3_openjdk'
124124
uses: r0adkll/upload-google-play@v1.1.2
125125
with:
126126
serviceAccountJsonPlainText: ${{ secrets.GPLAY_SERVICE_JSON }}

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/SolDev69/SolCraftLauncher)](https://github.com/SolDev69/SolCraftLauncher/actions)
77
[![Discord](https://img.shields.io/discord/1199157907523117066.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.com/invite/qeVjdcU4CJ)
88

9-
SolCraftLauncher is a fork of PojavLauncher/Angel Aura Amethyst with more technical added features, new renderers, and some QOL improvements.
9+
SolCraftLauncher is a fork of SolCraftLauncher/Angel Aura Amethyst with more technical added features, new renderers, and some QOL improvements.
1010

1111

1212

@@ -19,7 +19,7 @@ SolCraftLauncher is a fork of PojavLauncher/Angel Aura Amethyst with more techni
1919
[![Crowdin](https://badges.crowdin.net/amethyst/localized.svg)](https://crowdin.com/project/amethyst)
2020
[![Discord](https://img.shields.io/discord/724163890803638273.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/98pZ8YY3Cq)
2121

22-
*From [Boardwalk](https://github.com/zhuowei/Boardwalk)'s ashes and [PojavLauncher](https://github.com/PojavLauncherTeam/PojavLauncher)'s ruined reputation, here comes Amethyst!*
22+
*From [Boardwalk](https://github.com/zhuowei/Boardwalk)'s ashes and [SolCraftLauncher](https://github.com/SolCraftLauncherTeam/SolCraftLauncher)'s ruined reputation, here comes Amethyst!*
2323

2424
Amethyst is a launcher that allows you to play Minecraft: Java Edition on your Android and [iOS](https://github.com/AngelAuraMC/Amethyst-iOS) devices.
2525

@@ -43,7 +43,7 @@ For more details, check out our [wiki](https://angelauramc.dev/wiki)!
4343

4444
## Introduction
4545

46-
* Amethyst is a Minecraft: Java Edition launcher for Android and iOS based on [Boardwalk](https://github.com/zhuowei/Boardwalk) and [PojavLauncher](https://github.com/PojavLauncherTeam/PojavLauncher)
46+
* Amethyst is a Minecraft: Java Edition launcher for Android and iOS based on [Boardwalk](https://github.com/zhuowei/Boardwalk) and [SolCraftLauncher](https://github.com/SolCraftLauncherTeam/SolCraftLauncher)
4747
* This launcher can launch almost all available Minecraft versions ranging from rd-132211 to 1.21 snapshots (including Combat Test versions)
4848
* Modding via Forge and Fabric are also supported.
4949
* This repository contains source code for Android. For iOS/iPadOS, check out [Amethyst-iOS](https://github.com/AngelAuraMC/Amethyst-iOS).
@@ -59,7 +59,7 @@ You can get Amethyst via two methods:
5959

6060
### Quick Build (Recommended)
6161

62-
The easiest way to build PojavLauncher is to use the pre-built JREs provided by our CI.
62+
The easiest way to build SolCraftLauncher is to use the pre-built JREs provided by our CI.
6363

6464
1. Clone the repository: `git clone --recursive https://github.com/AngelAuraMC/Amethyst-Android.git`
6565
2. Build the launcher: `./gradlew :app_pojavlauncher:assembleDebug` (Use `gradlew.bat` on Windows)
@@ -126,12 +126,12 @@ For support, please join our [Discord server](https://discord.com/invite/98pZ8YY
126126

127127
## License
128128

129-
PojavLauncher is licensed under [GNU LGPLv3](https://github.com/AngelAuraMC/Amethyst-Android/blob/v3_openjdk/LICENSE).
129+
SolCraftLauncher is licensed under [GNU LGPLv3](https://github.com/AngelAuraMC/Amethyst-Android/blob/v3_openjdk/LICENSE).
130130

131131
## Credits & Dependencies
132132

133133
* [Boardwalk](https://github.com/zhuowei/Boardwalk) (JVM Launcher): Unknown License/[Apache License 2.0](https://github.com/zhuowei/Boardwalk/blob/master/LICENSE) or GNU GPLv2.
134-
* [PojavLauncher](https://github.com/PojavLauncherTeam/PojavLauncher): [GLGPL](https://github.com/PojavLauncherTeam/PojavLauncher/blob/v3_openjdk/LICENSE)
134+
* [SolCraftLauncher](https://github.com/SolCraftLauncherTeam/SolCraftLauncher): [GLGPL](https://github.com/SolCraftLauncherTeam/SolCraftLauncher/blob/v3_openjdk/LICENSE)
135135
* Android Support Libraries: [Apache License 2.0](https://android.googlesource.com/platform/prebuilts/maven_repo/android/+/master/NOTICE.txt).
136136
* [GL4ES](https://github.com/AngelAuraMC/gl4es): [MIT License](https://github.com/ptitSeb/gl4es/blob/master/LICENSE).
137137
* [MobileGlues](https://github.com/MobileGL-Dev/MobileGlues): [LGPL-2.1 License](https://github.com/MobileGL-Dev/MobileGlues/blob/dev-es/LICENSE).

app_pojavlauncher/app_pojavlauncher.iml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@
103103
</content>
104104
<orderEntry type="jdk" jdkName="Android API 29 Platform" jdkType="Android SDK" />
105105
<orderEntry type="sourceFolder" forTests="false" />
106-
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncher\app_pojavlauncher\libs\ExagearApacheCommons.jar:unspecified@jar" level="project" />
107-
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncher\app_pojavlauncher\libs\gson-2.8.6.jar:unspecified@jar" level="project" />
108-
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\PojavLauncher\app_pojavlauncher\libs\PointerCapture26Wrapper.jar:unspecified@jar" level="project" />
106+
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\SolCraftLauncher\app_pojavlauncher\libs\ExagearApacheCommons.jar:unspecified@jar" level="project" />
107+
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\SolCraftLauncher\app_pojavlauncher\libs\gson-2.8.6.jar:unspecified@jar" level="project" />
108+
<orderEntry type="library" name="Gradle: __local_aars__:C.\Users\Admin\AndroidStudioProjects\SolCraftLauncher\app_pojavlauncher\libs\PointerCapture26Wrapper.jar:unspecified@jar" level="project" />
109109
<orderEntry type="library" name="Gradle: javax.annotation:javax.annotation-api:1.3.2@jar" level="project" />
110110
<orderEntry type="library" name="Gradle: commons-codec:commons-codec:1.14@jar" level="project" />
111111
<orderEntry type="library" name="Gradle: androidx.collection:collection:1.0.0@jar" level="project" />

app_pojavlauncher/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ dependencies {
211211
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
212212

213213
implementation 'com.github.duanhong169:checkerboarddrawable:1.0.2'
214-
implementation 'com.github.PojavLauncherTeam:portrait-sdp:ed33e89cbc'
215-
implementation 'com.github.PojavLauncherTeam:portrait-ssp:6c02fd739b'
214+
implementation 'com.github.SolCraftLauncherTeam:portrait-sdp:ed33e89cbc'
215+
implementation 'com.github.SolCraftLauncherTeam:portrait-ssp:6c02fd739b'
216216
implementation 'com.github.Mathias-Boulay:ExtendedView:1.0.0'
217217
implementation 'com.github.Mathias-Boulay:android_gamepad_remapper:2.0.3'
218218
implementation 'com.github.Mathias-Boulay:virtual-joystick-android:1.14'
@@ -222,7 +222,7 @@ dependencies {
222222

223223
implementation 'org.tukaani:xz:1.8'
224224
// Our version of exp4j can be built from source at
225-
// https://github.com/PojavLauncherTeam/exp4j
225+
// https://github.com/SolCraftLauncherTeam/exp4j
226226
implementation 'net.sourceforge.htmlcleaner:htmlcleaner:2.6.1'
227227
implementation 'com.bytedance:bytehook:1.0.9'
228228

app_pojavlauncher/src/main/assets/about_en.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%s (Minecraft Java Launcher for Android), version %s by Tran Khanh Duy (based on "Boardwalk" app)<br>
22

33
* License:<br>
4-
• This application is licensed under <a href="https://github.com/PojavLauncherTeam/PojavLauncher/blob/master/LICENSE">GNU GPLv3</a>.<br>
4+
• This application is licensed under <a href="https://github.com/SolCraftLauncherTeam/SolCraftLauncher/blob/master/LICENSE">GNU GPLv3</a>.<br>
55

66
* Credits / Third party components and their licenses:<br>
77
• Apache Commons Compress (unknown or Apache License 2.0).<br>
@@ -12,8 +12,8 @@
1212
• LWJGL: <a href="http://legacy.lwjgl.org/license.php.html">LWJGL 2's License</a>.<br><br>
1313
• pro-gradle: <a href="https://github.com/pro-grade/pro-grade/blob/master/LICENSE.txt">Apache License 2.0</a>.<br>
1414
• xHook: <a href="https://github.com/iqiyi/xHook/blob/master/LICENSE">Mixed licenses</a>.<br>
15-
• <a href="https://github.com/PojavLauncherTeam/PojavLauncher#credits--third-party-components-and-their-licenses">More (check at GitHub)</a>.
16-
• <a href="https://raw.githubusercontent.com/PojavLauncherTeam/PojavLauncher/v3_openjdk/GPLAY_PRIVACY_POLICY">Privacy policy</a>.
15+
• <a href="https://github.com/SolCraftLauncherTeam/SolCraftLauncher#credits--third-party-components-and-their-licenses">More (check at GitHub)</a>.
16+
• <a href="https://raw.githubusercontent.com/SolCraftLauncherTeam/SolCraftLauncher/v3_openjdk/GPLAY_PRIVACY_POLICY">Privacy policy</a>.
1717
• Thanks to <a href="https://mc-heads.net">MCHeads</a> for providing Minecraft avatars.
1818

1919
* Notes:<br>

app_pojavlauncher/src/main/assets/components/security/java_sandbox.policy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// PojavLauncher JRE Sandbox
1+
// SolCraftLauncher JRE Sandbox
22
// DO NOT EDIT THIS FILE WITHOUT KNOWLEDGE!
33
// This file is important to protect you against viruses/malwares that could be come from unknown Java Programs (run on mod install) or a mod.
44

app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/PojavApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void onCreate() {
3939
// Write to file, since some devices may not able to show error
4040
FileUtils.ensureParentDirectory(crashFile);
4141
PrintStream crashStream = new PrintStream(crashFile);
42-
crashStream.append("PojavLauncher crash report\n");
42+
crashStream.append("SolCraftLauncher crash report\n");
4343
crashStream.append(" - Time: ").append(DateFormat.getDateTimeInstance().format(new Date())).append("\n");
4444
crashStream.append(" - Device: ").append(Build.PRODUCT).append(" ").append(Build.MODEL).append("\n");
4545
crashStream.append(" - Android version: ").append(Build.VERSION.RELEASE).append("\n");

app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public static void relocateLibPath(Runtime runtime, String jreHome) {
171171

172172
public static void setJavaEnvironment(Activity activity, String jreHome) throws Throwable {
173173
Map<String, String> envMap = new ArrayMap<>();
174-
envMap.put("POJAV_NATIVEDIR", NATIVE_LIB_DIR);
174+
envMap.put("SOLCRAFT_NATIVEDIR", NATIVE_LIB_DIR);
175175
envMap.put("JAVA_HOME", jreHome);
176176
envMap.put("HOME", Tools.DIR_GAME_HOME);
177177
envMap.put("TMPDIR", Tools.DIR_CACHE.getAbsolutePath());
@@ -189,9 +189,9 @@ public static void setJavaEnvironment(Activity activity, String jreHome) throws
189189
if(PREF_DUMP_SHADERS)
190190
envMap.put("LIBGL_VGPU_DUMP", "1");
191191
if(PREF_VSYNC_IN_ZINK)
192-
envMap.put("POJAV_VSYNC_IN_ZINK", "1");
192+
envMap.put("SOLCRAFT_VSYNC_IN_ZINK", "1");
193193
if(Tools.deviceHasHangingLinker())
194-
envMap.put("POJAV_EMUI_ITERATOR_MITIGATE", "1");
194+
envMap.put("SOLCRAFT_EMUI_ITERATOR_MITIGATE", "1");
195195

196196

197197
// The OPEN GL version is changed according
@@ -209,20 +209,20 @@ public static void setJavaEnvironment(Activity activity, String jreHome) throws
209209
envMap.put("LD_LIBRARY_PATH", LD_LIBRARY_PATH);
210210
envMap.put("PATH", jreHome + "/bin:" + Os.getenv("PATH"));
211211
if(FFmpegPlugin.isAvailable) {
212-
envMap.put("POJAV_FFMPEG_PATH", FFmpegPlugin.executablePath);
212+
envMap.put("SOLCRAFT_FFMPEG_PATH", FFmpegPlugin.executablePath);
213213
}
214214

215215
if(LOCAL_RENDERER != null) {
216-
envMap.put("POJAV_RENDERER", LOCAL_RENDERER);
216+
envMap.put("SOLCRAFT_RENDERER", LOCAL_RENDERER);
217217
if(LOCAL_RENDERER.equals("opengles3_ltw")) {
218218
envMap.put("LIBGL_ES", "3");
219-
envMap.put("POJAVEXEC_EGL","libltw.so"); // Use ANGLE EGL
219+
envMap.put("SOLCRAFTEXEC_EGL","libltw.so"); // Use ANGLE EGL
220220
}
221221
if(LOCAL_RENDERER.equals("opengles_mobileglues")){
222222
envMap.put("MG_DIR_PATH", Tools.DIR_DATA + "/MobileGlues");
223223
}
224224
}
225-
if(LauncherPreferences.PREF_BIG_CORE_AFFINITY) envMap.put("POJAV_BIG_CORE_AFFINITY", "1");
225+
if(LauncherPreferences.PREF_BIG_CORE_AFFINITY) envMap.put("SOLCRAFT_BIG_CORE_AFFINITY", "1");
226226
envMap.put("AWTSTUB_WIDTH", Integer.toString(CallbackBridge.windowWidth > 0 ? CallbackBridge.windowWidth : CallbackBridge.physicalWidth));
227227
envMap.put("AWTSTUB_HEIGHT", Integer.toString(CallbackBridge.windowHeight > 0 ? CallbackBridge.windowHeight : CallbackBridge.physicalHeight));
228228

@@ -244,7 +244,7 @@ public static void setJavaEnvironment(Activity activity, String jreHome) throws
244244
}
245245

246246
if(info.isAdreno() && !PREF_ZINK_PREFER_SYSTEM_DRIVER) {
247-
envMap.put("POJAV_LOAD_TURNIP", "1");
247+
envMap.put("SOLCRAFT_LOAD_TURNIP", "1");
248248
}
249249

250250
readCustomEnv(envMap); // Must be last so it overrides anything the user sets for obvious reasons.

app_pojavlauncher/src/main/jni/ctxbridges/bridge_tbl.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Created by maks on 18.10.2023.
33
//
44

5-
#ifndef POJAVLAUNCHER_BRIDGE_TBL_H
6-
#define POJAVLAUNCHER_BRIDGE_TBL_H
5+
#ifndef SOLCRAFTLAUNCHER_BRIDGE_TBL_H
6+
#define SOLCRAFTLAUNCHER_BRIDGE_TBL_H
77

88
#include <ctxbridges/common.h>
99
#include <ctxbridges/gl_bridge.h>
@@ -42,4 +42,4 @@ void set_gl_bridge_tbl() {
4242
br_swap_interval = gl_swap_interval;
4343
}
4444

45-
#endif //POJAVLAUNCHER_BRIDGE_TBL_H
45+
#endif //SOLCRAFTLAUNCHER_BRIDGE_TBL_H

0 commit comments

Comments
 (0)