hmmm. will have to test this.
I assumed .ogg files were compressed to save ram, but the compression could be causing a load problem.
I also recommend maybe doing this as a mod. Doing any verification may undo the changes where if the sounds exist in the mod that is where they are loaded from.
Bookmarked
I think that WAV format reduce CPU load because it's not needed to decode/decompress sounds.
And I test this solution on different saves where a battle was lagging and always there is no lag anymore.
With or without 4 GB patch the game will not crashing or something else. But it need testing for a long time.
Does not work!
File rename.bat does not work, the files remain in the wma format and in a game they are not working, no sound!
This file just rename extension of all converted wav files. It 100% work, just tested.
It don't work because you launch this file from Administration rights!
It's no needed!!! Just double-click on it...
That's not renames them, the files remain in the wma format!
And these files to replace the original files in the Sound folder after I'll put them there?
I have have simply remained in a format wma and were located near to original!
Ok. Another way.
Create folder Sound on drive C and put there all converted wav files.
Launch command line. Start -> Run -> cmd
Then write:
cd C:\Sound (and press Enter.) Now it's in Sound folder.
ren *.wav *.ogg (press enter)
Rename original sound folder to Sound_ogg.
At the end copy your Sound folder that place on drive C to game directory where the original folder was placed.
You'l need WAV format - not WMA!!! Only WAV!
It's different audio formats - not the same.
Sounds plausible. If that is the case the quickest & most significant gain would be to convert frequently played, small, sounds from .ogg to .wav format - weapon/ability effects and engine loops spring to mind, especially as several play at the same time.
Music maybe a factor but that tends to be large and only one tune plays at a time, so conversion may not save much CPU load (but could use more RAM).
Converting dialogue sounds (unit orders and GameEventSounds) probably would have the least benefit as thy are heard comparatively infrequently.
If anyone uses Cygwin then the 'sox' command can be used to convert from one format to another.
Eg: Convert SOA2's Borg mantra
This does show that .ogg is compressed when compared to .wav - 111kB for .ogg versus 1.4Mb for .wav.
However, unless .ogg's can be sent directly to the OS's audio subsystem (like some texture formats can be loaded directly by video drivers) this difference may not reflect an increase in RAM usage as Sins would have to uncompress the .ogg into a larger memory buffer (to store the compatible format) before playing. So converting from .ogg to .wav may not be that bad in terms of memory usage.
After all .oggs may have been chosen to reduce the size of the stuff written to DVD (back in the old days) or to reduce the size of the download via Steam (or Impulse, again back in the old days)
I for sure wouldn't do music in wav format but there might be value in converting smaller sound effects.
I'll give it a try too. Audacity can batch convert ogg to wav and it should be simple enough to convert the non-music to wav format.
Yes, confused, not in a format convert! Everything works, thank you
There are many great features available to you once you register, including:
Sign in or Create Account