View Single Post
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#9
Yeah no download link yet, sorry - looking to get that up as soon as music playback and savefile name generation works.

What's gonna happen is new savefiles will get a default name in format Date+Time. If you have a keyboard you can edit that, otherwise at least you'll be able to save unique savegame names w/o keyboard input.

I couldn't get any version of timidity to reliably play back the U7 music with below 10% cpu usage. Best average was 12-14% with all options set to minimal. Maybe eventually i'll find a way to hack timidity to be more lightweight, but at this point it's not looking like a smart option.

The obvious choice is to go with mp3 played back by dsp, as this uses almost no CPU. So i've been transcoding to mp3 tonight. The latest batch is decent quality but slightly larger than ogg source.

Gstreamer was having trouble with my vbr mono encoded mp3s so i switched to 56k abr joint-stereo and haven't noticed any playback problems yet. I increased volume which led to occasional clipping, but that's preferable to not-hearing-anything during quiet passages. You'll still have the option to turn the volume down, but as they were there was no way to hear some of the sound effects/music in normal environments.

If you want to help, download and test playaback of the transcoded mp3s on the nokia, using whatever player you've got that handles dspsink playback. Audio player, mplayer and gst-launch filesrc location="FILENAME.mp3 ! dspmp3sink " all work.

Grab my Ultima7_music_mono_mp3.tgz (Edit - now downmixed to mono, 30->13MB) Let me know if the playback breaks / aborts. Remember, test with nokia dsp / gstreamer playback only! The mp3s play fine on pc.

The default destination directory for the stuff is in folder "music" in the exult data directory. This is settable in the exult config file.

As soon as the savefiles and dsp-based gstreamer mp3 playback works, i'll put up a testing binary. Later tonight i hope.

Last edited by ArnimS; 2007-05-03 at 00:34. Reason: change music link