From ad91c2523876c0f3f973d35a2e1ed5d46d0a7aaf Mon Sep 17 00:00:00 2001 From: ketmar Date: Fri, 16 Mar 2012 17:37:42 +0200 Subject: [PATCH] unpacker updated for more indicies --- tools/resfile/resunpack.bob | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/resfile/resunpack.bob b/tools/resfile/resunpack.bob index 7bd1f29..fe288ee 100755 --- a/tools/resfile/resunpack.bob +++ b/tools/resfile/resunpack.bob @@ -64,6 +64,7 @@ define ResFile.getDirName (idx) { if (idx >= 84 && idx <= 91) return "sprites/"; if (idx == 92) return "fonts/"; if (idx == 93) return "code/"; + if (idx >= 94 && idx <= 94+73) return "maps/"; } else if (this.type == "MUS") { return "music/"; } else if (this.type == "SND") { @@ -90,6 +91,7 @@ define ResFile.getFileName (idx) { if (idx == 91) return "himenu.spr"; if (idx == 92) return "font.bin"; if (idx == 93) return "awish.vmd"; + if (idx >= 94 && idx <= 94+73) return "level%02d.vmd".format(idx-93); return "data%03d.bin".format(idx); } else if (this.type == "MUS") { return "music%03d.aom".format(idx); -- 2.11.4.GIT