Aller au contenu

Photo

TLK file format


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Driveninhifi

Driveninhifi
  • Members
  • 463 messages
Hey all,

I did a little looking through the TLK file and think I have a decent idea of the format. This is maybe 5-10 minutes of looking at the hex dump and comparing it with the toolset's view, so it may be incorrect or unfinished.
Keep in mind that all numbers are in little-endian format if you are looking at the raw file.

Header

String ID section

String data section

Header
[*]104 bytes[*]20 byte string describing the file (GFF V4.0PC TLK V0.2)[*]80 bytes of other info I haven't figured out yet. May include info about the table, offsets
[*]4 bytes - number of entries in the table

String ID section

Tightly packed

[*]4 bytes - unsigned 32 bit integer - TALK_STRING_ID
[*]4 bytes -unsigned 32 bit integer - offset to string (appears to be an offset from 0x60)

String Data

[*]4 bytes - unsigned 32 bit integer - number of characters in string[*]String in 16bit wide characters (unicode?)

Any thoughts?

Modifié par Driveninhifi, 06 décembre 2009 - 12:45 .


#2
ladydesire

ladydesire
  • Members
  • 1 928 messages
http://social.biowar...t/index.php/GFF