Skip to content

Commit

Permalink
Unpack the remaining resources that have not been converted yet
Browse files Browse the repository at this point in the history
  • Loading branch information
tvasenin committed Nov 15, 2017
1 parent 1df76d6 commit f6a027d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Pre2/AssetConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ public static void PrepareAllAssets()
UnpackTrk("MYSTERY");
UnpackTrk("PRES");
UnpackTrk("PRESENTA");

string rawDir = CacheDir + "/RAW";
Directory.CreateDirectory(rawDir);
File.WriteAllBytes(rawDir + "/SAMPLE.BIN", SqzUnpacker.Unpack(SqzDir + "/SAMPLE.SQZ"));
File.WriteAllBytes(rawDir + "/KEYB.BIN", SqzUnpacker.Unpack(SqzDir + "/KEYB.SQZ"));
}

public static Palette GetLevelPalette(int levelIdx)
Expand Down

0 comments on commit f6a027d

Please sign in to comment.