Talk:BRRES Sub Files (File Format)

From Custom Mario Kart
Jump to navigation Jump to search

What do you mean with "CTools" in the "hit count" column? Implemented?
Wiimm 21:14, 3 May 2011 (CEST)

I understand!
Wiimm 22:40, 3 May 2011 (CEST)

Statistical errors

@Wiimm For the cases which have a non 100% in the match, can you compare the section counts in the header, to see if they are same. I suspect the few that don't match will have a differnce, and we can work out the offset in terms of the section count. Chadderz 23:14, 3 May 2011 (CEST)

I have started this script 2 minutes ago
Wiimm 23:17, 3 May 2011 (CEST)

MDL, group 11, offset 0x0004

@Chadderz Can you explain that indirect string pointer? Where is the second pointer? Wiimm 21:45, 4 May 2011 (CEST)

If you look at section 11 of the MDL0 page it explains that the offset at 4 points to the material layer. Each material layer has a name offset at the beggining. Therefore if you follow the pointer to the material layer, and then follow the pointer in the material layer to the name you get a string.
Chadderz 21:58, 4 May 2011 (CEST)
Ok! If I understand you, this offset is MDL internal and needs no adjustment on string pool modifications (MDL extractions). It needs only adjustment if moving data within the MDL?
Wiimm 22:09, 4 May 2011 (CEST)
No, it does need string pool modification, because the material layer has a name offset in it. The best way of finding the material layers is by following the pointer in section 11.
Chadderz 22:50, 4 May 2011 (CEST)