mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 21:40:15 -07:00
Start moving Pojav modules outside of the game directory
This commit is contained in:
parent
7b99b423e5
commit
9e14381b32
8 changed files with 35 additions and 33 deletions
|
|
@ -59,8 +59,8 @@ public final class Tools
|
|||
|
||||
public static final String ASSETS_PATH = DIR_GAME_NEW + "/assets";
|
||||
public static final String OBSOLETE_RESOURCES_PATH= DIR_GAME_NEW + "/resources";
|
||||
public static final String CTRLMAP_PATH = DIR_GAME_NEW + "/controlmap";
|
||||
public static final String CTRLDEF_FILE = DIR_GAME_NEW + "/controlmap/default.json";
|
||||
public static final String CTRLMAP_PATH = DIR_GAME_HOME + "/controlmap";
|
||||
public static final String CTRLDEF_FILE = DIR_GAME_HOME + "/controlmap/default.json";
|
||||
|
||||
public static final String LIBNAME_OPTIFINE = "optifine:OptiFine";
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ public final class Tools
|
|||
|
||||
StringBuilder cacioClasspath = new StringBuilder();
|
||||
cacioClasspath.append("-Xbootclasspath/p");
|
||||
File cacioDir = new File(DIR_GAME_NEW + "/caciocavallo");
|
||||
File cacioDir = new File(DIR_GAME_HOME + "/caciocavallo");
|
||||
if (cacioDir.exists() && cacioDir.isDirectory()) {
|
||||
for (File file : cacioDir.listFiles()) {
|
||||
if (file.getName().endsWith(".jar")) {
|
||||
|
|
@ -270,7 +270,7 @@ public final class Tools
|
|||
|
||||
private static String getLWJGL3ClassPath() {
|
||||
StringBuilder libStr = new StringBuilder();
|
||||
File lwjgl3Folder = new File(Tools.DIR_GAME_NEW, "lwjgl3");
|
||||
File lwjgl3Folder = new File(Tools.DIR_GAME_HOME, "lwjgl3");
|
||||
if (/* info.arguments != null && */ lwjgl3Folder.exists()) {
|
||||
for (File file: lwjgl3Folder.listFiles()) {
|
||||
if (file.getName().endsWith(".jar")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue