Jump to content
Sign in to follow this  
Bardez

*.TOT Unknown

Recommended Posts

The unknown at offset 0x0208 in TOT entries is an offset to the next entry, in case the string was larger than 512 bytes. In the case of IWD2 sorcerer biography:

 

"Magic flows in your veins, always ready to be shaped by your will into some new arcane feat. But while you have learned to harness your inner strength over the past many years, now your spirit craves a challenge of a different sort - adventure. Discouraged by the prospects for excitement within the town of Luskan, a posting for adventurers in Targos caught your eye in the marketplace - and with it, a strange feeling of destiny. This feeling drew you to book passage on the Wicked Wench, across the lake Ma"

 

offset 0x0208, in my case (default.tot.zip), is 524, the second entry:

"er Dualdon to the besieged town of Targos, where you plan to stand with the town's defenders and carve a name on the field of battle."

 

Text displayed in-game is:

Magic flows in your veins, always ready to be shaped by your will into some new arcane feat. But while you have learned to harness your inner strength over the past many years, now your spirit craves a challenge of a different sort - adventure. Discouraged by the prospects for excitement within the town of Luskan, a posting for adventurers in Targos caught your eye in the marketplace - and with it, a strange feeling of destiny. This feeling drew you to book passage on the Wicked Wench, across the lake Maer Dualdon to the besieged town of Targos, where you plan to stand with the town's defenders and carve a name on the field of battle."

 

I am looking into the first two fields also.

Share this post


Link to post

Offset 0x0004 is a back-link offset. In the case of larger strings, longer than 512, this offset it back references to the previous string block. It does not reference the first string block, which can be proven with blocks larger than 1572 characters. Usually, with strings < 512 in length, it is -1.

Edited by Bardez

Share this post


Link to post

and offset 0 contains the offset to the next free region.

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...