nmdpkvs wrote:
Hi!I am editing a game called Ghost of a Tale I just use UnityFont to get the correct character set, all types have tried not work, the same twist a game Steamburg does not work, I hope you can help me(I am from China, English is not good, please do not mind)
Ghost of a Tale Binary Template:
Code:
//------------------------------------------------
//--- 010 Editor v7.0 Binary Template
//
// File:
// Authors:
// Version:
// Purpose:
// Category:
// File Mask:
// ID Bytes:
// History:
//------------------------------------------------
struct {
uint unk1;
uint unk2;
uint unk3;
uint unk4;
uint unk5;
uint unk6;
uint unk7;
uint nameSize;
char Name[nameSize];
local int skip = (nameSize / 4+1)*4-nameSize;
//Printf("Skip = %d\n", skip);
if (skip != 4) { FSkip(skip); }
float unk8;
uint unk9;
uint unk10;
uint unk11;
float unk12;
uint unk13;
uint nameSize2;
char Name2[nameSize2];
local int skip2 = (nameSize2 / 4+1)*4-nameSize2;
//Printf("Skip2 = %d\n", skip2);
if (skip2 != 4) { FSkip(skip2); }
float unk14;
float unk15;
uint unk16;
float unk17;
float unk18;
float unk19;
float unk20;
float unk21;
float unk22;
float unk23;
float unk24;
float unk25;
float unk26;
float unk27;
float unk28;
float imgWidth;
float imgHeight;
float unk31;
uint unk32;
float unk33;
} Header <optimize=false>;
struct {
uint Count;
struct {
int id;
float x;
float y;
float width;
float height;
float xOffset;
float yOffset;
float xAdvance;
} GlyphInfo[Count] <optimize=false>;
} Glyphs;
typedef struct {
int ascII_Left;
int ascII_Right;
float xAdvanceOffset;
} KerningPair<optimize=false>;
struct {
uint kernCount;
KerningPair Kerning[kernCount];
} Kern;
char unk1[308];
float unk2;
float unk3;
float unk4;
float unk5;
uint unk6;
uint unk7;