Worms 4 Speech Bank Editing
Moderator: Dream17 Staff
Worms 4 Speech Bank Editing
Does what it says on the box.
Read the README.TXT. If you have any questions, post'em.
As allways, this program has nothing to do with Dream17.
Important: Almost forgot. When editing .wav files, make sure to save them at 16kHz. Otherwise, they will sound funny.
Known Bugs:
Some of the sound banks seem to cause a crash. Since I only have the demo, I cannot fully analyze the cause of this problem. I'll try to fix this as soon as I can, which, unfortunately, is unlikely to happen before I get the full game.
Edit: Music extractor is now available a bit further down the page.
Read the README.TXT. If you have any questions, post'em.
As allways, this program has nothing to do with Dream17.
Important: Almost forgot. When editing .wav files, make sure to save them at 16kHz. Otherwise, they will sound funny.
Known Bugs:
Some of the sound banks seem to cause a crash. Since I only have the demo, I cannot fully analyze the cause of this problem. I'll try to fix this as soon as I can, which, unfortunately, is unlikely to happen before I get the full game.
Edit: Music extractor is now available a bit further down the page.
- Attachments
-
- W4SBEdit.zip
- (32.29 KiB) Downloaded 2108 times
Last edited by K^2 on Wed Jan 17, 2007 7:07 pm, edited 3 times in total.
None of my projects (Minus One converter, W3D/W4 Map Viewer, and WMapEditor) are endorsed, supported or otherwise affiliated with Dream17. I just find Dream17 forums to be a nice place to share and discuss my work with others.
- Cyclaws
- Former Staffmember
- Posts: 83
- Joined: Wed Mar 02, 2005 12:33 pm
- Location: London, England
- Contact:
Sure. And some free Dream17 advertising, too.
Webmaster of WormsTournaments: http://www.wormstournaments.co.uk
Creator of my blog: http://www.kevinstreetonline.com
Worms Corrispondent for Dream17: cyclaws@dream17.info
Creator of my blog: http://www.kevinstreetonline.com
Worms Corrispondent for Dream17: cyclaws@dream17.info
To actually add a bank, yes, I believe, something else needs to be changed. I'll look into it.
None of my projects (Minus One converter, W3D/W4 Map Viewer, and WMapEditor) are endorsed, supported or otherwise affiliated with Dream17. I just find Dream17 forums to be a nice place to share and discuss my work with others.
-
- Newbie
- Posts: 1
- Joined: Wed Aug 17, 2005 8:15 pm
That is kind of the point of this editor. You take the speach bank to which you want to add that quote, extract it, replace the wave file for the phrase that you want to be changed (For "I'll be back". you probably want one of the dying words.), and the compile the speach bank again.
None of my projects (Minus One converter, W3D/W4 Map Viewer, and WMapEditor) are endorsed, supported or otherwise affiliated with Dream17. I just find Dream17 forums to be a nice place to share and discuss my work with others.
-
- Newbie
- Posts: 2
- Joined: Sat Jun 04, 2005 12:47 am
- Location: California, USA
No, you have to overwrite an existing speechbank. And online people won't hear your speechbank - they'll simply hear the speechbank you replaced. Unless, however, they replace the speechbank too. So it should be possible to put custom speechbanks on all your friends' computers and be able to hear those online, but only by your friends who replaced the speechbank.
I'm known as "SomePerson" on the Team17 forum...
Precisely. I was thinking of writing a tool that lets you add speech banks, but then I realized that it might cause some serious problems while playing on-line, and people will throw rotten tomatoes at me.
None of my projects (Minus One converter, W3D/W4 Map Viewer, and WMapEditor) are endorsed, supported or otherwise affiliated with Dream17. I just find Dream17 forums to be a nice place to share and discuss my work with others.
Then again, it might just revert to the default soundbank like it does on W2/WA/WWP. I think it's worth testing it privately to see if it does work.K^2 wrote:Precisely. I was thinking of writing a tool that lets you add speech banks, but then I realized that it might cause some serious problems while playing on-line, and people will throw rotten tomatoes at me.
x_+
I'll look for the .xom file that contains refferences to speach bank. If it will be simple enough to append another speach bank, I'll test it on the demo, and then agree with someone about an on-line test.
None of my projects (Minus One converter, W3D/W4 Map Viewer, and WMapEditor) are endorsed, supported or otherwise affiliated with Dream17. I just find Dream17 forums to be a nice place to share and discuss my work with others.
Any chance you could make an extractor for the music? (Worms 4 Mayhem\data\Audio\WXSoundBanks\PC\mu*.sab)
I tried using the soundbank editor since they seem similar but it doesn't work, and the sound comes out a bit odd in an audio editor.
I tried using the soundbank editor since they seem similar but it doesn't work, and the sound comes out a bit odd in an audio editor.
Team17 Forum Refugee | OpenXcom Developer
- AndrewTaylor
- Regular
- Posts: 157
- Joined: Tue Mar 01, 2005 11:01 am
- Location: Leeds UK
- Contact:
If you just want to extract it have you tried getting something like the CoolEdit demo and importing them as raw data?SupSuper wrote:Any chance you could make an extractor for the music? (Worms 4 Mayhem\data\Audio\WXSoundBanks\PC\mu*.sab)
I tried using the soundbank editor since they seem similar but it doesn't work, and the sound comes out a bit odd in an audio editor.
AndrewTaylor wrote:If you just want to extract it have you tried getting something like the CoolEdit demo and importing them as raw data?
I suspect there's something vital for proper playback in the mu*.sob files.SupSuper wrote:Any chance you could make an extractor for the music? (Worms 4 Mayhem\data\Audio\WXSoundBanks\PC\mu*.sab)
I tried using the soundbank editor since they seem similar but it doesn't work, and the sound comes out a bit odd in an audio editor.
Team17 Forum Refugee | OpenXcom Developer
I don't think there is anything vital in the .sob file. In speech banks, the only thing I fished out from .sob files is the names for each audio segment in .sab.
In speech banks, .sab files contain a normal WAVE data. In music banks, it seems, there are several channels, and instead of alternating bytes for each channel, like in WAVE, each channel runs in a continuous streams for a fraction of a second, then the next channel, etc. That causes playback problems if you try to import it as raw data. I'll try to figure out the length of these blocks and put together a .wav exporter.
Edit: At least it's not compressed. I remember what a nightmare it was to write a program to export some audio files compressed with ADPCM.
Edit2: Weird. There seem to be two tracks. One of them is audio, but the other is just noise. And I still can't get rid of the clicking in the audio track, but at least it sounds about right now. [I think I know why there is clicking.]
Edit3: And the final product, the W4 music extractor, by popular demand.
In speech banks, .sab files contain a normal WAVE data. In music banks, it seems, there are several channels, and instead of alternating bytes for each channel, like in WAVE, each channel runs in a continuous streams for a fraction of a second, then the next channel, etc. That causes playback problems if you try to import it as raw data. I'll try to figure out the length of these blocks and put together a .wav exporter.
Edit: At least it's not compressed. I remember what a nightmare it was to write a program to export some audio files compressed with ADPCM.
Edit2: Weird. There seem to be two tracks. One of them is audio, but the other is just noise. And I still can't get rid of the clicking in the audio track, but at least it sounds about right now. [I think I know why there is clicking.]
Edit3: And the final product, the W4 music extractor, by popular demand.
- Attachments
-
- muextract.zip
- (15.89 KiB) Downloaded 937 times
None of my projects (Minus One converter, W3D/W4 Map Viewer, and WMapEditor) are endorsed, supported or otherwise affiliated with Dream17. I just find Dream17 forums to be a nice place to share and discuss my work with others.
hello to everybody.
i've downloaded the sound editor.
met the crash problem trying to decompile some banks, but, choosing VOALIEN could decompile the bank.
i have saved 151 file in wav, and with widows sound editor i've rtesampled them at 16Khz.
i had no problem in recompiling them and overwrote the VOALIEN.sob and sab files.
when i treid to test them in the game the voices were so much acclereated i couldn't understand anything.
why does all my job have been corrupted even if i've followed all the steps?
thank you
i've downloaded the sound editor.
met the crash problem trying to decompile some banks, but, choosing VOALIEN could decompile the bank.
i have saved 151 file in wav, and with widows sound editor i've rtesampled them at 16Khz.
i had no problem in recompiling them and overwrote the VOALIEN.sob and sab files.
when i treid to test them in the game the voices were so much acclereated i couldn't understand anything.
why does all my job have been corrupted even if i've followed all the steps?
thank you
Last edited by lyllo on Sat Jan 20, 2007 7:49 pm, edited 1 time in total.
sorry, i modified the old post to avoid messing up this thread.K^2 wrote:Is the file it freezes on original or replaced?
i've solved the freezing problem, by manually saving to 16Khz directly using the sound editor in windows.
so the bank is completely recompiled without problems, but when i test the speech in the game everything is incompresible, since the voices are too fast.
can understand why since every wav file is already 16Khz sampled.
thank you.
I think it expects a stereo file. If you feed it a mono file, it will be played at 2x speed. Could that have been the problem?
None of my projects (Minus One converter, W3D/W4 Map Viewer, and WMapEditor) are endorsed, supported or otherwise affiliated with Dream17. I just find Dream17 forums to be a nice place to share and discuss my work with others.