Jump to content
Sign in to follow this  
argent77

[BGEE] New TOH format variant

Recommended Posts

Talk override files are used for storing user-specific text (e.g. journal entries, map markers) and can be usually found only in SAV files. BG2EE uses a slightly different variant of the TOH file format. It combines both TOH and TOT files that are present in SAV files of old IE games into a single TOH file.

 

Main header:

Offset    Size    Description
0x0000    4       Signature ('TLK ')
0x0004    4       unknown (always 0x02)
0x0008    4       unknown
0x000C    4       Number of strref entries
0x0010    4       Start offset of strref entries

 

Strref entry:

Offset    Size    Description
0x0000    4       The STRREF to override or new unique STRREF (if >= 3,000,000)
0x0004    4       Start offset of the override string (relative to the start of the Strref entries section!)

 

Override string:

A simple null-terminated string of arbitrary size.

Edited by argent77

Share this post


Link to post
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...