冒险解谜游戏中文网 ChinaAVG

标题: 格蕾丝的任务之捉拿艺术大盗解包工具 [打印本页]

作者: shane007    时间: 2010-10-24 16:33
标题: 格蕾丝的任务之捉拿艺术大盗解包工具
游戏名 ( k5 N4 s: Y- v9 f2 s' ]5 V
Grace's Quest: To Catch An Art Thief
0 B- T* w+ D, x: ]放上这个老外放出的工具,供以后汉化备用
! k5 p8 E3 i4 \% Z8 k这个游戏是http://www.alawar.com出品的,也许还能解开其他游戏的包,大家可以试试看。
5 y$ x" o1 L) P) B8 M; q8 I( V" G( y, o. b" f" r, v! B
文件结构
  1.    -> ID : B_String; // '$PAK$'
  2.    -> DataStartPos : DWORD; // points to the start of the file data
  3.    -> Comment: B_String; // 'Package Builder v1.0 Coded by Rui Barbosa.'
  4.    -> NrOfDirs : DWORD;
  5.        for each Dir:
  6.          Dir_Name : B_String  // example: 'Graphics\GUI\Briefing\'
  7.          NrOfFilesInDir : DWORD;
  8.             for each file:
  9.               File_Name : B_String // example: 'HH_MenuButtonOff_01.pec'
  10.               File_Size : DWORD;
  11.               File_StartPos : DWORD;
  12.               Unk0 : DWORD; // (0)
  13.               Unk1 : DWORD; // (1)
  14.    -> file data: all files are encoded. .JEC files are encoded JPG files, PEC files are encoded PNG files.
  15.   note #1: B_String means this structure:
  16.                 -> Length : Byte
  17.                 -> Chars : Array[0..Length-1] Of Chars
  18.   note #2:
  19.    This is the password of the file decoding:
  20.    Const PW : Array[0..47] Of Byte =
  21.             ($CE,$ED,$66,$66, $CC,$0D,$00,$0B,  $03,$73,$00,$83, $00,$0C,$00,$0D,
  22.              $00,$08,$11,$1F, $88,$89,$00,$0E,  $DC,$CC,$6E,$E6, $DD,$DD,$D9,$99,
  23.              $BB,$BB,$67,$63, $6E,$0E,$EC,$CC,  $DD,$DC,$99,$9F, $BB,$B9,$33,$3E);
  24.   The decoding process:
  25.    For I := 0 To Length(Buffer)-1 Do
  26.      Buffer[I] :=  Buffer[I] - PW[I mod PW_Length];
复制代码





欢迎光临 冒险解谜游戏中文网 ChinaAVG (https://chinaavg.com/) Powered by Discuz! X3.2