- # The Agency of Anomalies: Mystic Hospital Collector's Edition
8 p- y) e+ F" b) T8 g$ I - # script for QuickBMS http://aluigi.org/papers.htm#quickbms
& r! h/ T+ e! K2 c - 8 N6 F3 b- ~4 C5 V" y$ d" B
- get DUMMY short7 A8 B$ H4 I# f+ d; v
- get ZSIZE short z$ Y0 |3 T4 E$ [& K
- comtype unzip_dynamic' e+ b1 O! \1 H/ W) P* v: n2 Q
- savepos OFFSET' o7 B! W; ]! L# B2 m
- clog MEMORY_FILE OFFSET ZSIZE ZSIZE7 y: {1 W+ [9 F$ ^0 `9 _
- math OFFSET += ZSIZE
$ s& s" J% @* x9 X% | - comtype zlib
4 E1 \8 \3 @& f) i! s: ~4 W - get DUMMY byte MEMORY_FILE
, y# N8 \' |1 D - get FILES short MEMORY_FILE3 j( c2 K3 j2 k. h8 K- @. q
- for i = 0 < FILES
" I0 i/ H5 Q- q" m6 A: L7 T - get NAMESZ byte MEMORY_FILE6 }7 X+ \/ _* q s5 x9 R
- getdstring NAME NAMESZ MEMORY_FILE
, J1 h& n: ] u - get ZSIZE long MEMORY_FILE8 M: G% x0 Q0 a$ e
- get SIZE long MEMORY_FILE* y1 b7 p+ a+ l! l h5 K7 K
- clog NAME OFFSET ZSIZE SIZE% p8 g; L; J8 d
- math OFFSET += ZSIZE
+ E' h9 M, n" ^. I - next i
% Q6 l5 l. E2 I" [5 W- Z
复制代码 |