引用第7楼abdomino于2010-03-02 08:53发表的 : 6 J; R" ?+ J, S; ^( }
pak文件还能看到文件名,这个文件里面看到的全是数字和字母。
! I$ ]. s, O% b
, k! [; i1 K$ o5 d以前没做过这类文件的分析,一时不知该从何处下手
- f8 ? C/ A0 G% d) S" k7 J- p! v6 B5 M
请shane007给些提示。
2 L4 M( W: ?1 F
# b8 w0 Q- L1 F/ C) i) J2 N你先看看下面的文件格式,那些数字是hash值,你把它当文件名看就行了。 & C6 N5 \5 a6 B) ?7 S6 V% d) B8 w7 v
按原来的顺序,一个一个写入文件,其中一个是修改过的,修改相应的文件大小就行了。
% e5 g& B$ Y+ d- [) l, @) F你看看下面的文件格式是否符合你手头的文件格式- x6 a( X! t9 @/ }0 ]0 @, ]
$ x: f, a& A! c' W q3 R! B4 ]还有一个官方打包工具AdvUtil.exe ,你可以试试看。用法不详。 U0 e8 v: W# @6 E, f4 ?- ^
http://www.city-interactive2.home.pl/AOM/demo_AOM2_PL.zip
" b# A- A4 k# E6 L e4 b; D& q5 q. R1 h8 V) l8 {2 F9 p
原文
) j' o* ^6 K, FMaybe it is a quick and easy format? 4 Z6 ?+ i! U3 N
* a/ c; v9 @ @, D
Yes, it is.
% O5 R1 z- h- S6 w; n" l# R6 l$ R }3 r. }; u4 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. ( u/ }7 V5 ?* r
( d' ? `6 p! o, a/ ~! f7 y* ^- 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. ! o8 I4 z/ Q! G$ r
6 e. v8 t8 }' |$ r7 [The GAUP plugin for TotalCommander supports this format, too.
! _+ @1 F2 F5 ^5 F/ W9 ?. J% H0 ]% D7 W/ O1 q c9 I! Y
Short file description:
4 O: ~& e" M' _3 n6 }0 E( q# U- j$ c6 \* u
Code:
9 t" I5 C g" {. pHeader: ) t2 ^. r- W# ~/ V9 e( ?
dword "VXGB" - Marker $ G* V G9 {- f& l
dword ? - size filetable
6 d" f q2 q: L$ u I
5 Y9 Z6 v7 |: U9 WFiletable-entry: $ v) F+ y* S5 m# ]& m
db ? dup(?) - file name, variable length, 0-terminated
7 B: e: x4 h8 W$ V% [4 c A' Idd ? - Length of data |