diff --git a/src/dec/ExtractPluginA.java b/src/dec/ExtractPluginA.java index 9791fc5..cad2922 100644 --- a/src/dec/ExtractPluginA.java +++ b/src/dec/ExtractPluginA.java @@ -49,6 +49,7 @@ public class ExtractPluginA extends Decoder { for (int i = 0; i < tables_count; i++) { table_offset[i] = readInt(file); } + filename = new File(filename).getName(); String directory = filename.split("\\.")[0]; new File(directory).mkdir(); // create the list of string tables used in the rebuild diff --git a/src/dec/ExtractPluginB.java b/src/dec/ExtractPluginB.java index 1e5e0b7..b2845b4 100644 --- a/src/dec/ExtractPluginB.java +++ b/src/dec/ExtractPluginB.java @@ -58,6 +58,7 @@ public class ExtractPluginB extends Decoder { } table_offset.add(pointer); } + filename = new File(filename).getName(); String directory = filename.split("\\.")[0]; new File(directory).mkdir(); PrintStream filelist = new PrintStream(new FileOutputStream( diff --git a/src/dec/ExtractPluginC.java b/src/dec/ExtractPluginC.java index 9616df7..b4c630a 100644 --- a/src/dec/ExtractPluginC.java +++ b/src/dec/ExtractPluginC.java @@ -49,6 +49,7 @@ public class ExtractPluginC extends Decoder { offset_tables.add(offset); } + filename = new File(filename).getName(); String directory = filename.split("\\.")[0]; new File(directory).mkdir(); // create the list of string tables used in the rebuild