Jump to content
OpenRCT2
waymu

Custom music (beyond Custom 1 & 2)

Recommended Posts

Many of the .dat files are just wave files. By replacing the extension to .wav you can hear what songs they are. Replacing any of these will replace the music you hear in-game. You can even replace the in-game sounds (coaster speed, peeps, sound effects, interface user feedback sounds, etc.) which are saved in a special way. This following page explains how css1.dat works and how it contains all the sounds in the game: http://freerct.github.io/RCTTechDepot-Archive/css1dat.html It's quite interesting to know how it works.

  • Like 1

Share this post


Link to post
Share on other sites
On 1/10/2016 at 06:18, Broxzier said:

Many of the .dat files are just wave files. By replacing the extension to .wav you can hear what songs they are. Replacing any of these will replace the music you hear in-game. You can even replace the in-game sounds (coaster speed, peeps, sound effects, interface user feedback sounds, etc.) which are saved in a special way. This following page explains how css1.dat works and how it contains all the sounds in the game: http://freerct.github.io/RCTTechDepot-Archive/css1dat.html It's quite interesting to know how it works.

I've always wondered how I could replace the sound effects for fun. Maybe there's a way to extract css1 and then pack it all back in afterwards?

I've used some program in the past to unpack all the sound effects in RCT3. Problem is, I had no idea how to get them back into one file.

Edited by waymu

Share this post


Link to post
Share on other sites

I did this and it only played the first few seconds of the track I inserted and then started again.

 

EDIT - I replaced CSS3.dat (Dodgems Beat Style) with a new music file and this is what happened.

 

Does this perhaps have anything to do with the fact that those are 8-bit?

Edited by Xeltron245

Share this post


Link to post
Share on other sites

The song can't be any longer than the original. Songs with a different bitrate may be cut even shorter. Follow the guide as precisely as possible (options like a different bitrate or file type) to prevent any issues.

  • Like 1

Share this post


Link to post
Share on other sites

Trigger's Toolkit has some audio tools, including translating every sound file in the game to a .mp3, and replacing audio files with those you would like to. Trigger is actually the one who created the ORCT2 steam stub, he also has a few other tools like a content gallery for viewing assets and a maze generator.

  • Like 1

Share this post


Link to post
Share on other sites

Also, ORCT2 does support css50.dat, which is recomended to be used as RCT1's theme, but can be used to add your own title music.

Share this post


Link to post
Share on other sites

Also also, For some reason, Windows Media Player (Win10) can read .dat files properly. No clue why this is a thing, but it is.

Share this post


Link to post
Share on other sites

Some .dat files are straight forward .wav files. The media player simple opens the file, checks the first 4 bytes to see it's a RIFF format, then it reads the header, sees that it's a wave file, and uses the data in the header to load the sound from the rest of the file. Most media players should be able to handle this, an extension alone means nothing.

Share this post


Link to post
Share on other sites
1 hour ago, TCE said:

Any news on when you can actually go beyond custom 1 and 2?

I am going to assume when we have new save file format :P

Share this post


Link to post
Share on other sites
1 hour ago, Deurklink said:

I am going to assume when we have new save file format :P

Which doesn't seem like will ever happen unfortunately :(

Share this post


Link to post
Share on other sites
Just now, TCE said:

Which doesn't seem like will ever happen unfortunately :(

Wait, what makes you think that? It's been stated many times by the developers that this is planned for the future.

 

I'm not actually sure if you need a new save format to increase the number of custom music slots - in fact, I'm pretty sure you don't, since those music files don't go in savegames, and I'm not seeing anything in a quick search of the code that would suggest otherwise. But if you wanted to make it so they did go in savegames, then that would need a new save format.

Edited by X7123M3-256

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...