TUTORIAL: Modding sound effects

User avatar
rizzn
Apprentice
Posts: 122
Joined: Fri Sep 27, 2013 6:07 am
Side: Darkness
PSN: rizzn1
Location: GER

TUTORIAL: Modding sound effects

Post by rizzn »

On this tutorial I also assume you have a DLC character ready.

I'm working with "CHAR_Deathstroke_D.xxx" in this tutorial.

Be prepared if you want this to work on all languages, you have to modify all the language files. For now I explain it for the english files. Simply injecting the english FSB file to all language archives won't work because most of the FSB files have different offsets in their corresponding .xxx archive!

Also just for information, the regular announcer from the character selection screen CAN NOT be changed yet (it didn't work for me). You can edit the mp3 file but it will still play the announcer sound of the main character (in my example Deathstroke). Don't know how to fix this yet.

This is the result:
https://vimeo.com/82154888 [Wager sounds at the end of video]

TOOLS NEEDED
  • Sound editing software (Adobe Audition or another)
  • decompress.exe {by Gildor}
  • FsbExtractor {by Aezay} (attached to this post, see below)
  • Generic Renamer {by HowardC}
  • Generic Injector {by HowardC}
  • Hex Editor
STEP 1 - Collecting sounds and preparing sound archive
After collecting a few sound shots (I took these) we can start off editing the files.

Get SND_SPEECH_Deathstroke_eng.xxx from your "DiscContentPCG\Sounds" folder. Drag this over decompress.exe and continue working with the decompressed file, delete the old one. Move the new file to your "Generic Renamer" folder because we prepare the file for your DLC character.

Start MKKEGenericRenamer.exe and fill the boxes as following:

Code: Select all

Archive to Search for Strings: SND_SPEECH_Deathstroke_eng.xxx
Original String:               SND_SPEECH_Deathstroke_eng
New String:                    SND_SPEECH_DP_eng
Click "Replace Strings!" and rename this strings now:

Code: Select all

Archive to Search for Strings: SND_SPEECH_Deathstroke_eng.xxx
Original String:               SND_SPEECH_Deathstroke
New String:                    SND_SPEECH_DP
In my case there were replaced 4 strings overall after these two steps. Then I renamed my file to SND_SPEECH_DP_eng.xxx

STEP 2 - Creating the original FSB bank
Your speech file should be ready. Now we need to find the offsets to create our original FSB files first. Open the Hex Editor and open your .xxx file in it. Search for "FSB5" string. There is only one inside.
offset.jpg
Now we know our original FSB file is called "embedded_0002282f.fsb". You need this original file to inject your modified FSB file later.

Make a copy of "SND_SPEECH_DP_eng.xxx" and rename it to embedded_0002282f.fsb. Open this in the Hex Editor again. Search again for "FSB5" and remove everything BEFORE the string "FSB5".

Now go to the the end of the file and remove the following block. (Only remove the line with null bytes if the FsbExtractor gives you a warning!)
end-of-file.jpg
Our original FSB is ready. That's what fsbii.exe does with FSB4 file format automatically.

STEP 3 - Mod your sounds
If you want you can now export all the mp3 files from your FSB with FsbExtractor and modify them. Just drag & drop the FSB bank to the FsbExtractor.

Please make sure your files are smaller or the same size as the original files! That's important, otherwise you can't inject them back!

Usually the files are:
  • 48 kHz
  • CBR (constant bitrate)
  • 128 - 320 kbps (this varies from file to file)
If you have a file in 320 kbps and saved your modified version, which is probably bigger. Just save it in 256 kbps which is always smaller in the result. They will get played ingame.

STEP 4 - Create modded FSB bank and inject
Now we can create our modded FSB file to inject it back. You can try creating a new FSB from scratch with fsbank.exe (make sure you use the correct settings on creating). Otherwise we can inject mp3 files with HowardC's Generic Injector. That's how I did it until now.

Copy (!!!) embedded_0002282f.fsb, original_sound.mp3, your_modded_sound.mp3 to the Generic Injector folder.

Code: Select all

Archive to Inject Into: embedded_0002282f.fsb
Original File:          original_sound.mp3
New File:               your_modded_sound.mp3
Now press the "Inject it!" button. I have done this single inject step for every mp3 file. Sometimes this may take a while, but it works.

If your modded FSB bank is done, you need to inject it back to the .xxx archive. But before this, rename your new FSB file to something like "modded_embedded_0002282f.fsb".

Code: Select all

Archive to Inject Into: SND_SPEECH_DP_eng.xxx
Original File:          embedded_0002282f.fsb
New File:               modded_embedded_0002282f.fsb
STEP 5 - Prepare character file for new sound archive
The last step is to make your character file ready for the new sound archive, with renaming the strings it will now play the sounds of your modified SND_SPEECH archive.

Open CHAR_Deathstroke_D.xxx in the Generic Renamer, doing this:

Code: Select all

Archive to Search for Strings: CHAR_Deathstroke_D.xxx
Original String:               SND_SPEECH_Deathstroke_eng
New String:                    SND_SPEECH_DP_eng
And this:

Code: Select all

Archive to Search for Strings: CHAR_Deathstroke_D.xxx
Original String:               SND_SPEECH_Deathstroke
New String:                    SND_SPEECH_DP
ADDITIONAL NOTES
I know this can be a little bit confusing probably on the first try, but if you done this a few times, it's really easy. You can do the same steps on your Intro and Victory files.

For example there you work with:
- Joker_Intro.xxx and SND_CIN_INT_Joker_eng.xxx
or
- Joker_Victory.xxx and SND_CIN_VIC_Joker_eng.xxx
Attachments
FsbExtractor_16.10.21.7z
(174.98 KiB) Downloaded 64 times
Last edited by Gambid on Mon Apr 03, 2023 4:13 pm, edited 6 times in total.
Reason: Attached FSBExtractor as link was dead.


Image Image Image
User avatar
Arkham_Scarecrow
Mortal
Posts: 6
Joined: Tue Dec 10, 2013 8:07 am
Side: Light

Re: Tutorial: Modding sound effects

Post by Arkham_Scarecrow »

Exellent! Great work!
I'M ЯUSSIAИ, COMЯAДЕ!
User avatar
heymanjack
Apprentice
Posts: 145
Joined: Tue Nov 26, 2013 11:51 pm

Re: TUTORIAL: Modding sound effects

Post by heymanjack »

quick question, where can we find the victory announcer? you know the one that says "Deathstroke wins" or whatever.
Last edited by heymanjack on Wed Dec 18, 2013 2:39 am, edited 1 time in total.
User avatar
heymanjack
Apprentice
Posts: 145
Joined: Tue Nov 26, 2013 11:51 pm

Re: TUTORIAL: Modding sound effects

Post by heymanjack »

Also can I get a link to the genericinjector you re using? Thanks dude
User avatar
Dehayat
Mortal
Posts: 38
Joined: Mon Dec 16, 2013 11:02 am
Side: Light
PSN: Dehayat

Re: TUTORIAL: Modding sound effects

Post by Dehayat »

here you go
Attachments
MKKE Generic Injector 1.1.rar
(7.66 KiB) Downloaded 630 times
Batman vs scorpion
User avatar
heymanjack
Apprentice
Posts: 145
Joined: Tue Nov 26, 2013 11:51 pm

Re: TUTORIAL: Modding sound effects

Post by heymanjack »

Wow. It works. Though the intro announcer doesn't work. Ex Zoom still gets called the flash in the character select screen. The win announcer change worked though. Hmmm I think we need a good impersonator of the announcer so we can get good win announcer quotes LOL.
Last edited by heymanjack on Wed Dec 18, 2013 6:08 am, edited 1 time in total.
User avatar
rizzn
Apprentice
Posts: 122
Joined: Fri Sep 27, 2013 6:07 am
Side: Darkness
PSN: rizzn1
Location: GER

Re: TUTORIAL: Modding sound effects

Post by rizzn »

heymanjack wrote:quick question, where can we find the victory announcer? you know the one that says "Deathstroke wins" or whatever.
That one I found in the "SND_SPEECH_Character" files. After extracting the FSB bank from this and opening in FsbExtractor it's called something like "vo_anno_win_DS.mp3".
Image Image Image
User avatar
wyruzzah
Immortal
Posts: 842
Joined: Wed Jul 31, 2013 11:12 am
Location: Czech Republic, Brno

Re: TUTORIAL: Modding sound effects

Post by wyruzzah »

rizzn: thx much, i love this tutorial :)
User avatar
heymanjack
Apprentice
Posts: 145
Joined: Tue Nov 26, 2013 11:51 pm

Re: TUTORIAL: Modding sound effects

Post by heymanjack »

rizzn wrote:
heymanjack wrote:quick question, where can we find the victory announcer? you know the one that says "Deathstroke wins" or whatever.
That one I found in the "SND_SPEECH_Character" files. After extracting the FSB bank from this and opening in FsbExtractor it's called something like "vo_anno_win_DS.mp3".
Yup found it there. The intro announcer doesn't work though. I'm trying to record announcer lines and trying to make it match the current announcer which is HARD because the announcer is a woman lol.
User avatar
rizzn
Apprentice
Posts: 122
Joined: Fri Sep 27, 2013 6:07 am
Side: Darkness
PSN: rizzn1
Location: GER

Re: TUTORIAL: Modding sound effects

Post by rizzn »

heymanjack wrote:Yup found it there. The intro announcer doesn't work though. I'm trying to record announcer lines and trying to make it match the current announcer which is HARD because the announcer is a woman lol.
I'm using AT&T Natural Voices to create the base sounds. You can also choose female speakers. I got the best results out of this Text-2-Speech software.

It doesn't work always, because sometimes the emphasis on some words is weird. You can do a lot of sound editing in Adobe Audition, for example you can create an effect rack and can apply this rack to every sound you want.

Some time ago I created an announcer rack for testing and a few characters for MKKE. It's not exactly the same but better than using the wrong announcers I think.

With the right effects you should get a similar result for IGUA (with female voice, more "robotic"). I'm currently working on a effect rack for IGUA announcers. The biggest problem is I can't export that rack preset to share it.
Last edited by rizzn on Tue Feb 04, 2014 8:03 pm, edited 1 time in total.
Image Image Image
User avatar
heymanjack
Apprentice
Posts: 145
Joined: Tue Nov 26, 2013 11:51 pm

Re: TUTORIAL: Modding sound effects

Post by heymanjack »

Well, after being laughed at by my parents for trying to emulate the female announcer I did what I should have done at the start. Franken-cutting. This is the same technique used by the editors at Conan O brien's show as seen in his crazy alex trebek skits and the interactions between Forest Gump and celebrities in Forest Gump.

I took out the sounds the announcer makes when she says the "Su" part in superman and the "oom" part in Doomsday and I also took the "Z" sound in Zatanna. I mixed these sounds and made the announcer say "Zoom". I'm uploading my updated Zooms mod with the new win announcer so you guys can see/hear it for yourselves.

Also @rizzn
Have you gotten intro announcers to work?
User avatar
rizzn
Apprentice
Posts: 122
Joined: Fri Sep 27, 2013 6:07 am
Side: Darkness
PSN: rizzn1
Location: GER

Re: TUTORIAL: Modding sound effects

Post by rizzn »

Hehe, that's a pretty good idea with cutting the letters/phrases, I didn't think about this yet. If this technique works we could create announcers with the exact voice effect for the DLC costumes. Will also try a test on this today, but a good suggestion!

On the intro announcer, I have no idea for now. :( I don't know if it's moddable in the .xxx file of an alternate costume. But I will do a few tests the next days.
Last edited by rizzn on Tue Feb 04, 2014 8:00 pm, edited 1 time in total.
Image Image Image
User avatar
UncleFestor
Grand Master
Posts: 620
Joined: Wed Aug 21, 2013 11:56 pm
Side: Darkness
Contact:

Re: TUTORIAL: Modding sound effects

Post by UncleFestor »

heymanjack wrote:Well, after being laughed at by my parents for trying to emulate the female announcer I did what I should have done at the start. Franken-cutting. This is the same technique used by the editors at Conan O brien's show as seen in his crazy alex trebek skits and the interactions between Forest Gump and celebrities in Forest Gump.

I took out the sounds the announcer makes when she says the "Su" part in superman and the "oom" part in Doomsday and I also took the "Z" sound in Zatanna. I mixed these sounds and made the announcer say "Zoom". I'm uploading my updated Zooms mod with the new win announcer so you guys can see/hear it for yourselves.

Also @rizzn
Have you gotten intro announcers to work?

Yeah that's How I did the Voice for my Sub-Scorpion :

Check out my Youtube Channel : https://www.youtube.com/user/unclefestorable
User avatar
wyruzzah
Immortal
Posts: 842
Joined: Wed Jul 31, 2013 11:12 am
Location: Czech Republic, Brno

Re: TUTORIAL: Modding sound effects

Post by wyruzzah »

Well it gives me error in FSB extractor (Not a valid FSB file format..) when i draged my soundpack (embedded_0001fbb9.fsb) to extractor for Zod.. i've erased that block in hex ed.
Last edited by wyruzzah on Thu Dec 19, 2013 7:26 pm, edited 1 time in total.
User avatar
wyruzzah
Immortal
Posts: 842
Joined: Wed Jul 31, 2013 11:12 am
Location: Czech Republic, Brno

Re: TUTORIAL: Modding sound effects

Post by wyruzzah »

Do i need erased that block completely or just null it, cause i tried both but still that error in FSB extractor :( Image Image
Post Reply

Return to “Injustice: Gods Among Us PC Tutorials and Discussions”