bugUnofficial CHM Specification - Bugs: bug #31289, New information for #TOCIDX...


bug #31289: New information for #TOCIDX description

Submitted by:  Robert Pyron <rpyron>
Submitted on:  Sun 10 Oct 2010 08:30:41 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 10 Oct 2010 08:30:41 AM UTC, original submission:  


>   5.3.7. #TOCIDX
>   Table 5.10. 20/28 byte structures
>   4   DWORD   Seems to be a bit field:
>               0x2 is whether or not New is turned on,
>               0x4 is set when the entry is a book/has children and
>               0x8 is set when the entry has a Local value.
>   8   DWORD   Unknown. In some cases it is an index into the #TOPICS file
>               of the entry containing offsets to the title & filename.

Check the bitflags at offset 0x04. If this node has children (bit 0x4 is set) but has no Local value (bit 0x8 is clear), then the DWORD at offset 0x08 is an offset into the #STRINGS file. Otherwise, the DWORD at offset 0x08 is an index into the #TOPICS file.

Robert Pyron <rpyron>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rpyron (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.6