贴出来,楼主的似乎少了循环# J% `8 M# y% D: z* i
楼上的似乎也是资深人士啊。( ~+ p2 s6 v7 T' t
# [( ^4 V& [6 T9 I
# PlayFirst files with PFP extension
- _& w/ @6 H( x g; O9 {$ Z( G" m% Z# script for QuickBMS http://aluigi.org/papers.htm#quickbms% y6 @ F+ q1 p% D7 o Q
/ S4 y7 O1 k; p3 R# l( `; Z
idstring PFPK
5 S6 B; q+ G& r- Pget FILES long0 T" s0 y* S" y+ h3 E! Y v
for i = 0 < FILES
" c$ A. P+ x* T, K get NAMESZ byte8 ~7 o1 Z3 m3 M1 L
getdstring NAME NAMESZ9 `, X# X- ?, [2 ?4 U1 q
get OFFSET long
3 w ^9 D: {$ m: y1 {$ ~; G2 L* I6 r- t7 C get SIZE long
. d2 {0 s9 U( h6 a/ W7 n+ r& m& C; R0 s" X. ]6 {
log NAME OFFSET SIZE9 c' E2 K0 j, y: Q: v( I# L$ ?- p& l, \
next i |