Skip to content

Commit 0c6a9b1

Browse files
committed
Add support for handling "Old" Script Version
Another version of the text script format was found, and has a few differences in certain sections. A set of commands with the suffix "-old" have been made to handle this script version.
1 parent b2d4b32 commit 0c6a9b1

2 files changed

Lines changed: 754 additions & 24 deletions

File tree

source/app.d

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,18 @@ int main(string[] args)
1515
File script = File(args[2], "rb");
1616
extractScript(script);
1717
return 0;
18+
case "extract-old":
19+
File script = File(args[2], "rb");
20+
extractScriptOld(script);
21+
return 0;
1822
case "repack":
1923
File json = File(args[2], "r");
2024
repackScript(json);
2125
return 0;
26+
case "repack-old":
27+
File json = File(args[2], "r");
28+
repackScriptOld(json);
29+
return 0;
2230
default:
2331
return 1;
2432
}

0 commit comments

Comments
 (0)