冒险解谜游戏中文网 ChinaAVG
标题:
格蕾丝的任务之捉拿艺术大盗解包工具
[打印本页]
作者:
shane007
时间:
2010-10-24 16:33
标题:
格蕾丝的任务之捉拿艺术大盗解包工具
游戏名
; U" z1 Y1 a+ w1 ~9 S/ U
Grace's Quest: To Catch An Art Thief
- {+ k& c5 |2 a5 @1 \0 k
放上这个老外放出的工具,供以后汉化备用
0 P$ z6 U" O1 k* t# R
这个游戏是
http://www.alawar.com
出品的,也许还能解开其他游戏的包,大家可以试试看。
! \) f" y; [5 _1 j$ F4 W
" u% _3 j6 U+ u: A
文件结构
-> ID : B_String; // '$PAK$'
-> DataStartPos : DWORD; // points to the start of the file data
-> Comment: B_String; // 'Package Builder v1.0 Coded by Rui Barbosa.'
-> NrOfDirs : DWORD;
for each Dir:
Dir_Name : B_String // example: 'Graphics\GUI\Briefing\'
NrOfFilesInDir : DWORD;
for each file:
File_Name : B_String // example: 'HH_MenuButtonOff_01.pec'
File_Size : DWORD;
File_StartPos : DWORD;
Unk0 : DWORD; // (0)
Unk1 : DWORD; // (1)
-> file data: all files are encoded. .JEC files are encoded JPG files, PEC files are encoded PNG files.
note #1: B_String means this structure:
-> Length : Byte
-> Chars : Array[0..Length-1] Of Chars
note #2:
This is the password of the file decoding:
Const PW : Array[0..47] Of Byte =
($CE,$ED,$66,$66, $CC,$0D,$00,$0B, $03,$73,$00,$83, $00,$0C,$00,$0D,
$00,$08,$11,$1F, $88,$89,$00,$0E, $DC,$CC,$6E,$E6, $DD,$DD,$D9,$99,
$BB,$BB,$67,$63, $6E,$0E,$EC,$CC, $DD,$DC,$99,$9F, $BB,$B9,$33,$3E);
The decoding process:
For I := 0 To Length(Buffer)-1 Do
Buffer[I] := Buffer[I] - PW[I mod PW_Length];
复制代码
欢迎光临 冒险解谜游戏中文网 ChinaAVG (https://chinaavg.com/)
Powered by Discuz! X3.2