- # The Agency of Anomalies: Mystic Hospital Collector's Edition
: [! m# {( d& O0 D - # script for QuickBMS http://aluigi.org/papers.htm#quickbms
u' ^$ Q: o V7 `8 @. i7 ?3 Q2 p
5 U. T* a0 O. s- get DUMMY short; A. j4 X: S4 g, @: E* F6 Y7 M9 f
- get ZSIZE short$ W2 O3 \% ^9 v) \; D! ~
- comtype unzip_dynamic( m. o" m7 k' S1 ^9 ]; ]0 [# w* T
- savepos OFFSET
8 G, D) \4 O5 C - clog MEMORY_FILE OFFSET ZSIZE ZSIZE8 p, @' ?5 ^, w* ^; g
- math OFFSET += ZSIZE5 v* X9 }" Y" x, a4 ~. j
- comtype zlib
, K, r3 ^; w! }7 ^9 ^0 | - get DUMMY byte MEMORY_FILE. Y) x$ J0 J6 Y3 F
- get FILES short MEMORY_FILE
4 h! k+ y0 S8 k3 q. w. X - for i = 0 < FILES+ u6 y- X' g' `: O9 l
- get NAMESZ byte MEMORY_FILE
; k Q; J5 u6 U) V - getdstring NAME NAMESZ MEMORY_FILE
9 ]# Q* O% u/ b3 L6 b" \1 | - get ZSIZE long MEMORY_FILE
: s9 R- i& {5 c0 v# ` - get SIZE long MEMORY_FILE
! J4 M( J- x$ J4 G2 l: R - clog NAME OFFSET ZSIZE SIZE9 z; q( M! A9 t- J% }
- math OFFSET += ZSIZE4 r6 X9 k6 g6 X7 Y4 z
- next i5 o1 V3 u7 ] E1 A: R
复制代码 |