Posts tagged: Linux

Linux Game Sales Count

I propose that when counting the “Linux sales” of a game to reduce the Windows sales of that title by the same amount.

I can’t speak for everyone, but when I purchase a game for Linux (usually via digital download) like these great games which are on sale right now:

when I’m offered links to the Linux version and to the Windows version, I download from the Linux link first but I always download the Windows version immediately after.

I’m uncertain how many people are out there who do the same thing, but I propose reducing the Windows count by a certain amount all the same.

I even bought a Windows netbook (and later returned it) with the intent of wiping Win and replacing with Linux.

VirtualBox Network with XP Guest in Ubuntu Host

This tip refers to VirtualBox 3.0.8 and Ubuntu 9.04.

If you’re anything like me, you might have need of a WinXP install within Ubuntu. In my case, it’s convenient to have a VirtualBox of Windows running for immediate testing of websites (as I build them) so that I can test the sites functionality and appearance within Internet Explorer.

Unfortunately, the default settings of a guest WinXP install don’t allow for networking “out of the box”. But it’s an easy fix!

First, make sure the virtual machine is not already running. Turn it off if it is.

Next, highlight the WinXP virtual machine within the Sun VirtualBox main screen. Click Settings. Select Network. Change the Adapter Type to Intel PRO/1000 T Server (bunchanumbers) then OK and start the virtual machine.

When you boot into the Windows guest, the network should now work.

Adjust World of Goo’s Resolution

World of Goo celebrated it’s first birthday earlier this week. To honor the birthday, 2D Boy, the game’s developers, have priced the game at whatever you want to pay. But you have to act quick as the sale runs out October 19.

Significantly, there is a .deb installer for the game. It runs very well on my old laptop running Ubuntu 9.04.

Back to the topic at hand, can you change the resolution of the game? How about running the game inside a window rather than fullscreen?

Yes you can, and yes you can. Here’s how.

Find the config.txt for the game in


You could edit that config.txt if you like, but it’s recommended you copy it to your $HOME directory.

cp /opt/WorldOfGoo/properties/config.txt ~/.WorldOfGoo/

Now you don’t have to sudo the file to edit it. Open up the config.txt that you placed in $HOME/.WorldOfGoo/ (I like to use scite).

scite ~/.WorldOfGoo/config.txt

Starting around line 20 is the Graphics Display area. It looks something like:

<!-- Graphics display -->
 <param name="screen_width" value="800" />
 <param name="screen_height" value="600" />
 <param name="color_depth" value="0" />
 <param name="fullscreen" value="false" />
 <param name="ui_inset" value="10" />

Change the screen_width and screen_height values to whatever you desire. Likewise with the fullscreen option. My config shows I run the game in 800 by 600 resolution in a window.

Next time you launch the game, the settings will have taken effect.

DrPetter’s SFXR with Ubuntu 8.10

“Ubuntu 8.10” you say? Yep, I’m still rocking the Intrepid Ibex. Ubuntu 9.04 doesn’t work as well as I’d have hoped and I’ve got my Ubuntu 8.10 partition all configured and useful.

I’m getting off topic, though. I’ve been playing with the Slick game library (which is an extension of the LWJGL for Java game programming). And with any video game, you need sound effects. Lots of sound effects. And when you don’t know how to make sound effects, what better way to make them than… randomly!? Yes, by using a “random sound effect” generator. Particularly, DrPetter’s SFXR.

Download SFXR from DrPetter’s page first, but if that fails you can grab it locally here.

The install is the standard linux make/make install, but it requires libsdl1.2-dev and libgtk2.0-dev installed first. (Thanks to cecil for pointing out the gtk2 requirement).

sudo aptitude update
sudo aptitude install libsdl1.2-dev libgtk2.0-dev

Then run the make and install for SFXR (from within the SFXR directory)

sudo make install

Now you’re all set. You can run SFXR from the command line simply by typing sfxr.

You were burned

I’m in the habit of reinstalling my operating systems every couple months. It’s just something I do and I suppose it keeps me in practice. To the point, this weekend I had planned on reinstalling the OS’s on my main PC. This means whiping the data, resizing the partitions based on how much space I took up in the previous months, and then reinstalling WindowsXP on one partition and then (hopefully) Ubuntu on the other.

The only thing new this time around, compared to the previous installation two months ago, was the inclusion of another 500GB SATA2 hard-drive during installation.

Windows installed fine, being the main reason for the reinstall in the first place (Hello, windows bloat?). My next step would be to reinstall Ubuntu.

I recalled that back in April I encountered a problem with the installation on my PC. It didn’t like my hard-drive setup or something like that and I needed to start the installation with the “pci=nomsi” command (Press F6 and then type pci=nomsi <enter>).

This is where I encountered my problem, Friday night, which has led me up to this point Sunday afternoon. The disc somehow became corrupt. Every time the base-install would get to the point where it would install mii-diag it would debootstrap red-screen me. I won’t expect you to have ever heard of that .deb package as I never had. That file was corrupt, along with a few others.

I fished around for my Ubuntu server installation, got that installed but with some funny side-effects (duh, I wasn’t looking for a server install). Next up, I downloaded the 8.04.1 Ubuntu .iso and burned that (at full speed) and tried the install. Same problem!

At this point, I thought maybe it was a file being served to me from the Canada repositories that was corrupt so I tried the install again! This time, with the USA repos. And then again with the UK repos… always the same problem.

Now it’s Sunday morning and I decide to check the Ubuntu forums and launchpad discussions. Turns out that if you burn at a fast speed then you, like I did, will get burned. So I’m successfully installing this very moment after a 1xburn of the iso.

Burn your linux distros at a slow speed to prevent a weekend of headaches and time from your loved ones.

Staypressed theme by Themocracy