View Full Version : .ogg preferences?
Frosty289
07-20-2005, 08:09 PM
I've got an mp3, wav, wma to .ogg converter, but I don't know which settings it would be saved at to work. I've tried 22.050khz, 16kbps in mono and that doesn't work, which is what all of the other sounds play at. If anyone has figured this out let me know.
Djuice
07-20-2005, 09:43 PM
me too, i like to know :D
TMT-Airborne
07-21-2005, 12:55 PM
Me and Pirate Dan, a guy from The Modding Theater, took a look at this. We've come to a few smal conclusions, but were unsure how to go any further.
Heres the info on the menu music
Length : 4:53
Average bitrate : 102 kbps
File size : 3,770,387 bytes
Nominal bitrate : 112 kbps
Channels : 2
Sampling rate: 44100 Hz
Serial number: 23193
Version : 0
Vendor :
Xiph.Org libVorbis I 20030909
The music has it's serial number and what seems like a call number that's coded in somewhere, not sure if it's into the file itself as a method of verifying the music, or if it's generated by a script. If it's a script, we have no idea where it's at. Another guy we worked with was Ghost Dog, also from The Modding Theater. He's made a customized menu. You can check out the link below and ask him to see if he can give you any more insight into this.
http://www.modtheater.com/forum/thread25479.html
tF-voodoochild
07-30-2005, 09:25 AM
I spent an afternoon and evening one day looking into this and figured the best way to simply replace sounds was to make my custom music identical in as many ways as possible to the original. Obviously file size and structure would differ, but encoding, bitrate, ogg version, and serial can be the same.
Needless to say when files are encoded with the exact same serial and bitrate and replace original files with the exact same name they play perfectly fine in game.
I put together a simple tutorial in a different thread to walk people through what I did step by step.
Tutorial can be found here. (http://forums.totalbf2.com/showpost.php?p=236347&postcount=15)
Enjoy!
Dragoon
08-03-2005, 12:23 AM
Note: replacing sound files WILL NOT allow you to play on anything but local servers!
Good to know. I really wanted to replace the default bg music with Paul Oakenfold's "Aeternal" mix but being as it affects online play, I'd rather not.
wolfi
08-03-2005, 09:17 PM
- Take a stereo wav file. Download the Vorbis tools (http://www.vorbis.com/files/1.0.1/windows/vorbis-tools-1.0.1-win32.zip).
- Copy the wave file into the vorbis directory.
- Open windows cmd line and change to that vorbis directory
- Type filename.wav -b 112 -s
- Enjoy
Nikko
08-04-2005, 05:33 AM
Great information! Thanks for all of this input, guys. I'm going to mess with it a bit soon for sure.
Bobton
08-04-2005, 06:19 AM
I just downloaded the official tools, dragged and dropped a .wav file (44khz, 16 bit stereo I believe) onto the program, it converted the .wav file into a .ogg file, and the directory I placed it into was something like:
common/blahblah/menu/sound/menu_music.ogg
Wasn't too hard...
NAK[n00gz]Wolf
08-04-2005, 09:37 AM
I replaced the loading music load_MEC_music.ogg one of my own mp3's converted it to .ogg and replaced the file over the original, problem is now ive got no loading music at all :cry:
wolfi
08-04-2005, 05:53 PM
Yea thats used for ambient sounds and so on.
I placed a little devils laugh at a hidden place in my (night, jungle) map.
If you pass this waypoint you can hear a loud "MUHAHAHAHAHAHAHAAAA" :laugh:
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.