MusicSlotsUser.ini: Difference between revisions

From MK7
Jump to navigation Jump to search
m (PabloMK7 moved page MusicSlotsUser.config to MusicSlotsUser.ini: Changed file extension as it is more common.)
mNo edit summary
Line 1: Line 1:
'''''MusicSlotsUser.config''''' is a file in the [[CTGP-7|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.config'' 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.
'''''MusicSlotsUser.ini''''' is a file in the [[CTGP-7|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 ''.config'' file, the data in '''''MusicSlotsUser.config''''' 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: [https://notepad-plus-plus.org/download/ Notepad++]). This particular file '''must''' be encoded with ''UTF-8 without BOM'' and ''Linux (LF)'' line breaks.
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: [https://notepad-plus-plus.org/download/ 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).
For each line, everything after the '''#''' symbol will be ignored (useful for comments).

Revision as of 11:48, 12 April 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: 2 channels (one 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.