From f6a027d956c5d8372ef24844189c4229d76e5bca Mon Sep 17 00:00:00 2001 From: Timofey Vasenin Date: Thu, 16 Nov 2017 05:48:38 +0700 Subject: [PATCH] Unpack the remaining resources that have not been converted yet --- Pre2/AssetConverter.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Pre2/AssetConverter.cs b/Pre2/AssetConverter.cs index dde068e..a593319 100644 --- a/Pre2/AssetConverter.cs +++ b/Pre2/AssetConverter.cs @@ -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)