Sunday, August 06, 2006

Nox on Ubuntu

The following is based on information from Frank's Corner.

Nox is an old RPG by Westwood. You get to choose between 3 classes: Warrior, Conjurer and Wizard. It's a simple Good vs Evil game with a unique storytelling style. At least, I haven't seen another game using the same style. Nobody's bothered with it by now i gather, but it's still a nice old game to replay on occasion. Here's how to get it running on Dapper.

First, be sure to have the Wine repositories in your /etc/apt/sources.list:

~$ sudo nano /etc/apt/sources.list

Add the following to the file:

deb http://wine.budgetdedicated.com/apt dapper main
deb-src http://wine.budgetdedicated.com/apt dapper main

You can refer to http://www.winehq.com/site/download-deb for other versions of Ubuntu.

Next, update your repository index and install Wine:

~$ sudo apt-get update && sudo apt-get install wine

Once that's done, copy comctl32.dll from your Windows XP installation  into ~/.wine/drive_c/windows/system32 and run the Nox installation:

~$ WINEDLLOVERRIDES="comctl32=n" wine /path/to/cdrom/setup.exe

The Nox installer will complain about oleaut32.dll being an older version. Just ignore it and click on 'Cancel'. Setup should proceed normally from there.

After the installation, head over to FileShack and download the latest Nox patch. While you're at it, head over to MegaGames as well and download the Nox crack. The crack I used seemed to not draw itself on-screen properly, but rest assured it does work. I just kept clicking till I figured out which part of the dialog was for whatever purpose. It's a little annoying since you can't tell which part of the screen's the crack button or the exit button. Hopefully, a future release of Wine wouldn't have this issue.

Once everything is done, from console change the directory to the Nox directory and run the game:

$ cd /path/to/Nox
$ wine ./Game.exe

That should do it. It's important to change to the Nox directory before running the game. Failing to do so means the game won't run. Also, depending on the crack you use, you may need to run either Game.exe or NOX.EXE so try one then the other to find out which works for you.

Related posts:

Diablo II on Ubuntu
NeverWinter Nights on Ubuntu
Dreamfall on Ubuntu
StarCraft on Ubuntu