2012年2月22日水曜日

Xotic

日本語化可能。だが必要性は少ないと思われ
text: Media/PC/dialogs binary
font: Media/PC/Fonts tgaとabc

text: litte endian

int version //3
int num
struct keys[num]
  short len
  char str[len]  // ascii
  int index

int num
struct msgs[num]
  short len
  wchar str[len]; //utf-16
  char unk[8]; // ff 00 ff ff 00 00 00 00
  int hasdata; // 0 or 1
  if (hasdata) {
     int n; // 1 or 2
     char data[n*8];
  }

example:
0: ff 00 ff ff 00 00 00 00 00 00 00 00
1: ff 00 ff ff 00 00 00 00 01 00 00 00 01 00 00 00 00 00 1b 00 ff 00 ff ff 
2: ff 00 ff ff 00 00 00 00 01 00 00 00 02 00 00 00 00 00 10 00 ff 00 ff ff 00 00 1b 00 ff 00 ff ff

font: big endian

int version; //5
float unk[4];
short maxchar;
short charidx[maxchar+1]; //index of fontinfo if used

short dmy // 0
short num
struct fontinfo[num]
 short x1,y1,x2,y2
 short unk; //maybe minus
 short width
 short xskip
 short unused //0

0 件のコメント:

コメントを投稿