// // Binary Circuits Script (Circuits.bin) // uint32_t Count; // Shouldn’t exceed 96 (to avoid buffer overflows in POD2-GS2) for (Count) { //NOTE: The structure buffers are encoded with ^ 0x50 struct Circuit { uint8_t TrackName[20]; // File’s base name (required for GS2 patch) uint8_t MenuName[64]; // Like above (CD-Patcher, case insensitive) uint8_t ImageFile1[13]; uint8_t ImageFile2[13]; uint8_t ImageFile3[14]; // POD1: uint8_t[2] (alignment) uint8_t TrackFlags; // 0x01 (active), 0x02 (mirror) uint8_t TrackVersion; // POD1: not used (0x00) uint8_t TrackUniqueId; // POD1: not used (0x00) uint8_t Reserved1; // (not used, alignment) uint32_t TrackLength; // In meters uint8_t LapsPerRace; uint8_t TrackLevel; // <= 0x04 uint16_t Reserved2; // (not used, alignment) uint32_t Reserved3; // (written at run-time) } }