CorsixTH Wii

From GameBrew
CorsixTH
Corsixthwii2.png
General
Authortueidj
TypeSimulation
Version1.02
LicenseMIT License
Last Updated2013/01/07
Links
1.02 + Demo Download
Website
Source

Theme Hospital was originally released by Bullfrog in 1997. CorsixTH is an open source clone of the original game with the aim of being able to run on more platforms as well as correcting some bugs and adding new enhancements/features.

Note: This project is no longer being developed.

Installation

Game Setup

CorsixTH requires the resource files from the original Theme Hospital game. You can use the demo version (although it only has one level and is missing several features) or purchase it from GOG.

Copy the HOSP folder from the original disc to somewhere on your SD/USB drive. When you start CorsixTH for the first time it should show a folder browser for you to locate this folder. It should then restart and go to the main menu.

Music

The original Theme Hospital used midi music, and CorsixTH can play these files. However since the wii has no midi hardware you will need timidity-compatible instrument patch files such as those found at the Freepats project.

Once you have a patch set copy the .cfg file you wish to use to "/etc/timidity/timidity.cfg" on your SD/USB drive and put the patch files in "/usr/local/lib/timidity".

If possible try and use a smaller patch set which uses substitute instruments, since there's not a lot of memory available (for example if using the freepats set use crude.cfg instead of the default freepats.cfg).

Source

CorsixTH uses SDL and LUA, both of which are included in the source archive ready to be built for the wii. Note that SDL has been modified specifically for CorsixTH, it is not recommended to use this build as-is for other projects (however some of the modifications are improvements over Tantric's SVN).

Modifications to the original Corsix-TH source include endian fixes and a LRU cache for the graphics and sound effects, to make them fit in the wii's limited available memory.

It is possible to update the game's LUA files from Corsix-TH's SVN as long as no changes are made to the back-end.

Known issues

The CorsixTH project is still a work a progress, and there are bugs. Most of the time you'll get an error on-screen asking if you wish to attempt to continue - it's not really a good idea since you'll end up with patients and/or staff stuck in doorways or trying to perform other actions.

The best thing to do at that point is to load the autosave file and hope it doesn't happen again.

Controls

If you want the true old-school experience, connect a USB mouse and keyboard and play the game just like on a PC (this is actually the only control method that allows you to name savegames anything other than "p").

Wiimote & Nunchuck

Aim (Nunchuck Control Stick) - Move Pointer

A - Left Mouse Button

B - Right Mouse Button

D-Pad - Directional Keys (Scroll Map)

Plus - Pause (keyboard P)

1 - Enter

2 - Escape (close any topmost dialog)

Classic Controller

Left Control Stick - Move Pointer

A - Left Mouse Button

B - Right Mouse Button

D-Pad/Right Control Stick - Directional Keys (Scroll Map)

Plus - Pause (keyboard P)

X - Enter

Y - Escape (close any topmost dialog)

GameCube Controller

Control Stick - Move Pointer

A - Left Mouse Button

B - Right Mouse Button

C Control Stick - Directional Keys (Scroll Map)

Z - Pause (keyboard P)

X - Enter

Y - Escape (close any topmost dialog)

Media

Ich spiele: CorsixTH #001 (SVN checkout Jan 2015) (meldrian[holarse])

Changelog

v1.02

  • Updates from Corsix-TH SVN.
  • Reduce memory usage to avoid out of memory errors, especially when switching language:
    • NAND based virtual memory used to hold the current audio library, reduces working set from ~16MB to ~512KB.
    • LRU cache for sound effects.

v1.01

  • Many fixes from Corsix-TH SVN. Including (but not limited to) no more stuck patients or handymen, variable speed doctors, doctor promotions, patients sometimes vomit/litter/wet themselves...
  • Rewrote the input handling to make proper use of all available SDL joysticks (including gamecube controllers)
  • Reworked the video renderer slightly.
  • Rewrote the audio renderer to use libaesnd; channels are no longer reversed.
  • Newest libogc (no more random crashes when using a real mouse).

External links

Advertising: