贴出来,楼主的似乎少了循环# t$ F$ q1 N( S* m/ |, [5 V
楼上的似乎也是资深人士啊。
) k+ x+ Z; K' m( `7 K( a$ O: I; E& y* a& h: m, G9 E
# PlayFirst files with PFP extension
+ E9 H6 I8 _% j6 n3 N/ }. _# script for QuickBMS http://aluigi.org/papers.htm#quickbms
0 A" o( f# P6 W# D% Z# I
/ ~3 {0 U) p7 V& J- F1 D* d+ g! widstring PFPK
) d9 j$ l2 F6 aget FILES long
6 ?0 Q& x& v! X c2 Wfor i = 0 < FILES+ v* f7 z: @, N9 E9 \3 M5 d8 F/ q+ c
get NAMESZ byte
- ^8 O J( D7 ]- |* n: E) ` getdstring NAME NAMESZ4 a% p! o0 c, W% N8 V0 G
get OFFSET long$ a( `3 f5 c \4 Z9 Z: j% b/ h$ q
get SIZE long% z- w* a! X$ T) j0 c) z) l. f
& ^1 d( A' w$ e( v log NAME OFFSET SIZE8 g, |, B8 z! ^* f# z4 _& F
next i |