diff --git a/firestar/src/main/java/Bert.java b/firestar/src/main/java/Bert.java index c18bdcc..c559349 100644 --- a/firestar/src/main/java/Bert.java +++ b/firestar/src/main/java/Bert.java @@ -172,7 +172,7 @@ public class Bert implements ActionListener { Fozzie popup = new Fozzie(); popup.displayTextOnly("Extracting " + arcname + "...", "Extracting"); try { - Process p = Main.exec(new String[]{"pkg2zip.exe", "-x", "asset.pkg", key.toString()}, Main.inpath); + Process p = Main.exec(new String[]{Main.inpath + "pkg2zip.exe", "-x", "asset.pkg", key.toString()}, Main.inpath); InputStream debugin = new BufferedInputStream(p.getInputStream()); OutputStream debugout = new BufferedOutputStream(System.out); int c; @@ -226,7 +226,7 @@ public class Bert implements ActionListener { popup.setText("Decrypting protected PFS:
" + extracted + "", "Decrypting"); try { - Process p = Main.exec(new String[]{"psvpfsparser.exe", "-i", extracted, "-o", "./temp/", "-z", key.toString(), "-f", "cma.henkaku.xyz"}, Main.inpath); + Process p = Main.exec(new String[]{Main.inpath + "psvpfsparser.exe", "-i", extracted, "-o", "./temp/", "-z", key.toString(), "-f", "cma.henkaku.xyz"}, Main.inpath); InputStream debugin = new BufferedInputStream(p.getInputStream()); OutputStream debugout = new BufferedOutputStream(System.out); int c; diff --git a/firestar/src/main/java/Gonzo.java b/firestar/src/main/java/Gonzo.java index 64b7f96..a3d3e39 100644 --- a/firestar/src/main/java/Gonzo.java +++ b/firestar/src/main/java/Gonzo.java @@ -125,7 +125,7 @@ public class Gonzo { System.out.println("Firestar is extracting " + s); consoleDisplay.append("Firestar is extracting " + s + "\n"); //Process p = Runtime.getRuntime().exec(new String[]{"bash","-c","aplay /home/bonkyboo/kittens_loop.wav"}); // DEBUG - Process p = Main.exec(new String[]{"../psp2psarc.exe", "extract", "-y", "../"+s}, System.getProperty("user.home") + "/.firestar/temp/"); + Process p = Main.exec(new String[]{Main.inpath + "psp2psarc.exe", "extract", "-y", "../"+s}, System.getProperty("user.home") + "/.firestar/temp/"); final Thread ioThread = new Thread() { @Override public void run() { @@ -267,7 +267,7 @@ public class Gonzo { try { System.out.println("Firestar is compiling the final build"); consoleDisplay.append("Firestar is compiling the final build" + "\n"); - Process p = Main.exec(new String[]{"../psp2psarc.exe", "create", "--skip-missing-files", "-j12", "-a", "-i", "-y", "--input-file=list.txt", "-o" + oArcTarget}, System.getProperty("user.home") + "/.firestar/temp/"); + Process p = Main.exec(new String[]{Main.inpath + "psp2psarc.exe", "create", "--skip-missing-files", "-j12", "-a", "-i", "-y", "--input-file=list.txt", "-o" + oArcTarget}, System.getProperty("user.home") + "/.firestar/temp/"); final Thread ioThread = new Thread() { @Override public void run() {