League of Legends Community
1234511 ... 17

League of Legends Community (http://forums.na.leagueoflegends.com/board/index.php)
-   General Discussion (http://forums.na.leagueoflegends.com/board/forumdisplay.php?f=2)
-   -   [Tutorial] How to mod the sound files (http://forums.na.leagueoflegends.com/board/showthread.php?t=102831)

Tricolor 04-29-2010 01:37 PM

[Tutorial] How to mod the sound files
 
3 Attachment(s)
sup^^ this is version 1 so it still have a couple problems^^ but ull get the idea...also...english isnt my primary language...so **** off nazi grammars ;]


Programs needed:

fsbext - http://ultrashare.net/hosting/fl/65f2fd1f3d/fsbext - i uploaded the files im using...
MusicPlayerEx - http://jerome.jouvie.free.fr/Fmod/Projects/Project1.php

the ingame sounds/musics/voices r located on \Riot Games\League of Legends\game\DATA\Sounds\FMOD\ under the .fsb files

VOBank_en_US.fsb = the file with all voices/laughts/announcements/
LoL_Audio.fsb = the file with skill/attacks/explosions sounds
GameMusicEvents_bank00.fsb = refuse to explain this one
GameAmbientEvent_bank00.fsb = ^^


First step: - UNPACKING THE .FSB FILE
-unzip the fsbext to c:\fsbext
-make a new folder on c:\fsbext ...for example(sounds)
-copy the .fsb file to c:\fsbext folder
-start-run-cmd
-go on c:\fsbext folder and type : fsbext -d sounds VOBank_en_US.fsb
it ll unpack all sounds to the \sounds folder^^
FIRST STEP COMPLEATED - CONGRATZ^^ (see first ss)

Second step: MODDING THE FILE
keep the name...do w/e u want with the rest ;]
also...remember to not put a header on the file (if u dunno what that means...u probably shouldnt be messing with the files ;]) - dunno if it works with headers...maybe it ll work...maybe not^^(2nd ss)


Third step: REPACKING THE .FSB FILE
-go to c:\fsbext
-type: fsbext -l -s output.dat VOBank_en_US.fsb - this ll create an "how is the file estructure" so it can repack with it being the same way (and -l = -L)
-type: fsbext -s output.dat -d sounds -r newsounds.fsb -this ll create the new soundfile


Last step: MAKE IT WORK
-rename the newsound.fsb file to VOBank_en_US.fsb
-replace the new VOBank_en_US.fsb on \League of Legends\game\DATA\Sounds\FMOD\ folder^^ (make sure to always make a backup copy)

play the game ;]

couple points..
-once u extract the .fsb files...most of the players wont gonna be able to read those .wav files cause it has no header on the files.... i personally use MusicPlayerEx player to listen to it.....but u can use w/e u want...(3rd ss)
-if u add a -a command line when extracting the .fsb file...the .wav files gonna have a header...but i dunno if its gonna work ingame (and not in the mood to test right now, maybe l8r^^)
-if u wanna add some customized .wav there r some programs that removes the header...or u can do it manually.... i know it works without header.....maybe it wont gonna work with headers...so unless u test it...always remove the header before repacking

edit:fixed some typos^^ and added some ss

Mr Wang Fire 04-29-2010 01:40 PM

Now everyone can listen to porn and play LoL! Great!

Tricolor 04-29-2010 02:38 PM

shameless bump since it took me a lot of time to get it right^^

also..added screenshots ^^

Sumpor 05-06-2010 11:27 AM

1 Attachment(s)
I did step 1 the way you said, but I got what is in the screenshot. Where did I fail?

Gandalph 05-06-2010 01:11 PM

Nice, thanks very much! +1'd and saved for future use.

k0b3 CleoFairy 05-06-2010 01:16 PM

awwww nice! Now I don't have to figure this out. Thank you.

Tricolor 05-06-2010 01:21 PM

Quote:

Originally Posted by Sumpor (Hozzászólás 1219586)
I did step 1 the way you said, but I got what is in the screenshot. Where did I fail?

make sure the folders r on ur c:\fsbext folder... in ur case both (snd and sounds) u have to create the folders before using it...the program doesnt create the folders

and execute the command directly for the fsbext folder


also .... the -d sounds = -d <name of the folder u created>
so if u made a folder named ooooooooo ....u should use -d ooooooooo

Rethella 05-09-2010 03:27 AM

@OP
Thanks for the guide thus far!

@Anyone that has been experimenting with this...
One thing I noticed however; after unpacking the sounds, I noticed they playback at 2x (or close to) normal speed. Is this normal?
Which leads me to ask, if I sub in a sound sample of my own, will it play normally in game, or at 1/2x the speed it should, or what would happen?

What I'm ultimately trying to do is make Unreal/Quake sounds for killing blows and such. Something like that, imho, would be *ahem* Godlike.. XD

Rethella 05-09-2010 03:57 AM

@OP

There's something rally strange going on with your guide.
One quick question, have tried simply unpacking, then repacking these particular files yourself? because my friend and I are running into a lot of errors on the repack..

Where to begin.. on extraction, it shows the files extracted as .wav, but they're actually entitled as .mp3
Also, on repack, we're running into errors such as:

- open file "Corki.move2.wav"
Error: no such file or directory

and

-open file "ancientgolem_dying_1.aif"
Error: No such file or directory

That's the most confusing part... AIF? What's going on here?
We're REALLY lost and confused. Please help!


As a side note, any experience with FMOD Designer?

HurlingDervish 05-09-2010 09:39 AM

Quote:

Originally Posted by Rethella (Hozzászólás 1241785)
@OP
Thanks for the guide thus far!

@Anyone that has been experimenting with this...
One thing I noticed however; after unpacking the sounds, I noticed they playback at 2x (or close to) normal speed. Is this normal?
Which leads me to ask, if I sub in a sound sample of my own, will it play normally in game, or at 1/2x the speed it should, or what would happen?

Most likely that's because of the sample rate of the audio used. Open it up in audacity or premiere and check the details to be sure. you can convert them there as well.

lower/high sample rates mean pitch increase/decrease on playback. if the player wasn't expecting that sample rate specifically then you may run into issues. Not sure what LoL is expecting for each sample, it may be playing them back at individual sample rates who knows.


but if you want to replace one, just export the sound you want at the same sample rate (kHz) that you want to replace and you should be all set...if its chipmunks or satan...then try a new rate.


All times are GMT -8. The time now is 01:37 PM.
1234511 ... 17


(c) 2008 Riot Games Inc