引用第7楼abdomino于2010-03-02 08:53发表的 : . \! C- X. ]* ~0 m+ T0 p1 j) X: o B
pak文件还能看到文件名,这个文件里面看到的全是数字和字母。
) {. r: X6 X4 N5 T8 M% G4 m+ A
0 ]$ u, F" S* c( \% e以前没做过这类文件的分析,一时不知该从何处下手 ; U W$ y% ?( O$ _5 W' _1 u; p4 ~
( f! o3 O3 S( e4 B! r6 @请shane007给些提示。
j$ n h6 h! |' g9 ^! A3 Y" O: W, } W: T* M9 ~! b
你先看看下面的文件格式,那些数字是hash值,你把它当文件名看就行了。
9 m$ Q6 K4 X4 n1 ^7 U8 E按原来的顺序,一个一个写入文件,其中一个是修改过的,修改相应的文件大小就行了。3 U8 y9 Z; s+ X2 D! P* O+ c* f h
你看看下面的文件格式是否符合你手头的文件格式
2 B6 H3 [( a- R8 ` y, E2 m! d( V& A+ S8 ~# h
还有一个官方打包工具AdvUtil.exe ,你可以试试看。用法不详。
0 o1 ]1 U& F- Z% N1 rhttp://www.city-interactive2.home.pl/AOM/demo_AOM2_PL.zip
4 x' [9 H4 b% @
% n# [! L! P; ^" G* C0 D) @原文 2 j* a7 k) G# }5 s: @0 P$ F7 X
Maybe it is a quick and easy format? 7 `$ `1 Q. A+ x1 ?- X5 J' F+ ^- s* e) q
. o# j" T' w; n/ l# L6 z
Yes, it is. / @' \- ]+ V$ ^9 L y
1 ^9 H8 O9 L; j8 d5 Y- 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.
0 ~: R0 g2 Q* A0 h3 J/ N6 {
7 `, f6 V5 Z9 g- 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. + y6 I8 W. Y* Y( [9 O
/ `% @6 m. h7 h8 ^+ D1 E% @: E
The GAUP plugin for TotalCommander supports this format, too. $ W2 p( V' s" g+ r/ ~* @
m0 u: @5 M# \$ H5 [9 wShort file description:
! |2 O8 d, S0 o1 j/ A: K( O/ V( Z! x+ d1 e/ w* D
Code:
P; F8 P3 |) K# h; r' a, iHeader:
4 v+ J. w+ [7 X; X. b4 R$ w' [# Udword "VXGB" - Marker ! r7 L9 x7 j& g4 K/ ^, n S: t
dword ? - size filetable
0 n5 c. ]+ V, f) J! |8 Z: W$ P+ S' q7 K! d H; {9 j" i
Filetable-entry: 0 W( R# u, |# _& G9 y9 A4 R
db ? dup(?) - file name, variable length, 0-terminated
8 A, }- f5 B' H3 w# l) J3 `dd ? - Length of data |