- # The Agency of Anomalies: Mystic Hospital Collector's Edition
7 D& Q E0 P" r3 v/ j - # script for QuickBMS http://aluigi.org/papers.htm#quickbms
. I+ Q7 ?7 i4 W6 x. R$ ]8 V
: k2 m- } p7 `+ N/ f- get DUMMY short$ D1 C1 }& G* Q c* z
- get ZSIZE short
3 h }) f& T- e, }7 x. R. z& V - comtype unzip_dynamic$ | l% k' l# M4 _& m& H2 G# J
- savepos OFFSET5 Q, ^0 X. O7 Y6 C/ j
- clog MEMORY_FILE OFFSET ZSIZE ZSIZE
8 a4 X5 Y- X1 C - math OFFSET += ZSIZE
. f ?5 n* F; V! M; j8 J8 b. e4 V2 ] - comtype zlib
6 d& C) m9 W) C' m: }# ?7 M; L - get DUMMY byte MEMORY_FILE& |5 m. x/ M8 z3 a5 X8 H; q) m
- get FILES short MEMORY_FILE
' r- K& M( s$ r8 [ - for i = 0 < FILES( b' l. t+ J/ S6 t$ I
- get NAMESZ byte MEMORY_FILE9 {8 C+ H6 I8 U( e5 @
- getdstring NAME NAMESZ MEMORY_FILE
+ q3 U% Y8 J- w+ F- E - get ZSIZE long MEMORY_FILE
: `* E( K, g& ^ - get SIZE long MEMORY_FILE
' O# A4 k8 S/ v6 n1 ]" a% q - clog NAME OFFSET ZSIZE SIZE
3 @) w* V8 A4 K% d' B8 G, D - math OFFSET += ZSIZE
1 [5 e- `" Y( p' i+ O - next i
# r6 ^& y h. q- u. _( q% r
复制代码 |