Macha

Theme Hospital on modern computers

October 13, 2009 | categories: Gaming, Pcs

One of my favourite old games is Theme Hospital by Bullfrog. I still have my original disc, and play it a lot. It has a lot of charm, but it's not always simple to get running. So I'm writing up this guide on playing Theme Hospital on a modern PC. It has been re-released a couple of times, but my disc has both the Windows and DOS versions on the one disc.

First of all, if you are running a 32 bit version of Windows, have the Windows version, and have no intention of playing the multiplayer mode, just insert your disc and install away. It still runs perfectly up until XP. On Vista on my PC, I had to set the compatibility mode to Windows 95, and turn "Run as Administrator" on and it worked from then on. The same steps should work the same on Windows 7 32bit, but I don't have a computer running that to check. [EDIT: A friend informs me that it doesn't work on his Windows 7 32bit, but I still haven't tested for myself. Try the DOSbox instructions if it doesn't work for you]

If you have 32 bit Windows, and the Windows version, just play away.

If you want multiplayer, or you have the DOS version, things become more complex. For Vista, the IPX network protocol, which was used by Theme Hospital, along with many games of it's time has been removed. There is a hack to enable IPX in Vista, but it does not allow you to change the settings, and did not work for me. If you have XP or earlier, installing IPX to the Hamachi VPN software apparently works but I don't have access to a XP computer to test it.

The final option which I eventually resorted to using is to install Theme Hospital to DOSbox. This works on all Windows versions from 2000 up, and for Mac OS X and Linux aswell. Download and install DOSbox. Make a folder to store the files. I recommend you make it something easy to type such as C:\hospital on windows on /home/user/hospital on Linux/OSX. Then open up DOSbox. You will be presented with a DOS prompt. Type the following:

Linux

mount C "/home/user/hospital"
mount D "/media/cdrom" -t cdrom

Or Windows (replace E: with the actual drive letter of your CD rom drive)

mount C "C:\hospital"
mount D "E:\" -t cdrom

Next we need to install Theme Hospital to DOSbox. First, when your cursor is stuck in the DOSbox window (as happens later in the process), to get it out press Ctrl-F10. Now, in dosbox type:

D:/setup.exe

This will open up the Theme Hospital DOS installer. Click the install button and let it install to C:\HOSPITAL (note: For windows users, this is equal to C:\hospital\HOSPITAL on the actual system). Then go to the configuration screen. Configure your sound card and music card. I found selecting Creative Sound Blaster Pro worked fine for me on Linux and Windows. I did have to turn my system volume up to full on Linux to hear it as the volume was stuck down low, however.

To avoid typing in the mount commands each time edit your configuration file. On Windows click the edit configuration file shortcut. If you are using Linux, you first have to issue the command CONFIG -writeconf dosbox.conf inside of DOSBox. Afterwards, the dosbox.conf file will be written to your home directory.

At the very end of the file, add the mount commands you entered before installing the game.

Afterwards click exit. The DOS version of theme hospital is now installed on DOSbox. If you want to play multiplayer, read on. Otherwise, you can stop now.

Edit your configuration file again and replace the line:

ipx=false

with

ipx=true

For each additional computer you wish to play it on, repeat the above process. Finally pick one computer as the host. On that computer start DOSbox and type the same instructions as startup last time, but add this before starting the game

ipxnet startserver ipxnet connect 127.0.0.1

Find the host's IP address. For internet play, try whatismyip.com. For local network play, check your network connections dialog.

Now on each client computer type the following (replace the 10.0.0.5 with your host computer's IP address):

ipxnet connect 10.0.0.5

And start the game on all the computers, enter the network game screen and play away.

Some Final Notes

Gameplay performance on the same system was much better on Vista than it was on Linux. The game played perfectly under Vista, while under Linux the sound was noticeably choppy. Whether this  is a problem with DOSbox or with my computer's drivers is not certain.

I'm not sure if it is possible to play the Windows version against the DOS version. I have not tried.

Windows does partitions wrong, but so does Linux

July 28, 2009 | categories: Pcs

Back when I first installed Linux, when I had said I had a 60GB partition to use, the advice I got was: Match your swap partiton to your RAM, use 10GB for /, and the rest for /home .

Yesterday, I started getting errors everywhere. So I turned it off and on again. When that didn't work, I actually read the errors. "No Space Remaining". I go "WTF, I only used about 12GB".

So after spending a while looking at the disc usage program, I notice something. It lists / as full with 9GB/9GB used. Then I realise the problem: My / partition is full. (which is presumably also the location of /tmp , hence the errors).

Luckily my swap partition was in between my / and /home partitions, so I've deleted that and recreated it at the end of the disc. (which took a bloody long time, and required finding that LiveCD again).

This makes me wonder: Is Windows' system of drive letters rather than a defined purpose (which is often a point of criticism) such a bad idea? When on Windows, my C: drive filled up, I just needed to move files en masse to my D: drive. Still slow, but doesn't require even a reboot, much less depending on where my swap partition just so happened to be because of the order that I used when installing the system.

For those of you wondering how my programs and system data are significantly larger than my files, here's the amount of file storage I've used on programming:

  • Eclipse: 130 mb
  • Eclipse plugins: at least 20mb, possibly as high as another 100mb
  • jdk/jre: ~30mb
  • Apache/PHP/MySQL: ~100mb
  • Many other programming tools
  • Actual programs I'm writing now: < 20mb (Older ones are stored on a network drive)

Representing partitions as drive letters is clearly wrong, because the file system is supposed to be abstracting the actual physical hard drives out of it, but representing them for one use is also wrong. How can I predict when I get a new computer that I'll need x gb for data and y gb for programs?

An ideal OS would abstract all of this away, so you just have storage and don't have to deal with the actual drives you have, what partition a file goes in, predicting your disk usage, which partition is on which drive etc.

Pricing weirdness, digital downloads difficulties

March 21, 2009 | categories: Gaming, Pcs

Sometimes with video games, the pricing can be ridiculous. Not always ridiculous as in too high (but it often is) but ridiculous because they defy logic.

One example of this was around 6 months ago, the Orange Box for 360 was priced at €30 pre-owned, the same store sold it new for €20. Another example was during Zavvi's closing down sale. They claimed to have amazing offers. They did but not quite in the sense they meant. Mirrors Edge reduced from €60 to €59.99. Quite underwhelming.

Another case of bad pricing is on Steam. They converted $10 to €10 for Garry's Mod. Another page has a TF2 + Gmod offer at $25 or €25. $1 is not €1. A quick google reveals the current exchange rate is $1 -> €0.71 .

€25 = $35

For reference, at the time of this post, €25 is equal to $35.

Combine this with the poor broadband connections in my area (1 meg) and Steam's frequent downtime, and digital downloads don't look very appealing any more. And Gamestop's PC game prices are far more reasonable now than they have ever been before. €40 for the Sims 3 or E:TW, PC games are now cheaper than even Wii games.  When I bought E:TW, that was cheaper than the price on Steam (€49.99) . And Steam is supposed to have lower costs to distribute these games... Like duty-free shops that can charge much less, but mysteriously don't.

« Previous Page