|
|
Hey !
I have a problem with my Sound Mod.
My code is like:
Only some .ogg Files work ingame. The others wont. But i cant see any difference between the files. I compiled them with the same program and the same properties. It cant be the length or the size because some bigger files work fine.Code:<?xml version="1.0" encoding="UTF-8"?> <modification application="Heroes of Newerth" appversion="*" mmversion="1.2" name="none" version="1.2" date="01-01-2000" description="none" author="none" > <copyfile name="shared/sounds/announcer/9_kills.ogg"/> <copyfile name="shared/sounds/announcer/10_kills.ogg"/> <copyfile name="shared/sounds/announcer/double_kill.ogg"/> <copyfile name="shared/sounds/announcer/triple_kill.ogg"/> <copyfile name="shared/sounds/announcer/quad_kill.ogg"/> <copyfile name="shared/sounds/announcer/annihilation.ogg"/> <copyfile name="shared/sounds/announcer/first_blood.ogg"/> <copyfile name="shared/sounds/announcer/massacre.ogg"/> <copyfile name="shared/sounds/announcer/get_it_on.ogg"/> <copyfile name="shared/sounds/announcer/prepare_for_battle.ogg"/> <copyfile name="shared/sounds/announcer/rage_quit.ogg"/> <copyfile name="shared/sounds/announcer/victory.ogg"/> <copyfile name="shared/sounds/announcer/defeat.ogg"/> <copyfile name="shared/sounds/announcer/nemesis.ogg"/> <copyfile name="shared/sounds/announcer/rival.ogg"/> <copyfile name="shared/sounds/announcer/retribution.ogg"/> <copyfile name="shared/sounds/announcer/payback.ogg"/> <copyfile name="shared/sounds/announcer/smackdown.ogg"/> <copyfile name="shared/sounds/announcer/humiliation.ogg"/> <copyfile name="shared/sounds/announcer/denied.ogg"/> <copyfile name="shared/sounds/announcer/kongor_slain.ogg"/> </modification>
For example:
Work
Dont
Which ones spicifically work and which ones don't.
Gotta figure out what seemly random thing isn't so random.
-------------
You're replacing these files right?
So shouldn't it be more like
Ofc your code is like that so it may already be okayCode:<?xml version="1.0" encoding="UTF-8"?> <modification application="Heroes of Newerth" appversion="*" mmversion="1.2" name="none" version="1.2" date="01-01-2000" description="none" author="none" ><copyfile name="shared/sounds/announcer/9_kills.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/10_kills.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/double_kill.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/triple_kill.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/quad_kill.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/annihilation.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/first_blood.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/massacre.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/get_it_on.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/prepare_for_battle.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/rage_quit.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/victory.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/defeat.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/nemesis.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/rival.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/retribution.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/payback.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/smackdown.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/humiliation.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/denied.ogg" overwrite="yes" /> <copyfile name="shared/sounds/announcer/kongor_slain.ogg" overwrite="yes" /></modification>![]()
Now you say some of it, all you're doing is overwriting the default announcer so people who use flamboyant or gentlemen annoucer will still be there btw.
It be best if you make a list of what works and what doesn't it should atleast give you some insight into why it's not working out.
3 Sounds work at all phrases and any announcer the other dont.....
it must be the f*** sounds
and pls dont say their too long or 2 big cause on double tap a 13 sec & 150 kb sound work and a 2 sec sound and 24 kb dont
so any other ideas ?
Looking at the original files and the files you listed
The orignal files were
Format : Vorbis
Bit rate mode : Variable
Bit rate : 77.3 Kbps
Channel(s) : 2 channels
Sampling rate : 22.05 KHz
Compression mode : Lossy
Writing library : libVorbis 1.2 (UTC 2007-06-22)
your file is
Format : Vorbis
Bit rate mode : Variable
Bit rate : 320 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Writing library : Lavf53.30.100
Seeing as it didn't seem to matter that you have a much higher bitrate and sampling rate. My guess is that your variable bit rate hits parts that are too heigh for hon to play. As in it being a variable bit rate maybe parts of the file hits 800kbp/s as not all variable bit rate is the same.
One thing i did notice is that although both are encoded as 320kbps variable bit rate the one that works has
Overall bit rate : 197 Kbps
while the one that doesn't
Overall bit rate : 235 Kbps
Suggesting it peaks higher, i would just bring everything down a notich. Be easier just to see if re recording everything at a more senable sample size of 44khz, at 160 or 192kbps see if that makes more work if it does you have your answer. As in a Quality like 1 or 2 not up there at 4
Last edited by uc; 03-16-2012 at 06:07 AM.