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

 
 

bug #31289: New information for #TOCIDX description

Submitter:  Robert Pyron <rpyron>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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

chmspec-0.1.3-html/Internal.html#TOCIDX


>   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:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code