Showing posts with label SDL. Show all posts
Showing posts with label SDL. Show all posts

Tuesday, December 28, 2010

Firewhip coming to a Wii near you, plans & where have I been?

Sorry for not posting in such a long time. I haven't directly coded on the Wii source for a bit of time, but I did take the Wii code and add SDL1.3 support to it, so now we have a (mostly) working iPhone port for BennuGD! Turns out that making BennuGD support SDL1.3 also fixes an annoying bug we had in MacOSX where 32bit color wasn't working at all. So you see, things fix all on their own with SDL1.3 :). The code is now in trunk.
If you have a look at the code, you'll see I've created many Makefile's, one for each supported platform. Things only get worse as now most platforms support two different/incompatible SDL versions.
I shall fix that* by dumping that system and creating a build system, probably based on CMake.

Also, a week ago or so, the nice guys from DevkitPro (the SDK I use to build BennuGD on the Wii) have released libogc 1.8.6. In their release notes, they say they've fixed something related to wrong readings in Balance Boards. Bennu was getting wrong readings from Balance Boards, so hopefully when I recompile BennuGD for the Wii with the new libogc, you'll be able to use the Balance Board correctly :)

Also, just a couple minutes ago I found out about a very cool game called "Firewhip". Have a look at the video, as it is a realy cool one:


As it turns out, this game had a pretty serious bug that had been triggered when it was converted from Fenix to BennuGD (some change in behaviour about process creation or something like that) that was pretty easy to fix once triggered, so stay tuned as this cool game is coming soon to a Wii near you!

Wednesday, November 4, 2009

BennuGD-wii, "Comes With Music" edition

After the guys from SDL-Wii fixed the sound initialization code, sound is working better than ever (well, it's working for the first time).

To commemorate this event, I've uploaded a new version of BennuGD-WII code-named "Comes With Music". Basically, what this is is a version of Bennu that integrates the functionality found in mod_sound (minus a few bits related to the definition of these globals that I'll hopefully add sooner than later).

The code uploaded comes with a module tracker example song that will play when you unpack the contents of the archive to the APPS folder of your SD card and load it through the Homebrew Channel on your Wii, but the binary should allow playback of many other song formats: OGG, WAV, MP3, MIDI...

Hope you like it!

mod_sound might get fixed soon

Looks like I might be able to fix the problem with mod_sound soon. There was a bug in the SDL code for Wii that caused the sound to initialize incorrectly when trying to play an ogg sound... This resulted in a very crappy sound, as described here.
Will report on progress and upload some test code when I get time to test this.

PS: To clarify, the code is really inside the binaries I uploaded a few days ago, I just need to link that code to a newer revision of the SDL code and hopefully, that will give us sound support.

Saturday, October 31, 2009

SDL has now been initialized

I finally got a bit of time to get mod_time working.
The functions seem to work fine, so now the three functions it contains (ftime, get_timer and time) seem to work fine.

The nice thing is that this means that SDL is being initialized at the program startup. This is important as SDL is the main library behind Bennu, so it's always nice to see it not crashing.

I also added the test case for this library (examples/05_mod_time.prg, 04_mod_math.prg is missing, sorry for that) in case you wanna give it a try.

More updates to come.