Hello,
My first post here (though I'm sure it won't be my last ;)) and I need a little help.
I'm currently porting the games I wrote in Fenix for the GP2X/wiz to BennuGd for the Caanoo. I've made quite a bit of progress but I'm having a problem when trying to play songs. The songs are in ogg format and they play fine in Bennu for windows but on the Caanoo they don't play, I can only hear sound effects. Any idea where the problem could be or is it possibly a bug.
Thanks in advance for your help, and keep up the good work.
Welcome to your DOOM!
(http://images2.wikia.nocookie.net/__cb20070608182324/inciclopedia/images/7/77/Asustado.png)
The answer is mp3!
But it will be solved in near future
The problem may be if you don't copy the vorbis.so and ogg.so (or something like this) with the rest of your bennu modules.
But Splinter said that SDL_mixer isn't working fine with OGG (MP3 works better, but still have some problems). He's waiting a SDL fix from GPH.
Thanks for the replies. It seems there is no vorbis.so/ogg.so included with the caanoo download so that could explain it. I didn't realise Bennu supported MP3 so i'll try using MP3 instead and see if that works. Thanks for the help and I'll let you know if using MP3 works okay.
Edit:
Well, it says mp3 is not a recognised format, is MP3 only supported via a different module and is that module available for Caanoo?
There are the fmod module but not for Caanoo. Just wait for ogg fix in next release.
use version that is included in this games
http://www.megaupload.com/?d=68AFK8AI
http://www.megaupload.com/?d=Q5YC40ZE
Thanks very much Splinter, I'll give it a try now.
Hi again, I just tried both games and the music doesn't play in those either.
In my caanoo works... you use the original package or you modify some file or script?
No, I didn't change a thing. So far the only bennu game that plays music is 'EEEEK! EEEEEK! HOOOOOOK!!!' but that uses mod tunes.
I've tried the ogg files in the caanoo music player and they work fine.
Is it possible that I have a different firmware? Device info says:
Version : 1.0.1
Firmware : Linux 2.6.24 Revision: 120
yes, my version is 0.8.5
well, remove sdl_mixer from bgd-runtime folder.
I removed 'libSDL_mixer-1.2.so.0' is that the correct file? It made no difference removing it though.
Do you think it's likely that GPH have changed something that has broken the music playback in Bennu since we have different versions?
maybe gph use libogg directly.
really I don't know what is the problem, I think that I can't help you.
my caanoo version is different of actual caanoo, GPH tell me it last night.
I don't know which are this differences.
try remove sdl, sdl_mixer, from bgd-runtime folder.
Tried that and still nothing unfortunately. Hopefully GPH can shed some light on it.
In the meantime I can ask users on the GP32X forum to test it to make sure it's definately a problem with all caanoo with this version and not just a one off problem.
please, test with new version... and do this...
bgdi game > game.log 2>game.err
and copy&paste this logs here
Hi Splinter,
Here are the log files, the version I used I think is the latest: 'bgd-1.0.0RC16(r164)'
[code language="Log"]FB_OpenMouse()
Using tslib touchscreen
set slave address success...
check functionality... ok
I2C Block read function success... using block reads[/code]
[code language="err"]Couldn't load title.ogg: Module format not recognized
Couldn't load game1.ogg: Module format not recognized
Couldn't load game2.ogg: Module format not recognized
Couldn't load game3.ogg: Module format not recognized
Couldn't load goal.ogg: Module format not recognized
Couldn't load gameover.ogg: Module format not recognized
Couldn't load hiscore.ogg: Module format not recognized
Segmentation fault[/code]
Sorry for this late bump, but I have a question:
In my Caanoo game I have an option to switch on/off music that is played using play_song(..), but when I have it on, the game lags. Is there a way to avoid this? I'm using *.ogg for music, and wav for sound effects (which doesn't lag).
EDIT: Nvm, I just reduced the Hz and bitrate.