引用第7楼abdomino于2010-03-02 08:53发表的 :
- n+ r6 M' U! Q+ I9 ]pak文件还能看到文件名,这个文件里面看到的全是数字和字母。 + \: X7 ~' T6 o5 R: ^8 Z: @7 Z6 l
1 ]& j. L9 i( y1 j& d l以前没做过这类文件的分析,一时不知该从何处下手
& A H6 ]( i$ v; n% k9 T
) c+ q$ P4 Q+ v6 U: H3 E# _请shane007给些提示。
- l& ]5 @' g8 R
; V- D! N7 {" M/ [6 H: v你先看看下面的文件格式,那些数字是hash值,你把它当文件名看就行了。
% w, h; d+ x4 {, n B按原来的顺序,一个一个写入文件,其中一个是修改过的,修改相应的文件大小就行了。
* B* ~6 X, o; J- D! P你看看下面的文件格式是否符合你手头的文件格式
" _) g/ m! \1 H1 V. H8 y) N
, s* j) f i$ X" E8 |还有一个官方打包工具AdvUtil.exe ,你可以试试看。用法不详。
* E- ?- ]" X8 [. }& O. |http://www.city-interactive2.home.pl/AOM/demo_AOM2_PL.zip
! z: i2 Q8 j7 |5 V- i
% r# A: R' p# {原文
# ]1 Q8 F2 L! c! [* B0 HMaybe it is a quick and easy format?
5 C; J4 X l. f* X. w. P" W: u2 h' f' ]
Yes, it is. 3 \; V0 x, w# o. d5 E
0 s s6 L7 k! ^
- The programmers decided not to include original full file names, but created checksums or hash values for each file and stored them instead. Therefore the original file- and path- names are lost.
$ _! l% {- P1 b; ^' {; X/ J; \8 Y! s9 c8 [1 i z* _
- Inside the VBF are some NMO/CMO-files (Marker: "Nemo Fi").They contain ZLIB-compressed and other data, stored in chunks. I don't know what to do with these files so I leave them untouched. Maybe a game editor handles them.
3 v% J8 j7 w/ d$ V# r
. T+ f3 ^1 A7 E H& G0 KThe GAUP plugin for TotalCommander supports this format, too. 6 g0 P7 H( a' E5 w9 M2 b" ~) ~
Z% c6 z P2 g* s+ w( u7 N8 q5 R
Short file description:
! Q( F% f- z% j3 K6 N) U" Z2 I$ t7 S5 B, ?' P
Code: * s. r+ h4 C" `6 d$ z( D5 k
Header: . V+ H; r( g. p4 e$ I
dword "VXGB" - Marker
3 s: D- X8 p1 G- gdword ? - size filetable h- v8 D2 L, m+ Q( e6 b
g0 a4 @/ x( pFiletable-entry:
+ x( j% ~) m/ ^9 r% ~; |+ Zdb ? dup(?) - file name, variable length, 0-terminated
0 \2 Z2 g4 b! f* p; `9 edd ? - Length of data |