Talk:LEX (File Format)

From Custom Mario Kart
Jump to navigation Jump to search

Suggestion: New section for countdown mode time limit settings

For CTs that are too long or too short, it would be helpful to have a section to specify a time limit for the countdown mode.

I have analyzed CTGP 1.03 with this script.

I found that it defines a countdown mode timer in files of 0x200 bytes each named countdownLimits150.bin and countdownLimits200.bin.

Here is the format for countdownLimitsXXX.bin.

format for countdownLimitsXXX.bin.
Offset Type Description
0x00 + 2 * courseSlot uint8 timer minutes (typically 2)
0x01 + 2 * courseSlot uint8 timer seconds (typically 30)

Therefore, I suggest a new section CTDN in the following format.

CTDN : countdown mode timer settings

Data of section »CTDN« (ID 0x4354444e)
Offset Type Description
0x00 uint8 timer minutes for non 200cc
0x01 uint8 timer seconds for non 200cc
0x02 uint8 timer minutes for 200cc
0x03 uint8 timer seconds for 200cc
0x04 End of section

Sorry for my bad English. -- Kazuki (talk) 15:03, 11 September 2023 (UTC)