Stronghold Crusader HD

Stronghold Crusader HD

Not enough ratings
Replacing Background Soundtrack Music In-game
By Vortiene
What you'll need:

Software that can create headerless audio files. (Audacity is what I used.)
You can download audacity here: https://www.audacityteam.org/

Short summary:
  • Replace any of the .raw files in the \fx\music directory with other .raw files you converted from music of your choice.
  • oud_1.raw to oud_24.raw are good candidates for replacement.
  • 22050Hz sampling rate is necessary.
  • The .raw files are just .wav files that were created without any header info. You can make these with Audacity from any .mp3 or .wav or .flac files you have.

More detailed instructions:

  • Go to \fx\music starting in Stronghold Crusader's installation directory (might be labelled Stronghold Crusader Extreme).
  • You'll see a bunch of .raw files.
  • These can be opened in audacity with the import raw function, but only if you want to see what they are before changing them. (If you do import them into audacity, you must select "Signed 16-bit PCM", "2 Channels (Stereo)", and "22050Hz" options when importing for them to sound correct.)
  • At the moment I only know how to change tracks, not add new ones. What I can say is that there are 24 tracks that look like oud_1.raw, oud_2.raw, oud_3.raw, etc. that consist of about 30 seconds of riffing on an arabian-style string instrument (which is called an Oud, as you may have guessed). I believe they play at random during normal gameplay. If you go into /soundtrack directory of the game's files, they represent this randomized song as "oudunnit.mp3". The soundtrack folder is not what plays within the game though, it's just for your listening convenience.
  • These 24 randomized .raw tracks in the game's files are good candidates for replacement, because you can still have about 12 of them and the soundtrack won't feel like anything's missing.
  • Make sure to back up the .raw files you intend to replace so you can change them back later.

So pick what songs you want to add into the game. You can replace, for example, oud_1.raw to oud_12.raw with 12 of your own songs.
They MUST follow these restrictions:
  • 22050Hz sample rate (controlled on the bottom left of the window in audacity)
  • extracted as .raw from audacity or similar software (use "File->Export->Export audio" in audacity and select "Save as Type: Other uncompressed files" then "Header: RAW (header-less)" in the file save dialogue)
  • replace the exact same file names in \fx\music folder (oud_1.raw, oud_2.raw, etc.) with the new raw files you want to replace them. The names must be identical.

If you followed all these restrictions and replaced oud_1.raw or any number of the raw files in the \fx\music directory, they will instead play in the game. If you got the wrong sampling rate though, they will play at a lower speed and sound very slow.

Personally i copied a bunch of songs from the soundtrack of the first Stronghold over to Stronghold Crusader because I miss them. Nice to have Castlejam back.

Additional info:
This will also work in Stronghold HD. However it doesn't have oud_1.raw through oud_24.raw of course. The soundtrack is different.
   
Award
Favorite
Favorited
Unfavorite
1 Comments
OGReini69 Apr 22, 2022 @ 8:15am 
thank you for the guide ^^