CourseDebugSlot.ini

From MK7
Revision as of 12:18, 22 April 2019 by PabloMK7 (talk | contribs) (Created page with "'''''CourseDebugSlot.ini''''' is a file in the CTGP-7 modpack located in the '''CTGP-7/MyStuff''' folder that allows developers to define a debug course slot using...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CourseDebugSlot.ini is a file in the CTGP-7 modpack located in the CTGP-7/MyStuff folder that allows developers to define a debug course slot using the CTGP-7 framework. This debug course slot will replace Toad Circuit slot in the mushroom cup. If a debug course slot is defined, online features will be disabled.

Since this feature is only meant for developers, there are some limitations. The music will still be taken from Toad Circuit slot so if you want to test your custom music, please define an entry for Toad Circuit in the MusicSlotsUser.ini file. Another limitation is that the custom track file will still be searched in the CTGP-7/gamefs/Course folder.

As any other .ini file, the data in CourseDebugSlot.ini is stored in plain text and can be edited with any text editor. However, it is recommended to use an editor that supports different encodings and supports linux line breaks (recommended editor: Notepad++). This particular file must be encoded with UTF-8 without BOM and UNIX (LF) line breaks.

For each line, everything after the # symbol will be ignored (useful for comments).

File Format

The debug course slot has the following format (only one entry can be defined at the same time):

courseName :: enviromentCourseName :: numberOfLaps

Name Meaning
courseName Name of the course slot (name of the szs without the extension).
Example: Gctr_RainbowRoad
enviromentCourseName Name of the enviroment course slot (name of the szs without the extension). All the course slot specific settings such as sound effects, particle effects, etc will be taken from this slot. This can be either an existing custom track or original track.
Example: Gctr_MarioCircuit
numberOfLaps Number of laps, can only be 1 (sections) or 3 (laps).