- # The Agency of Anomalies: Mystic Hospital Collector's Edition/ q: P9 l) Q' o1 }% F! G; O- [$ Y4 Q
- # script for QuickBMS http://aluigi.org/papers.htm#quickbms* S ?5 X9 }3 |9 N7 r3 v- {
- 4 \% r# @9 j9 r! p: k
- get DUMMY short' {1 {$ r5 L% h9 F3 v7 O
- get ZSIZE short
0 A4 Q n* ]9 Q7 I% |1 A, O9 y - comtype unzip_dynamic' ~( {3 W6 H( E: ]' h$ ?! d
- savepos OFFSET
* `6 {+ \+ \, d9 @ - clog MEMORY_FILE OFFSET ZSIZE ZSIZE' x! j1 B$ ^! d. s% [/ H$ C& [* a
- math OFFSET += ZSIZE
4 G4 Q4 M/ i M - comtype zlib
1 V7 v: D/ S4 e+ P0 N/ [# r6 f - get DUMMY byte MEMORY_FILE
+ _( r# g& p9 i' U+ B2 {' z - get FILES short MEMORY_FILE. M4 Z% v! x- x# X6 W+ y
- for i = 0 < FILES
7 d: u& q# u1 E& z: g - get NAMESZ byte MEMORY_FILE
0 T0 M9 \9 A8 Y6 p5 l) z; G& a( a - getdstring NAME NAMESZ MEMORY_FILE
R7 P' A6 l! Q& ^3 S! b - get ZSIZE long MEMORY_FILE
% K8 e E* v' m% ?3 S' C - get SIZE long MEMORY_FILE7 y6 s- d' {/ V+ g+ D6 p, Q8 Z
- clog NAME OFFSET ZSIZE SIZE7 @( v, a# r. W' S% E" j
- math OFFSET += ZSIZE* a( P; N7 i7 d! m- C6 }
- next i1 T) Q! ^/ D; E7 T8 O4 c
复制代码 |