2012年7月31日火曜日

Call of Cthulhu: Dark Corners of the Earth




かな化MOD

archive: Resources\Xbox\*.xbd
Font:
- coord: Fonts/*.abc
- texture: Fontsフォルダのtga/bmpはダミーで、実際はcommon.pc.xbd内にある
Text: Resources\Xbox\*.xbdのCGNLまたはLGNLチャンクにある


* xbd type 1 (text etc)


char magic[4] // KNHC
int ver // 1
int numchunk

chunk:
  char tag[4]: // CSER, CYND, RDHS SMRA CHNL etc
  int  size;
  char data[size]


CGNL chunk message formt

int   ver // 2
short num_lang //3

langdata ver 2:

int  len
char name[len]; // ENGLISH, GERMAN, FRENCH
int num

struct msg[num]
 int ofs  ;// offset in msgs
 short unk1
 short unk2

int size
char msgs[size]  // each msg is zero terminated

short num2;  // English:1342, German and French:0
struct unknown[num2]
  char unk[8];


*xbd type2 (Texture etc)

short id; //0,1..
char magic[4]; //DXT5
short w
short h
int size
char data[size]


*font
int ver //5
float fontsize1 // 43
float unk //1
float unk2 //2
float fontsize2; //40
int num1
short idxs[num1]
int num2
struct fontinfo[num2]
  float u0
  float v0
  float u1
  float v1
  short xofs // -2..3
  short w
  short xadvance
  short unused; // 0xcdcd
  int   xofs
  int   w
  int xskip (xadvance - w)
  int   x // u0*tex_w
  int   y // v0*tex_h
  int   w // (u1-u0)*tex_w
  int   h // (u1-u0)*tex_w

2012年7月24日火曜日

Sniper Elite V2

文字が足りなければフォント作ればいいじゃない




フォントはAvPのもの。ゲーム内では(輪郭がなくて)読みにくいので作ったほうがよさげ


オリジナルフォント(足りない文字が?に化けてる)



Sniper Elite





日本語化MOD

2012年7月22日日曜日

Evochron Mercenary (DEMO)

font: windows ttf
text: plain text

少なくともかな化はできそう

questtest.dat は暗号化されてる(ネタバレ防止?)
公式フォーラムによると、訳すから生データくれと公式にいえばくれる模様

追記:正式版も同じ

2012年7月21日土曜日

Loki




日本語化MOD

Text: encrypted Excel xml (data/Local/*.xmd) Loki .XMD Decryptor / Encryptor リンク切れなのでミラー
Font: NFF (data/DefaultFont.nff, data/Fonts/*.nff)
char magic[4] "NFF\0"
int version // 1
int font_w
int font_h
int unk; // // 01 10 00 00(DefaultFont) or 00 10 00 00
int num
wchar chars[num];
int tex_w
int tex_h
float unk // 1.0

struct fontpos[num]
  float u0,v0,u1,v1

int unused[4]; //0
int tex_w
int tex_h
int bits; // 32

char texdata[tex_w * tex_h * 4 ];

2012年7月15日日曜日

Oil Rush





日本語化MOD

archive: Unigine ung files extractor 
font: ttf
 core/gui/*.ttf
 oilrush/fonts/*.ttf
msg: plain text (utf-8)
 core/locale/unigine.en
 oilrush/config/l10n/*.xml
subtitle:
 data/oilrush/video/subtitles/*.srt

アーカイブをdataの下に展開するとファイルを直接認識する。
oilrush/fonts/main_font.ttfに好きなフォントを置き、oilrush/config/l10n/dictionary.xmlを訳す。

2012年7月8日日曜日

近況

してしばらく間あいたけどカンを取り戻すためのリハビリ中

KindomsとかWolfenとか忘れたわけじゃないよ
データ飛ばしたのでもっかいやる


2012年7月5日木曜日

SuperPower 2


Unicode対応。特に小細工必要無し。

追記:日本語化

参考訳

font: \MODS\SP2\data\dialogs.gml(xml) <FontName> (original:Lucida Sans Unicode) <FontSize>
txt: \MODS\SP2\data\stringtable.english.gst

int num
struct msgs[num]
 int id
 int ofs
 int len
wchar msgs[...] //UTF-16