引用第7楼abdomino于2010-03-02 08:53发表的 :
. v: F4 I) O5 k& @pak文件还能看到文件名,这个文件里面看到的全是数字和字母。
$ W1 E- _' d( {( f5 k" q* a3 u) } x- U; {! y, y1 c" Q1 X" i6 |( b
以前没做过这类文件的分析,一时不知该从何处下手 8 r/ k F+ J$ H, O
- B% T( A Q( m# K% _( A$ i9 M5 L请shane007给些提示。 4 K) B. L1 p0 C/ Q# N5 L V. N
) b/ z1 W/ ~8 l$ ?4 R' I& K你先看看下面的文件格式,那些数字是hash值,你把它当文件名看就行了。 % h8 i# F7 Y) L W/ r! V
按原来的顺序,一个一个写入文件,其中一个是修改过的,修改相应的文件大小就行了。
6 i+ z' _$ V! ^, _1 _你看看下面的文件格式是否符合你手头的文件格式
" K, b5 ]" Z" s* O/ h
( h* r* N" V" F$ e; r: p还有一个官方打包工具AdvUtil.exe ,你可以试试看。用法不详。' J+ W: X! v# W! j$ U$ n
http://www.city-interactive2.home.pl/AOM/demo_AOM2_PL.zip
! e$ g! Y3 {( O- x4 R
" `6 @0 S1 v0 ~# A' @! h原文
( K4 [8 y5 b" E$ v6 q9 FMaybe it is a quick and easy format? 2 c5 ]% {. o* C/ m9 `
0 v, `6 n' E8 h+ d: A
Yes, it is.
5 v7 l, G2 R; H. N8 [5 B% _4 S% H7 x5 [; [2 h& S
- 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.
/ f1 [0 I3 n4 s N4 Y# f* H2 P& v* q# N" w
- 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.
' v* A! l2 X6 e/ ] [* N
* ]* n* L. k) j+ wThe GAUP plugin for TotalCommander supports this format, too. * E4 ? B7 N: D2 G8 g, p5 G# H$ y
5 f, d) j- N' f, _, qShort file description: 8 h* n: |9 O. Z9 o. N
# n, w8 f% ?. W/ G. n7 f( G2 R! J+ ^Code: $ r0 w2 B6 t. X
Header:
, G' D% Q+ B( @6 @3 i& wdword "VXGB" - Marker & z( A7 V6 H# Q' T
dword ? - size filetable
, ]; E. I g: N* D1 M- Q
$ r5 f: {; h/ F/ P0 d' y/ ^Filetable-entry: 5 _: a. r4 V0 S7 T7 {; i* [
db ? dup(?) - file name, variable length, 0-terminated
6 S0 k- i9 I# K- R1 p! \) n2 H$ ldd ? - Length of data |