- # The Agency of Anomalies: Mystic Hospital Collector's Edition9 v: L* f2 T! P- W' X% ^0 T
- # script for QuickBMS http://aluigi.org/papers.htm#quickbms
4 ~# |6 y5 C. w: l - % v3 k+ H: ^2 o, ?1 L* o
- get DUMMY short
& z; u* U) U3 C4 r5 F) j& A - get ZSIZE short8 ?7 Y4 w3 m7 l4 c; g
- comtype unzip_dynamic" G7 ^) q! x$ S0 x8 J; `' D
- savepos OFFSET
. d/ Y* L, ]$ c' h2 s& S - clog MEMORY_FILE OFFSET ZSIZE ZSIZE
: J- S' P- e. _0 _- J - math OFFSET += ZSIZE
7 {1 E, [3 J: N3 L - comtype zlib9 h) d+ a8 h- C7 b/ G
- get DUMMY byte MEMORY_FILE6 ^1 E! R- ]# ~
- get FILES short MEMORY_FILE
6 G" {5 L3 W# K8 P/ T2 K* q4 U - for i = 0 < FILES C) e, h2 y' R# l1 o! S! P0 s9 p
- get NAMESZ byte MEMORY_FILE; T5 ^: T# W7 G0 h& j( k
- getdstring NAME NAMESZ MEMORY_FILE& _. y6 k8 m1 n) f6 T7 a7 U2 c
- get ZSIZE long MEMORY_FILE
; U# D( `3 Z/ w' \# W - get SIZE long MEMORY_FILE
5 f: r" R% J9 P; }; k) W, x - clog NAME OFFSET ZSIZE SIZE
4 O8 ~: o9 E. ]" h( x6 k5 l0 } - math OFFSET += ZSIZE F2 A$ Y. {/ w
- next i. H& G) B g, T* r) P" _9 ^5 j
复制代码 |