贴出来,楼主的似乎少了循环5 O' D9 G7 M2 L* e i& a) k
楼上的似乎也是资深人士啊。5 H- i4 h1 s4 z1 ^+ N: T9 C: ~
/ U" S( n1 k v1 p6 ?* x$ v, o: u
# PlayFirst files with PFP extension
2 ?# Q+ l- i) ?; s, R" D2 l8 }# script for QuickBMS http://aluigi.org/papers.htm#quickbms) a( u0 j7 ~8 j3 d9 {% b- ^
?5 H) ~1 s( G9 s r$ P
idstring PFPK
8 P" n- U' h/ E& x0 N* O: Oget FILES long
, @ [; N& _. f. X( j& qfor i = 0 < FILES: x7 }% I" ]5 `; f. R
get NAMESZ byte
1 ^& w2 T) C9 t- [* P getdstring NAME NAMESZ' @ g! p( F6 R4 y& l/ K
get OFFSET long2 N& o2 [% m. `& _8 m0 Q
get SIZE long
8 I5 |* j: f: I$ D, l B
9 ]/ i; M2 M& R: V# p$ \ log NAME OFFSET SIZE# \1 F8 {. F$ [. V( f! y( M
next i |