Page 1 of 1
Baldur's Gate II EE - dialog.tlk unpack/repack
Posted: Wed Oct 11, 2017 7:38 pm
by Taner038
Hi,
I want to translated this game, but I can't open this file.
I search form and find nothing
Sample:
http://www.mediafire.com/file/p4y9bouji ... dialog.tlk
Please help.
Re: Baldur's Gate II EE - dialog.tlk unpack/repack
Posted: Sat Oct 14, 2017 12:45 am
by WRS
dead simple format
Code: Select all
//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File: dialog.tlk
// Author: wrs
// Revision: 1
// Purpose: parse dialog.tlk
//--------------------------------------
byte fluff[10]; // magic "TLK V1 \0\0"
uint num;
uint offset; // absolute
struct info
{
short rev;
char ref[8];
int zero1, zero2; Assert(zero1==0); Assert(zero2==0);
int offset; // absolute
int length;
} a[num] <optimize=false>;
byte data[FileSize()-offset];
Assert(FEof());
Re: Baldur's Gate II EE - dialog.tlk unpack/repack
Posted: Sat Oct 14, 2017 8:12 pm
by Taner038
WRS wrote:dead simple format
Code: Select all
//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File: dialog.tlk
// Author: wrs
// Revision: 1
// Purpose: parse dialog.tlk
//--------------------------------------
byte fluff[10]; // magic "TLK V1 \0\0"
uint num;
uint offset; // absolute
struct info
{
short rev;
char ref[8];
int zero1, zero2; Assert(zero1==0); Assert(zero2==0);
int offset; // absolute
int length;
} a[num] <optimize=false>;
byte data[FileSize()-offset];
Assert(FEof());
Thx a lot. But how do I use 010 Editor?
Can you share extract.cmd for this?