- # The Agency of Anomalies: Mystic Hospital Collector's Edition
- z- Q6 h$ d; s7 d7 Z - # script for QuickBMS http://aluigi.org/papers.htm#quickbms
% N6 u) V! E( p0 B- D
) E0 P( r/ u+ g" z- get DUMMY short* ?/ _* G% D* D7 F8 `
- get ZSIZE short7 |& I: m3 ~5 H- q$ W" K
- comtype unzip_dynamic
- U$ A4 a0 N6 A" F. W( r6 q - savepos OFFSET# A& |0 w' f4 K2 X6 N. w
- clog MEMORY_FILE OFFSET ZSIZE ZSIZE
- V" O- N& L& R* Y5 m - math OFFSET += ZSIZE4 w; G1 }6 [' ]
- comtype zlib
" P6 m$ g) W6 d j6 J1 _6 Z' B - get DUMMY byte MEMORY_FILE9 Z6 S; j {7 n& T% k1 j
- get FILES short MEMORY_FILE. V8 Z" v3 f1 o9 y
- for i = 0 < FILES, C7 k1 N9 g9 X: }: z
- get NAMESZ byte MEMORY_FILE
5 W& p) j# q1 g5 J - getdstring NAME NAMESZ MEMORY_FILE
& e- K( H# u6 ^- z. ^ - get ZSIZE long MEMORY_FILE
( r1 l- ]) y6 |- [ - get SIZE long MEMORY_FILE- j% t" d5 ^- M1 L
- clog NAME OFFSET ZSIZE SIZE- _8 Z% @0 W& S( T; y+ j6 K9 e
- math OFFSET += ZSIZE* q& \3 E$ O6 i, ]
- next i6 |1 v- l W6 U; k1 i0 [* r
复制代码 |