Friday, June 8, 2012

Preview release of binaries based on official monolithic version

I'm releasing a preview version of BennuGD for Wii based on upstream monolithic code.

Known bugs:
  • There's something weird going on with directories and as a result of that BennuGD won't automatically set the working directory to the path where your DCB resides. This means that you won't be able to launch your games from the Homebrew Channel just yet.
    I've only tested the binaries to work when launched through wiiload.
    You'll also still need to change the working directory from your BennuGD code to the correct path, with something like:
This build only includes the official modules, but includes all of them. I've also left some debugging info on. It'll go away when the proper release arrives, obviously.
<<Get it from here>>

If you know how to compile and run your code through wiiload I'd like to ask you to download it and tell me if it's working fine for you.
Cautions from previous releases still apply:
  • Convert your music to 48kHz
  • Don't use FNT files compressed with gz
  • All that stuff
If it's not, please report bugs in the comments section of this post or -better- in the project's bugtrack section.

Thanks a lot.

Tuesday, June 5, 2012

Compiling the Wii port with the official monolithic code (Part II: BGDI)

So this is what the official monolithic version of bgdi looks like when compiled for the Wii and run without arguments.

It's noteworthy that it's a complete version of BennuGD: all and only the official modules are built in: I'll still have to merge unofficial modules (mod_wpad, mod_chipmunk) before doing a proper release but this is a completely up to date build of BennuGD.

I'll run a few tests and in case everything is working as expected I'll drop the binaries here for you to play.

[EDIT] Sorry, no release for you today: Modules are loading and some functionality is there, but there's some major stuff not working and I need to fix it before releasing anything useful :(

Friday, June 1, 2012

OpenGL coder needed!

[Cross-posted to bennugd-wii and bennugd-mobile blogs]
[Please note that this is my own personal initiative and, while Splinter is fully aware and approves it, he's not directly involved with it]

Over time BennuGD has achieved quite a few milestones: not only it's one of the easiest open source game programming languages around but people have used it to create very fun gamesthousands of people have downloaded BennuGD games for the Wii and hundreds of thousands of people (if not millions) downloaded SorRv5 in the few days before it was taken down by Sega. It also hit the front of many game related magazines. And even after the official links were removed, loads of people continue to post Youtube videos with SorRv5 game content, which is really cool.

More importantly, BennuGD now works in most PC OSes, but it has also been ported to some really interesting platforms: classic game consoles and handhelds plus iOS and there's a WIP port (that's proving to be more difficult than initially thought) for Android. This enables you to create your game in your computer and, if you take a few basic precautions, run it in your favourite platform.
In most platforms performance is not a problem but in others it is not ideal. For example, trying to run a BennuGD game with a multi-plane scroll in iPad 2's native resolution results in a more than sub-optimal experience, and we want that situation to improve. Games need to render faster and for that to happen we need a new hardware-based blitter that can co-exist with the current software based blitter.

Day after day we see games that could easily be made with BennuGD (plus some unofficial extensions) succeed in those new mobile patforms but we need that new 2D blitter if we want to allow people to create such games.

Right now it doesn't look like the current members of the community can step up and create the new blitter themselves, so I'm asking for help. As I said before, this is not an official effort in the sense that the BennuGD project leader is not behind it but he also feels the need for this and if some good code appears I'm sure he'll be happy to see how it fits in the official code base.

Technically the work that needs to be done roughly consists in rewriting/modifying some of BennuGD's core libraries to be OpenGL (+OpenGL ES?) based. Those would be libgrbase, libvideo, libblit, librender and probably others, too.
The new code should be written in C and your code would be distributed under the zlib license (just like BennuGD is) so that games created with it can be distributed in any manner no matter the platform.

If you feel like you can help and want to use some of your time helping an open-source project please leave me a note in the comments and I'll get in touch with you. Don't worry if you don't know how Bennu works internally, I can help you with that.

Thanks a lot in advance!

Sunday, May 13, 2012

Compiling the Wii port with the official monolithic code (Part I: BGDC)

Yesterday I spent an hour or so playing around with the official monolithic code.
I got BGDC to compile from SplinterGU's monolithic code.

What you're seeing is the standard info message you get when you call "bgdc" without any arguments.
Not really impressive but it's progress, in a sense :)

PS: The patch includes one small dirty section; we'll fix it before release

Thursday, May 10, 2012

Official Monolithic architecture now available!

(Cross-posted to bennugd-wii and bennugd-mobile blogs).
SplinterGU just made an official monolithic implementation of BennuGD available in the official SVN repo.
The implementation is pretty-similar in design to mine but SplinterGU has managed to make it much easier to mantain (the header with the list of required symbols are generated automatically so he basically just maintains the modular version). That said, future updates to my ports (both for the Wii and for mobile platforms) will be based upon this design. I don't yet know if I'll publish full sources or just a set of patches against the official repo.

In any case, SplinterGU has expressed interest in the Wii port so it might become official at some point.

Not much more to announce: I advanced quite a bit with the iOS port and should published an updated template shortly. The android port still has troubles with the sound, and those don't seem to be going away shortly.

Happy coding!