- # The Agency of Anomalies: Mystic Hospital Collector's Edition" v: Q: k2 }. `' _% v9 R
- # script for QuickBMS http://aluigi.org/papers.htm#quickbms
6 f; A# ]0 @' p- i - 1 P1 f) P1 H4 A, g) g0 z
- get DUMMY short
+ m ?4 g0 y6 Q+ \. ^/ `9 d - get ZSIZE short. ]! K4 d1 q4 ]0 Y1 o( [& {
- comtype unzip_dynamic
3 {" _; p) Y" b* W/ W% i - savepos OFFSET
9 M d- N7 x: U+ Q7 ^, r - clog MEMORY_FILE OFFSET ZSIZE ZSIZE2 {, h6 R7 Q( y8 P! ?/ g- U5 b
- math OFFSET += ZSIZE
5 C3 x, y2 o. `2 U# }. F - comtype zlib4 C9 \. Z- l0 j& |% K9 b
- get DUMMY byte MEMORY_FILE# k5 Q" w' R6 n! c
- get FILES short MEMORY_FILE: q$ e) }& K9 N& ^
- for i = 0 < FILES- n7 v$ P% ^ l4 `! w1 q& e0 \$ \
- get NAMESZ byte MEMORY_FILE0 Z7 D. h/ d% m$ h* h* |# g
- getdstring NAME NAMESZ MEMORY_FILE
$ ^" l4 ~7 P( Q9 Q4 T" D5 i5 i - get ZSIZE long MEMORY_FILE
4 `! D3 {3 O$ t& H - get SIZE long MEMORY_FILE
6 ~, O. h% u: Z& i0 ]- k1 M; c - clog NAME OFFSET ZSIZE SIZE$ P: E( P0 c, J+ b6 z, I
- math OFFSET += ZSIZE
* q M5 H4 Q8 g" [+ n" V - next i) o& d+ j! @9 H0 O4 _7 \' L
复制代码 |