MusicSlotsUser.ini: Difference between revisions

From MK7
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 18: Line 18:
| musicName || Name of the music file. This name should not have ''STRM_C'' nor the normal/fast part nor the extension.<br><br>Wrong: ''STRM_CN_RAINBOW_ROAD_N.bcstm''<br>Good: ''N_RAINBOW_ROAD''
| musicName || Name of the music file. This name should not have ''STRM_C'' nor the normal/fast part nor the extension.<br><br>Wrong: ''STRM_CN_RAINBOW_ROAD_N.bcstm''<br>Good: ''N_RAINBOW_ROAD''
|-
|-
| musicMode || Defines how multichannel files play:<br><br>- ''SINGLE'': 2 channels (1 stereo track).<br>- ''MULTI_WATER'': 4 channels (2 stereo track). The second stereo track will play underwater.<br>- ''MULTI_AREA'': 2 channels (one stereo track). The second stereo track will play inside certain areas.
| musicMode || Defines how multichannel files play:<br><br>- ''SINGLE'': 2 channels (1 stereo track).<br>- ''MULTI_WATER'': 4 channels (2 stereo track). The second stereo track will play underwater.<br>- ''MULTI_AREA'': 4 channels (2 stereo track). The second stereo track will play inside certain areas.
|-
|-
| normalBeatBPM<br>fastBeatBPM || Normal/Fast frontrunning beats BPM. Set to 0 to disable.
| normalBeatBPM<br>fastBeatBPM || Normal/Fast frontrunning beats BPM. Set to 0 to disable.

Revision as of 09:43, 5 June 2019

MusicSlotsUser.ini is a file in the CTGP-7 modpack located in the CTGP-7/MyStuff folder that allows configuring custom music settings for the different course slots (including original tracks). This file has the same format as MusicSlots.ini but that one should not be edited as it is used internally by the mod. The music files defined in this file will be searched in the CTGP-7/MyStuff/stream folder.

As any other .ini file, the data in MusicSlotsUser.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

Each line in the file represents a single custom music slot entry. It has the following format:

courseName :: musicName :: musicMode :: normalBeatBPM :: normalBeatOffset :: fastBeatBPM :: fastBeatOffset

Name Meaning
courseName Name of the course slot (name of the szs without the extension).
Example: Gctr_RainbowRoad
musicName Name of the music file. This name should not have STRM_C nor the normal/fast part nor the extension.

Wrong: STRM_CN_RAINBOW_ROAD_N.bcstm
Good: N_RAINBOW_ROAD
musicMode Defines how multichannel files play:

- SINGLE: 2 channels (1 stereo track).
- MULTI_WATER: 4 channels (2 stereo track). The second stereo track will play underwater.
- MULTI_AREA: 4 channels (2 stereo track). The second stereo track will play inside certain areas.
normalBeatBPM
fastBeatBPM
Normal/Fast frontrunning beats BPM. Set to 0 to disable.
normalBeatOffset
fastBeatOffset
Sample number in which the normal/fast frontrunning beats should start playing.