Monday, September 22, 2008

Xbox360 Chatpad and Galapix News

I finally got my hands on a USB trace of the Xbox360 chatpad initialisation, I haven't managed to figure it out all, but so far I am able to switch on the backlight LEDs on the chatpad and figured out where the keycodes should come in, so there is some new hope that xboxdrv might get chatpad support in the not so distant future, but further reverse engineering is needed, seen I still don't know how to actually get the chatpad to start sending keycdoes.

In other news Galapix SVN now has support for rar, zip, xcf, png, krita and a heapload of other file formats, its not quite rock solid and often not very fast, but it makes it quite a bit more useful then the jpeg-only support it had before.

Tuesday, September 16, 2008

Sam & Max: Season 1 PC Review

Sam & Max: Season 1 tries to continue what LucasArts stopped doing a decade ago, namely being a point&click adventure in the very classical sense. The interface is for most part what you expect, you have an inventory as usual, classic dialog trees and control your character by good old point&click. The interface however got simplified in that you no longer have any verbs left, actions are automatically triggered by simply clicking on things. While the world is presented in 3D this time instead of 2D, you are working with a fixed camera position, so the navigation stays pretty much exactly the same as in the 2D days, but suffers from a few glitches in path finding and the moving camera angle, which makes it hard to click on things while your character is walking. The game also lacks a double-click triggered run-function, which causes some walking to feel more tedious then it should be.

The background graphics themselves are ok, but nothing special. Cell-shading is non-existant and many textures look uninteresting, so things look rather simplistic and bland and lack the style that the old 2D games had. The animation in the cutscenes and characters on the other side is quite well done. The graphics however are rather demanding, on a Athlon1800XP with a Geforce5200fx they barely work, its playable, but in some scenes the framerate goes below what is tolerable (Note: this might or might not be due to running under Linux in Wine).

Season 1 bundles six seperate episodes, which causes some annoyances in that you have to deal with six seperate executables, instead of a single one. This in turn also means that savegames for all episodes are seperate and that the graphics settings are seperate as well. So you have to configure each episode again and can't quickly switch from one episode to the other. In terms of configuration the game also lacks some options, there is no support for widescreen monitors and the resolutions are fixed to 800x600, 1024x768 or 1280x960, so if you have a 1280x1024 monitor you either have to stretch the image or live with black bars. There is also a lack of scroll wheel support which could have been useful for dialog and inventory navigation. While the game comes in quite a few languages, it doesn't offer any way to switch the language in the game, you have to reinstall the game to get a different language, which is annoying.

The game works fine under Linux in Wine once one has installed the correct No-CD cracks, without them it won't function. In older versions of Wine the thumbnails for savegames won't work, but that seems to be fixed in current versions.

Now to the game itself. The humor is good and works fine for most part, it however often feels a little stuck in the old days, since it makes to many references to old games and thus sometimes doesn't feel like it can't stand on its own. The story per episode are ok too, but due to their shortness lack depth and repeat quite a bit, since most episodes follow a very similar pattern. The game is also rather short on locations, per episode you basically only have two locations to go to, one is the street where your office is located and the other is something specific to the episode. You have to move between those a lot to solve the puzzles so it gets a little boring to revisit the office over and over again in each episode trying to spot some tiny things that have changed and could be used in a puzzle. Some more variation or episodes playing completly outside of the office would have been nice. The overall story arc is sadly rather non-existant, while there is always a tiny cliffhanger at the end of an episode, it does little to give the overall Season 1 much meaning, you are basically doing what you are supposed to be doing in an episode, without thinking much how it would arc over the whole season. The game tries a little to hard to be episodic, I would have preferred it if they would have done a full adventure and then simply broke it into chapters, then having six mini-adventures which don't really connect much.

Anyway, all that nitpicking aside Sam & Max: Season 1 is a solid fun game. It can't quite match the adventures of the good old days and has a few problems that could have been avoided, but what it does it does well enough to be entertaining. It is no revolution to the adventure genre and doesn't try to be one and while that annoys a little bit, its also good to have an adventure game that simply tries to be an adventure game and nothing else. It is simply good old point&click fun, nothing more, nothing less.

Friday, September 12, 2008

Galapix 0.0.3

Time for another Galapix release, changes include:
  • fixes for gcc 4.3
  • added random layout function
  • added random shuffle
  • added function to create non-overlapping layouts
  • scale is smoothly handled on relayout
  • added MoveTool to move and scale images
  • fixed random halting of the application
I also created a short demo video that shows what Galapix can do, came out a little more blurry then expected and the framefrate seems to get weird when you try to seek in the video:

Thursday, September 04, 2008

Galapix 0.0.2 out now

After some SVN repository splitting and webpage building Galapix 0.0.2 is out now, for those that don't know:

Galapix is an image viewer that allows you to directly zoom into large collections of tens of thousand of images from tiny thumbnails down to the images original size fluently with short load times and no loss of interactivity. It accomplishes this by keeping a tile cache which stores not only thumbnails for one size, but thumbnails of many different sizes.

Download can be found at the Galapix page:

Tuesday, September 02, 2008

Splitting an SVN repository

Griv, now renamed to Galapix due to naming conflict with another project, is currently sitting in the Windstille repository, however since the project has grown 'big enough' it shall now get its own repository. Trouble is, how does one split a repository? The official docu is a little lacking and svndumpfilter doesn't look like the most solid tool either, so a little trickery was involved and here a little howto.

First get yourself an up to date dump of your SVN repository, if you have it local, its just a 'svnadmin dump repo/' command, if you have it remote you have to make sure that the backup you download is actually up to date, since the dumps are only updated once a day on most public hosting services. Simply grep for "Revision-number:" and compare it to whatever svn tells you about the repository.

Next step is to filter the repository, in my case it was done via a:

svndumpfilter include --drop-empty-revs --renumber-revs trunk/griv trunk/griv-old branches/griv-sdl

So far everything according to plan, trouble now however is that the import of the dump will fail, since the trunk/ and branches/ directories are required for the dump to function but not actually included in the dump. The fix for this is simply creating them:

svnadmin create galapix
svn co file:///tmp/galapix galapix-checkout
svn mkdir galapix-checkout/trunk/ galapix-checkout/branches/ galapix-checkout/tags
svn commit -m "Core directory structures created" galapix-checkout/

With the missing directories in place one can now load the dump:

svnadmin load galapix

Once the load is complete, you can update the checkout and everything should be back normal.

In the case of Galapix the very final step was now to upload the repository to, instructions for that can be found on their help pages, but a little word of warning "svnsync" is incredible slow and interrupts a lot. I had to do a 'while true; do svnsync ...; done' loop to get it done and that is actually quite shocking since Galapix is tiny, just 170 revisions and a repository size of just 2.5MB and yet svnsync is running now for a good hour taking half a minute per revision. I really wouldn't want to repeat this process with anything larger (complete Windstille is a few thousand commits and close to 1GB in size...).

The final repository can be found at:

svn co