December 12, 2018, 01:13:19 AMLatest Member: sick0r

Author Topic: Sound file extraction  (Read 2929 times)

0 Members and 1 Guest are viewing this topic.

Grimdoc

  • Moderator
  • ***
  • Posts: 259
  • Translator & Superman
    • View Profile
Sound file extraction
« on: April 03, 2011, 11:33:55 AM »
It seems no one has thought of the sound files yet, so I tried to find out how much work it would be.

I used Allmedia Grabber 5.1 (trial) to search through all the sound .dat files.
See the attachment to see all the files and their sizes.

Unfortunately I could not extract them, because I just have a trial version.
But I guess there should be some freeware programs for this cause, now that we know that the file type is .wav.

EDIT: One can't attach .html files, so here is a link:
http://www.sendspace.com/file/thmnso


I also found out how to convert the XMI files to MIDI (found in Sounds/midi).
1. Get Winamp (free) and install it normally.
2. Go to options, preferences, plug-ins, input, find "Nullsoft midi player", mark it, configure, file types, just mark XMI (or all of them).
3. Open up the midi files found in sounds/midi, right click on them in the play list, view file info, save... (and now you can save it as a regular midi).
« Last Edit: April 03, 2011, 11:40:11 AM by Grimdoc »
Do you have a question or want to report a bug? CorsixTH newbie guide

Do you want to make (or improve) a translation? CorsixTH translation guide

Ben Dyson

  • Registered member
  • *
  • Posts: 27
    • View Profile
Re: Sound file extraction
« Reply #1 on: April 03, 2011, 11:56:48 AM »
There is a way to extract the sound files to .wav using the audio.lua file, just scroll down to line 222 and uncomment this piece of code
Code: [Select]
--self:dumpSoundArchive[[C:\Program Files\CorsixTH\sound\]]
Remember to change the file path to where you would like it to be extracted to.

Grimdoc

  • Moderator
  • ***
  • Posts: 259
  • Translator & Superman
    • View Profile
Re: Sound file extraction
« Reply #2 on: April 03, 2011, 01:44:38 PM »
There is a way to extract the sound files to .wav using the audio.lua file, just scroll down to line 222 and uncomment this piece of code
Code: [Select]
--self:dumpSoundArchive[[C:\Program Files\CorsixTH\sound\]]
Remember to change the file path to where you would like it to be extracted to.
Ah, I didn't know.
Do you have a question or want to report a bug? CorsixTH newbie guide

Do you want to make (or improve) a translation? CorsixTH translation guide

gudo

  • Registered member
  • *
  • Posts: 5
    • View Profile
Re: Sound file extraction
« Reply #3 on: April 03, 2011, 05:25:37 PM »
I was able to extract the .dat files in sound/data with tools from the following page.
http://syndicate.lubie.org/swars/rework/swars_rework_sound.php