Install & setup problems, application questions and other nasty things ;)

Moderators: Frustikus, simX, Aus-RED-5

User avatar
Posts: 11
Joined: Fri Feb 01, 2008 7:28 pm


Postby Gatling » Sat Feb 09, 2008 2:09 pm

I guess that something went wrong when I installed the game, cause there are only a few music files with the game now.. What file contains the original music of the game and when I have custom files should I make a folder with the name "music" and put them in there? ALready read through the stickies and stuff, didn't find something about it though.. Did a search on the internet :google: and found a page called planetdescent which contains a few midi music files, though I'm sure that there must be more of them..

User avatar
Forum Moderator
Posts: 1490
Joined: Tue Sep 25, 2007 9:02 am
Location: Adelaide, South Australia

Postby Aus-RED-5 » Sat Feb 09, 2008 3:24 pm Page wrote:User Music Support

D2X-XL now can play user supplied music in the menus and levels of the game. MP3 and OGG/Vorbis music formats are supported.

* To supply a menu song, specify the full path to it in d2x.ini with the '-introsong' switch. I had to iron out a few bugs in the SMPeg MP3 decoder, but it looks like it is working smoothly now.
* To supply level songs, specify a playlist in d2x.ini with the '-playlist' switch.
* Make sure to set '-sdl_mixer 1' in and remove '-nocdrom' from d2x.ini

A playlist is a plain text file specifying a music file per line. Lines not ending with '.mp3' or '.ogg' are simply ignored. The filenames can be given with or without a folder. If the folder is omitted, D2X-XL assumes that the file resides in the same folder as the playlist. When playing a mission, D2X-XL will play one song from the playlist for each level, repeating the song if necessary, and will cycle through the songs from the playlist, starting over with the first if it has reached the end of the list.

A few hints regarding MP3 playback:

* D2X-XL only supports MP3 music sampled with 32000 Hz.
* If using MP3 music, D2X-XL has to resample all in-game sounds to 32000 Hz. Currently this leads to some quality degradation in the form of a small crack sound at the start and end of each sound. I don't yet have a solution for this.
----System Specs----
Case: Corsair Obsidian 650D Black
Motherboard: ASUS Sabertooth X58
CPU: Intel Core i7 960 3.20ghz
Heat Sink: Corsair H100 CPU Water Cooler
Memory: Corsair 6GB (3 x 2048mb) DDR3 1600 Dominator (PC12800 - TR3X6G1600C8D)
Video Card: ATi SAPPHIRE Radeon HD 7970 3GB GDDR5 OC Edition
Hard Drives: SSD Corsair Force Series 3 F120 120GB & WD5003ABYX Enterprise RE4 500GB
Media Player: LG BH10LS30 BluRay Burner
Power Supply: Corsair HX-850
OS: Windows 7 Pro 64Bit
Monitor: Benq XL2420T LED

Return to “D2X-XL Help”

Who is online

Users browsing this forum: No registered users and 2 guests