View Single Post
Posts: 1 | Thanked: 0 times | Joined on Feb 2008
#35
Originally Posted by Nathan View Post
Very Interesting, I've got the title music working. Unfortunately the game doesn't support MP3 or OGG so you have to use either a WAV or a .WAV compressed with gzip (maybe bzip, haven't tried it but the source code supports it) to at least take a bit (about 1/5th) of size off of it.

Man I forgot how much I loved the WC music until I heard it coming out of my N810... :-D

Someone else has a simple LUA patch to add file based music instead of CD music. I'll convert it to wav format patch and then if you really want to "waste" 20-30 megs of space for the music (like me) you can. ;-)

Once I have ported it -- I'll let post the simple replacement script file. In the meantime you can download the "official WCII MP3" from several sites on the web (22 megs) -- Blizzard released them a while back.

Nathan.
If you do not wish to dload 20-30M of mp3s, an alternative is to download the midi files that amounts to <150K. Then use timidity to convert the mid files to ogg,mp3 or wav.

Garage appears to contain a Timidity player but i'd imagine the cpu load would be too high for ingame music. One alternative may be to convert the midi files to mod format. Mod files are somewhat smaller than mp3s and playback cpu load would be low.

You mentioned a lua patch. I've been unable to get DefinePlaySections working in sound.lua. Any info would be useful.

Pete