Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

CorsixTH Wii: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#seo:
|title=Wii Homebrew Games (Simulation) - GameBrew
|title_mode=append
|image=corsixthwii.jpg
|image_alt=CorsixTH
}}
{{Infobox Wii Homebrews
{{Infobox Wii Homebrews
|title=CorsixTH
|title=CorsixTH
|image=corsixthwii.jpg
|image=corsixthwii2.png
|description=An open source clone of Theme Hospital, originally published by Bullfrog in 1997.
|description=An open source clone of Theme Hospital, originally published by Bullfrog in 1997.
|author=tueidj
|author=tueidj
Line 13: Line 7:
|type=Simulation
|type=Simulation
|version=1.02
|version=1.02
|license=MIT Licence
|license=MIT
|download=https://dlhb.gamebrew.org/wiihomebrews/corsixthwii.7z
|download=https://dlhb.gamebrew.org/wiihomebrews/corsixthwii.7z?k33p0fil35 1.02 + Demo
|website=https://corsixth.com/
|website=https://wiibrew.org/wiki/CorsixTH
|source=https://dlhb.gamebrew.org/wiihomebrews/corsixthwii.7z
|source=https://dlhb.gamebrew.org/wiihomebrews/corsixthwii.7z
}}
}}
'''This project can be considered abandoned, if anybody else would like to take it over.''' This is mainly due to the gameplay implemented in CorsixTH straying too far from the original Theme Hospital and a decline in the quality of the code being committed to the Google Code project as new committers have been added - I am tired of the game crashing every five minutes each time I attempt to sync to their SVN. Perhaps I will pick it up again when all features have been added and are stable.
Theme Hospital was originally released by Bullfrog in 1997. [https://corsixth.com/ 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.


== Introduction ==
The homebrew was entered into the GBAtemp Homebrew Bounty 2011 (Wii).
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.


== Game Setup ==
'''Note:''' This project is no longer being developed.
CorsixTH requires the resource files from the original Theme Hospital game. If you don't have a copy of the original game you can get the [http://th.corsix.org/Demo.zip demo version] (although it only has one level and is missing several features) or purchase it from [http://www.gog.com/gamecard/theme_hospital gog.com]. 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 ==
==Installation==
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 [http://freepats.zenvoid.org/ 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).
=== 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 [http://www.gog.com/gamecard/theme_hospital GOG].  


== Bugs ==
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.
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.
 
=== 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 [http://freepats.zenvoid.org/ 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 ==
== 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").
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").


{| class="wikitable" style="left;text-align:center;"
===Wiimote & Nunchuck===
|-
Aim (Nunchuck Control Stick) - Move Pointer
| Wiimote  || Nunchuk || Classic Controller || GC N Controller || Action
 
|-
A - Left Mouse Button
| Wiimote Aim || Nunchuck Control Stick || Classic L ControlStick || GC Control Stick || Move Pointer
 
|-
B - Right Mouse Button
| Wiimote A Button || || Classic A Button || GC A Button || Left Mouse Button
 
|-
D-Pad - Directional Keys (Scroll Map)
| Wiimote B Button || || Classic B Button || GC B Button || Right Mouse Button
 
|-
Plus - Pause (keyboard P)
| Wiimote DPad || || Classic DPad / Classic R Control Stick || GC DPad / GC Control Stick C || Directional Keys (Scroll Map)
 
|-
1 - Enter
| Wiimote Plus Button || || Classic Plus Button || GC Z Button || Pause (keyboard P)
 
|-
2 - Escape (close any topmost dialog)
| Wiimote 1 Button || || Classic X Button || GC X Button || Enter
 
|-
===Classic Controller===
| Wiimote 2 Button || || Classic Y Button || GC Y Button || Escape (close any topmost dialog)
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==
==Media==
'''Ich spiele: CorsixTH #001 (SVN checkout Jan 2015)''' ([https://www.youtube.com/watch?v=AFh7d_JVX0Q&list=PLsCW1bwYW7LMFPS9qc-WlfKh51d5T45MK&index=2 meldrian[holarse]]) <br>
<youtube>3pRztz_61I0</youtube>
<youtube>3pRztz_61I0</youtube>
== 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, I don't recommend using this build as-is for other projects (however some of the modifications are improvements over Tantric's SVN).<br>
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.<br>
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.


== Changelog ==
== Changelog ==
'''v1.02'''
'''v1.02'''
* Updates from Corsix-TH SVN.<br>
* Updates from Corsix-TH SVN.
* Reduce memory usage to avoid out of memory errors, especially when switching language:
* 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
** NAND based virtual memory used to hold the current audio library, reduces working set from ~16MB to ~512KB.
** LRU cache for sound effects
** LRU cache for sound effects.


'''v1.01'''
'''v1.01'''
* <i>Many</i> 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...<br>
* 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)<br>
* Rewrote the input handling to make proper use of all available SDL joysticks (including gamecube controllers)
* Reworked the video renderer slightly.<br>
* Reworked the video renderer slightly.
* Rewrote the audio renderer to use libaesnd; channels are no longer reversed.<br>
* Rewrote the audio renderer to use libaesnd; channels are no longer reversed.
* Newest libogc (no more random crashes when using a real mouse).<br>
* Newest libogc (no more random crashes when using a real mouse).


== External links ==
== External links ==
* Official Website - https://corsixth.com/
* WiiBrew - https://wiibrew.org/wiki/CorsixTH
* Wiibrew - https://wiibrew.org/wiki/CorsixTH
* GBAtemp - https://gbatemp.net/threads/corsixth-wii-entry.284749/
* Original Corsix-TH Project - https://github.com/corsixth/corsixth
 
[[Category:GBAtemp Homebrew Bounty 2011]]

Latest revision as of 12:11, 4 Haziran 2024

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.

The homebrew was entered into the GBAtemp Homebrew Bounty 2011 (Wii).

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: