- # The Agency of Anomalies: Mystic Hospital Collector's Edition9 K4 g! p8 r) G4 W, q
- # script for QuickBMS http://aluigi.org/papers.htm#quickbms
- d) ~$ L1 u- s! U9 l - ( V' ^3 \8 w& g0 e {
- get DUMMY short6 K# E( x: E! h; ~( v! S- |& \4 J
- get ZSIZE short/ B Q# u% Q' b3 g; l4 y: x# w
- comtype unzip_dynamic" Q3 S2 m% f1 t# `: L
- savepos OFFSET
7 i N: S( z: ] - clog MEMORY_FILE OFFSET ZSIZE ZSIZE
) G, y8 {5 v6 Z - math OFFSET += ZSIZE
& y% s+ t% F# H ?; ^ - comtype zlib& @: D) U4 X/ A8 \4 \$ J$ m
- get DUMMY byte MEMORY_FILE
4 p' G. h" [# z# i4 o - get FILES short MEMORY_FILE
& b @$ ?2 ~9 O$ C2 V( l - for i = 0 < FILES7 f7 ^2 q( N5 c. T; f% P9 q
- get NAMESZ byte MEMORY_FILE( F( W) e2 [: R- y
- getdstring NAME NAMESZ MEMORY_FILE
' E; f- |5 a1 d5 V* K - get ZSIZE long MEMORY_FILE2 H$ e! U# Y& u) V9 p9 w, G! m
- get SIZE long MEMORY_FILE6 }$ c5 c6 h1 u( |4 O4 d& K
- clog NAME OFFSET ZSIZE SIZE
3 O) m0 ?+ }* b+ u - math OFFSET += ZSIZE
. j3 G$ h$ s" P - next i5 M: \2 r) V) l0 m$ K
复制代码 |