- # The Agency of Anomalies: Mystic Hospital Collector's Edition
/ l$ @ K) S7 d- z - # script for QuickBMS http://aluigi.org/papers.htm#quickbms
$ n q9 w/ R* r; s0 B2 h
7 X4 e o/ E+ ~' l% a0 ?3 j- get DUMMY short& k4 y1 u% d z% \ Q7 N
- get ZSIZE short6 w3 b0 d" w& ]% f: j1 Z5 q
- comtype unzip_dynamic
9 v! H V3 ]& ^ ~4 I/ Q! T - savepos OFFSET! _) q5 }6 Y. e* \% X
- clog MEMORY_FILE OFFSET ZSIZE ZSIZE- Y. }, e1 f- c$ W/ I
- math OFFSET += ZSIZE
$ W# f! x8 H+ E( b( `% `, w; h - comtype zlib
) ]8 f0 d7 ?& n2 f V& @0 k4 p - get DUMMY byte MEMORY_FILE
$ O3 d; z' q! }9 f/ [ W - get FILES short MEMORY_FILE
+ @2 l5 \6 j( X5 D" Y4 h. } - for i = 0 < FILES: [! W7 {' f' A1 J( E0 @( f
- get NAMESZ byte MEMORY_FILE+ b& F" a- Q7 @1 S8 U( I) F
- getdstring NAME NAMESZ MEMORY_FILE
' e+ O; `( f' D# r9 G- D - get ZSIZE long MEMORY_FILE
3 q4 O/ @# l! E7 ^ - get SIZE long MEMORY_FILE A0 ^& b' Y9 |* M% _
- clog NAME OFFSET ZSIZE SIZE
2 x0 j9 L, w$ N+ b! C - math OFFSET += ZSIZE
. H" ^, c1 e+ R5 V - next i
) Z B$ y2 Y3 |7 `* Y. l5 b
复制代码 |