Lorenz Cuno Klopfenstein

Articles from October 2008

ASP.NET MVC logo As you may have noticed: the new website is up!  :D After an effort of roughly a week (and a couple of days of swearing and hammering to get it all to work on our "medium trust" hosting provider) it finally seems to work.

The change is not only an estetic template change, but a radical switch from PHP/Linux to ASP.NET on Windows, which allowed me to make use of my experience with C# and the power of the .NET framework to create a nicely structured CMS. The CMS is currently based on the new ASP.NET MVC framework (which entered "beta" stage yesterday) and NHibernate 2.0.

Among all changes, the most important are the generation of nice URLs, improved commenting, Refback tracking, tagging and so on... It's also one of the few (or the only one?) that natively supports multi-language content. The application is still a bit rough and not very customizable (it wasn't the main objective anyway) but I'm considering releasing the source in the future.

Let me know what you think about it.

Posted on Friday, October 17, 2008
Tagged as
20015 Views
6 comments posted

Audio After a long pause, I'm finally getting back to my series of XNA posts which I started for the XNA contest @ Unive. This time it's about audio in the XNA framework, using the Microsoft Cross-Platform Audio Creation Tool (XACT).

XACT interface
The main XACT interface.

This application, which comes bundled with the XNA Game Studio (latest edition 3.0 is currently in beta), allows you to import audio files, group them together in "sounds" and "cues", editing settings like volume, frequency and doppler pitch, and finally export everything to the binary files that can then be imported into Windows or XBox 360 games.

More...

Posted on Saturday, October 18, 2008
Tagged as
4367 Views
20 comments posted

ASP.NET MVC logo As posted before, this website has been built using the new ASP.NET MVC framework, which is based on the .NET framework 3.5 and internally uses a lot of the new C# 3 syntax. Additionally, the MVC Routing module works a lot better on IIS 7 than on the older IIS 6.

So, in order to run Klopfenstein.net on Aruba.it, which offers shared "medium trust" IIS 6 hosting on Windows Server 2003, I had to go through some hacking.

More...

Posted on Sunday, October 19, 2008
Tagged as
14644 Views
2064 comments posted

GOG is in public beta

The DRM-free digital delivery service Good Old Games has finally reached public beta status!

I subscribed as soon as the closed beta launched and explored their growing and very interesting catalogue of games: I already bought the two classics Fallout and Fallout 2, since they were missing from my collection (I'm ashamed, I know). I hope I will find the time to play them...  :)

On the occasion of the launch event they are also releasing Disciples and... Gothic (my absolute RPG favorite!). It's a great occasion to get back to some of the really great games from the past, with assured compatibility with XP and Vista, super support and incredibly low prices.

Posted on Friday, October 24, 2008
Tagged as
20102 Views
1 comments posted

Following my previous article about how I deployed this new ASP.NET MVC website on IIS 6 and .NET 2.0, now I'll explain how I made NHibernate (an Object-Relational mapper for .NET) work on the same platform (while in the next article I'll tackle Lucene.NET and NHibernate.Search). (more...)

Posted on Saturday, October 25, 2008
24186 Views
27 comments posted

Open Transport Tycoon

Just a couple of days after the public beta of Good Old Games (which will seriously jeopardize my ability to study anything this semester), I discovered the even more dangerous Open Transport Tycoon Deluxe! This officially declares war on all exam preparations I had in mind for the following months.  :D

Open Transport Tycoon Deluxe (OpenTTD for short) is an open-source clone of the original Transport Tycoon Deluxe engine: all loving 8 bit graphics are accurately reproduced, along with the interface and the well thought-out gameplay. The clone does not include the graphics and the music (you'll have to copy them from your copy of the game). It works perfectly on Vista, supports much higher resolutions than the original game and is an exemplary well behaved application in "windowed" mode (it doesn't block the mouse, can be freely moved and minimized).

Open Transport Tycoon

In order to install it you can get the latest stable release (0.6.3 at the time) from the project's online repository and copy the binaries somewhere on your computer (I hate installers). Then you need to copy the graphics from your original "Transport Tycoon Deluxe" disc (I bought my copy a couple of years ago, but it didn't work with my notebook's Radeon video adapter):

Copying the graphics files from the original disc to the OpenTTD folder

The selected files in the image can be found in the root folder on the disc. Simply copy them in the "data" subfolder of OpenTTD (or in one of the other suggested folders you'll find in the readme).

Then, in order to get the music working, you should be able to directly copy the "gm" folder on the disc to a newly created "gm" folder where you installed OpenTTD. Unfortunately, the DOS version of the game (and my version, for some unexplicable reason) includes the MIDI files as the packed archive "GM.CAT". Cirdan, an user of the OpenTTD forums, mercifully posted a simple C program that analyzes those CAT files and extracts the music files. I had to adapt the code to work on the Visual C++ compiler and to automatically generate the correct file names:

Download the source code (.C)

Put the file in some directory, along with the packed GM.CAT file. Compile it:

cl /MD gmext.c

and run the executable (you can also download the compiled utility directly if you don't want to compile it). This will (should) produce a lot of gm_ttXX.gm files (22 in total) that must be copied into the "OpenTTD/gm" folder.

The music folder with the etracted midi files

Now go enjoy Transport Tycoon in all its glory!  ;)

Posted on Saturday, October 25, 2008
Tagged as
20187 Views
5 comments posted

An updated post about Lucene.Net and NHibernate.Search on medium trust has been published. (more...)

Posted on Sunday, October 26, 2008
7302 Views
31 comments posted
Back to Klopfenstein.net
Clemens Klopfenstein Serena Kiefer Lukas Tiberio Klopfenstein Lorenz Cuno Klopfenstein
English German