- # The Agency of Anomalies: Mystic Hospital Collector's Edition
( W$ Q! g2 ]" D: j- c - # script for QuickBMS http://aluigi.org/papers.htm#quickbms. C- v( W; q m! O' e9 N$ I
- s6 }6 h" ]3 Q2 J- get DUMMY short
& ], t- l: u& y9 ^& a1 X - get ZSIZE short
5 @7 b8 K- a8 ^0 u& I7 T - comtype unzip_dynamic6 s" n* E' m* K) g8 I$ c
- savepos OFFSET
4 g# ] P* k5 h3 r# u) _' ` - clog MEMORY_FILE OFFSET ZSIZE ZSIZE; r. k; ]! S J
- math OFFSET += ZSIZE' A- w& Z: B. a
- comtype zlib
% f1 P, c1 _& Q/ C5 l! P - get DUMMY byte MEMORY_FILE
1 z" S( B7 m v% y) z; E - get FILES short MEMORY_FILE
9 B! Q/ E6 |+ z! I- ~ - for i = 0 < FILES- H' u6 {- x7 ]0 _( A' `
- get NAMESZ byte MEMORY_FILE4 q$ t* V0 K0 Q9 i3 @0 w, c% G
- getdstring NAME NAMESZ MEMORY_FILE& C/ p5 p- a! n" r
- get ZSIZE long MEMORY_FILE) o; U f, x3 N' W! g/ N! {
- get SIZE long MEMORY_FILE
; D* f1 n5 e. n L1 ~) x* ^) o- H- K3 | - clog NAME OFFSET ZSIZE SIZE
. u l* S+ M, Q - math OFFSET += ZSIZE
. f5 i2 _& D( E7 k) e% I; C1 e+ n/ j - next i: Q/ c! A% g8 t
复制代码 |