Here is my script for analysing the TOC in the HOTDOG20.DAT file.
It is very simple and you have to manualy edit the 2 defines below before (re-)compiling:
#define TOC_OFFSET 0x3a444
#define TOC_FILE "/tmp/kar/HOTDOG20.DAT"
(TOC_OFFSET is the offset from the beginning of the file where the script starts to read the TOC)