2012年8月2日木曜日

Jade Empire





日本語化

text: dialog.tlk
char magic[8] // "TLK 4.0"
int zero; // 0
int num; // 1feb5
int unk; // 20h
int ofs; // start of msg data
int unused[2]; //0 0

struct msgent[num]
 int unk; // ff ff ff ff
 int ofs; // ofs to msgdata
 short len;
char msgdata[...]

font: fonts/*.abc,sbm
abc:

struct font[0xffff]
 int ofs ; // offset in sbm
 char idx
 char l_space  //?
 char width
 char r_space // ?

sbm:
 byte block[32*32] // 4 chars in 1 block

idx
 0: bit 0-1
 1: bit 2-3
 2: bit 4-5
 3: bit 6-7

4 件のコメント:

  1. Hi. I'm Vietnamese.I also want to translate the Game Jade empire to vietnamese. I downloaded the TLK Edior from Bioware , but the font game JE not support The UTF-8 Vietnamese Font. I want to ask how can I change The Vietnamese Font to work for The Game ? Thank you

    返信削除
    返信
    1. - Download jpmod: http://l10n.clan.vc/up/src/ja0182.zip
      - make font using bmfont: http://www.angelcode.com/products/bmfont/
      Font Settings:
      size(px): 18
      Export option:
      bit depth: 8
      file format: text, Texture: tga, compression:none
      - convert fnt to jade font(sbm and abc)
      -- install php: http://php.net/
      -- put fnt,tga,fnt2abc.php on folder
      -- run: php fnt2abc.php
      -- then generate jade font

      削除
  2. Awesome !
    I'll try this right away .
    Thank you very much
    Arigatou ^^

    返信削除
  3. Hi, I found the systax error, unexpected 'the' T_STRING on line 32 in fnt2abc.php. Could you please check again ? Thank you

    返信削除