Hi,
Part I (for any case) - Create a music wad:
1) Download and install SLADE:
http://wiki.srb2.org/wiki/SLADE.
2) Create a new wad archive: click on the "A" icon in the toolbar.
3) Import the sound files: click on the double-green arrow icon. SLADE will create an entry for each imported file.
4) Rename the entries to O_MAPxxM. xx is the map number. For map numbers greater than 99, use
Extended Map Numbers. Special stages are 50 through 57.
5) Save it as wad file, preferably no spaces in the file name.
More info:
http://wiki.srb2.org/wiki/Sound_and_Music_Tutorial
Part II (only for special stages) - The trick: overriding the MAINCFG
1) Create a text file
2) Add this:
Level 50
MusicSlot = 50
TypeOfLevel = 4097
SkyNum = 50
NoPerfectBonus = 1
Level 51
MusicSlot = 51
TypeOfLevel = 4097
SkyNum = 51
NoPerfectBonus = 1
Level 52
MusicSlot = 52
TypeOfLevel = 4097
SkyNum = 52
NoPerfectBonus = 1
Level 53
MusicSlot = 53
TypeOfLevel = 4097
SkyNum = 53
NoPerfectBonus = 1
Level 54
MusicSlot = 54
TypeOfLevel = 4097
SkyNum = 54
NoPerfectBonus = 1
Level 55
MusicSlot = 55
TypeOfLevel = 4097
SkyNum = 55
NoPerfectBonus = 1
Level 56
MusicSlot = 56
TypeOfLevel = 4097
SkyNum = 56
NoPerfectBonus = 1
Level 57
MusicSlot = 57
TypeOfLevel = 4097
Skynum = 57
NoPerfectBonus = 1
MusicSlot = xx tells SRB2 which music to play
3)Save it as MAINCFG.txt
4) Open up your music wad in SLADE, import the text file into your music wad.
5) Make sure that SLADE created a MAINCFG entry.
6) Save it.
6) Start up SRB2 and load your music wad by
addfile command.
More info:
http://wiki.srb2.org/wiki/Level_Header
I'm using the a
SLADE devbuild. If you use the latest stable, these instructions
may be slightly different.
Please, reply with the result.