Why my stuff is Open Source?

I have several reasons why most of my games and programs are Open Source. Here are some of them.

Let's consider an example. Why is Formido available for Windows, Linux, MacOS X, BeOS, Xbox, AmigaOS and even OS/2..? The answer is obvious. Should I have kept it closed source, it'd be for Windows only, and maybe Linux.

Here's another example. Recently I was contacted regarding a bug in Funguloids that prevented it from working with Ogre versions 1.4.6 and newer. I had no idea of this bug, as I haven't personally touched the game since its last release, which uses Ogre 1.4.1. Things have been happening on the community front however, as Funguloids has found its way into Ubuntu Hardy (for which I'm very grateful! 🙂) After exchanging a few e-mails, the person who reported the bug presented me a patch (an one-liner, even) that fixes the problem. I didn't even get started examining the issue myself! Very nice.

Also, as I have learned a lot by reading source code, I feel kind of obliged to do the same.. I'm not worried about people stealing my code – the code's not that good to begin with. 😉

Why I use Linux more than Windows on these days..

Yesterday I dug up my Jewels-project from under the thick layer of frost it had gathered during the winter days. As it is a XNA-game, I have to boot into Windows to develop it. I installed XNA 2.0 and started porting the game. After a few head scratchers I finally got the game working properly in XNA 2.0. Great!

I'll try to finally finish that game, so I have been making some improvements and fixes. I need to add the timed play mode, and the do the game settings menus.. *sigh* Damn, why games must have settings menus..!?

Anyway, I noticed that I needed a key typing sound for the highscore screen where the player enters their name. You know, the old typewriter sound. So, I browsed my earlier game sounds, found a sound, double clicked it. Winamp starts. At this point it occured to me: oh crap! I have Winamp set to playlist looping, which is what I like when I listen to music. However, double clicking a file replaces the current playlist and plays the single file looped. In case of a short sound clip, the sound repeats quite often. It sounds a bit annoying, but that's not the worst effect here.

You see, on this machine, Winamp somehow cannot handle a short sound clip played on repeat (I only remembered that *after* I had activated the file!) – it crashes. And hard. So Windows presents me a message the Winamp had to close. When I click on Close, the computer reboots cold. Same as when I press the reset switch. And that annoys me. This has happened several times, and it's annoying. A cold reboot doesn't exactly do wonders on your HD.. 🙁

When Windows finally comes up (that's another thing, it takes ages to start up – although I do have years worth of crap installed, so no wonder..), it presents me a familiar little dialog:

Feels like coming home.

My adventures with Python / PyQT

First of all, let me just say that Python + PyQt just rocks.

I've been recently learning Python. Just for fun, basically. Additional benefit is that now I have a better understanding on how to cope with Zope/Plone at my work. Anyway, apart from the Zope/Plone stuff the first thing I did in Python was a command-line script that allows creation and handling of .mpk files that I've used in a couple of my games. MPK or MPak is a simple WAD-like format that stores all the game files in a single package file. I had a C++ CLI application that did the job, but it was really a piece of crap..

So I deciced to write a replacement for that app, in Python. The finished script (mpak.py) is much nicer to use and works better. I wrote it in Linux and it worked as is in Windows too – neat.

Then, I wanted to try GUI stuff and went with PyQt. I had a simple DVD collection management software called MyDVDCollection that I had written in .NET using C#. It worked, but was not too good either. So I began hacking away with PyQt and now I have PyDVDCollection (pretty clever names, huh? 😉) that I use for maintaining my collection. It has less code and more features than its .NET counterpart. It works in Linux, naturally, and also beautifully in Vista.

As you can probably tell, I'm very impressed with PyQt and the Python language, and I'll be using them in the future as well. 🙂

I Have No Delete Key

Ubuntu 8.04 LTS aka Hardy Heron was released yesterday. I had previously installed 7.10 aka Gutsy Gibbon on my new laptop, and upgraded to Hardy last night. The update process went quite nicely, except for one strange thing: my delete key no longer works! O.o When I press delete, the laptops WLAN led goes on – nothing else happens. When I press it again, the led goes off. [Homer impression:]"Led goes on, led goes off, led goes on, led goes off…". (sorry about that – just when they're going to release the season 11 on dvd!?)

On this laptop (Acer Extensa 5220) the WLAN led is always inverted in Ubuntu; when the WLAN is in use, the led is off. That doesn't bother me at all. However, I would like to get my delete key to work again. I use that one quite a lot in typing/programming, and well, in deleting things…

I made a thread about this on the Ubuntu forums, but so far the problem remains a mystery. Other than this little annoyance, Hardy seems very nice. And it works quite well in this laptop. Update: Turned out it was a known bug. It works now. 🙂

So it's finally come to this..

Yes, I've started a blog. I'll try to write here at least somewhat regularly, but knowing me, it's probably not going to work.. 😉 I'm quite busy in school (a software project course going on right now, it's big!) at the moment, but I should be able to do more this summer. On the other hand, I do have work then and I'm hoping to write my bachelor's thesis too.. So we'll see. I have some other plans too, but I'll talk about them in another post.

And that's that. I guess this shall do as The First Post(tm)