- # The Agency of Anomalies: Mystic Hospital Collector's Edition
) S$ H7 J, D9 ]% l* l" Z7 Y - # script for QuickBMS http://aluigi.org/papers.htm#quickbms
2 ~5 P! A# o7 Z5 x: C2 _ - ' c/ n J" r2 z8 u
- get DUMMY short& e$ ^7 D& r: V1 i# `! d9 R
- get ZSIZE short# ]$ i4 ?6 C2 z
- comtype unzip_dynamic! P. v# R8 m: e' m
- savepos OFFSET: C( m3 i$ t4 @5 A L
- clog MEMORY_FILE OFFSET ZSIZE ZSIZE
5 n% i! f. b) M, `1 t8 Y - math OFFSET += ZSIZE8 J5 o# I3 c. B$ I' ]
- comtype zlib
6 {/ q+ K3 c1 u5 P, ^3 ?9 { - get DUMMY byte MEMORY_FILE
# t8 r& ` `7 b c0 {) T - get FILES short MEMORY_FILE
; V4 ?. N& o3 Z4 l' i - for i = 0 < FILES
" O7 X' {' v3 w+ j - get NAMESZ byte MEMORY_FILE
' u! H* k1 s2 A5 [# o9 Q - getdstring NAME NAMESZ MEMORY_FILE' ~7 \; O5 I! Y' U g% [3 [; ^
- get ZSIZE long MEMORY_FILE
2 B6 n& s1 s- p0 Z+ B9 h' L - get SIZE long MEMORY_FILE
2 U) b* j8 ~$ Z2 U8 X4 X6 A - clog NAME OFFSET ZSIZE SIZE1 c2 U6 }- C& C; |5 j1 v4 h
- math OFFSET += ZSIZE' n0 H p; u+ l! u) J' {1 [
- next i! d Y, Z. i2 U! j/ Q
复制代码 |