[GAMES] Corsix-TH (A Theme Hospital Clone)

Moderators: odroid, meveric, mdrjr

[GAMES] Corsix-TH (A Theme Hospital Clone)

Unread postby meveric » Sun Jun 30, 2013 2:43 am

Corsix-TH is a remake of the old classic game Theme Hospital, pretty much like with OpenTTD they make a very close rebuild to the original version with some improvements (like different resolutions etc.).

The Game is still WIP but far away from being just an alpha.
You can play the original game just fine with lots of improvements and the game will get better and better over time when new versions pop out :)

here a video preview of version 0.20 (the version you compile with my script is the trunk 0.21)

Image Image

I had a some issue getting it to run. You need libswresample to get the movies to run, which are not within the packaging of Ubuntu 12.04 (and it seems also not on 13.04). As far as i found out it comes with ffmpeg and you probably just have to compile your own version of ffmpeg to get it to work.
I did not do that, i just decided to turn videos OFF (which is made in my script) you can change the script and turn it back on if you want to try for yourself.
It also needs a couple more libraries a couple of libav* libraties (format, device, decoder) you will have to install them as well if you want to try it with videos.

If you can live without the movies (like myself) just use the script as it is.

One more thing:
You still need the original game files to run the game!!!

I've read even the files from the demo should work, but i guess the original game is better for it.
Attachments
crosix-th.zip
build script
(937 Bytes) Downloaded 160 times
Last edited by meveric on Tue Apr 01, 2014 6:25 am, edited 1 time in total.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9455
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: [GAMES] Corsix-TH (A Theme Hospital Clone)

Unread postby meveric » Mon Jan 20, 2014 12:48 am

added a more recent version to my repository:

Code: Select all
wget http://oph.mdrjr.net/meveric/repository/all/corsixth-odroid_20140119-2_armhf.deb
dpkg -i corsixth-odroid_20140119-2_armhf.deb


you will need luajit if it's not in your distro you can download it here:
Code: Select all
wget http://oph.mdrjr.net/meveric/repository/all/luajit-odroid_2.0.2-1_armhf.deb
dpkg -i luajit-odroid_2.0.2-1_armhf.deb


I've added ffmpeg support to this build which might require a fitting version of ffmpeg.. or you can use the following:
Code: Select all
wget http://oph.mdrjr.net/meveric/repository/all/ffmpeg-odroid_2.1-N-59963-gb9bedb0-1_armhf.deb
dpkg -i ffmpeg-odroid_2.1-N-59963-gb9bedb0-1_armhf.deb


i'm having some sound issues with debian wheezy, but it works fine on Ubuntu Saucy Salamander so i guess it's just a settings issue and i can find the answer if i look into it :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9455
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: [GAMES] Corsix-TH (A Theme Hospital Clone)

Unread postby meveric » Thu Apr 03, 2014 6:55 pm

I updated CorsixTH once more and now offer the latest stable release (0.30) and the latest development realease as well:

Stable 0.30:
Code: Select all
wget http://oph.mdrjr.net/meveric/repository/all/corsixth-odroid_0.30-1_armhf.deb
dpkg -i corsixth-odroid_0.30-1_armhf.deb


Latest trunk:
Code: Select all
wget http://oph.mdrjr.net/meveric/repository/all/corsixth-odroid_20140403-1_armhf.deb
dpkg -i corsixth-odroid_20140403-1_armhf.deb


here's a changelog of the 0.30 version:
Code: Select all
Gameplay

    Change: You can now build more than one desk in the ward. More nurses means a slightly faster throughput.

    Change: Patients would previously queue outside toilets even though there were
    free loos since it was dependant on number of people in the room. Now, as soon
    as a loo becomes free another patient enters the room to use it,
    even if there is a long queue for the sink).
    If there is a queue for the sinks there is a chance the patient will leave
    without washing their hands - but will not be happy about doing this.

    Added: The ability to control alien behaviour - sitting, knocking doors,
    only to be available through emergency or arrive like all other patients.
    Added: Winning fax opens automatically and pauses the game.
    Added: Option to automatically accept wage increase requests when they "time out".

    Added: A new option allows for your average build content for each type of room
    to be remembered, so will be added for each new room built later.

    Fix: Doctors should get stuck less often, and handymen should not crash the
    game as frequently.
    Fix: It was not possible to replace a surgeon when a patient was in the room.
    Fix: Patients would sometimes get stuck inside a room when they should have died.

User Interface

    Added: A new customization menu in the Options dialog. Most options from the configuration file are now available for change in-game.
    Added: A new directory menu in the Options dialog.
    Added: The game does now check for a more recent version of itself when launching.
    Added: A helpful message when the player puts more Researchers in the research department than there are desks.
    Added: The game now does a small integrity check on the Theme Hospital files to make sure that the most common corruptions are not present.

    Added: Confirm dialog to the quit/exit button on the main menu.

    Fix: The tooltip for the tutorial button was incorrect since the dialog
    has been visually changed.

    Fix: The announcer has had a few corrections made to his manuscripts.
    He is very happy about this!

    Removed: The settings menu is no longer available from within the game.

Hotkeys

Some hotkeys have been changed and/or added:

    Alt + A = Toggle Announcements
    Alt + M = Toggle Music
    Alt + S = Toggle Sound Effects
    Shift and + to zoom in five steps and Shift and - to zoom out five steps at a time.

Campaign levels

    Fix: An error in level 8 made it possible to win without meeting the reputation criterion.

Custom levels

    Change: For random emergencies each illness now has its own average number of
    patients to spawn. Previously they were all the same.

    Fix: Researching improvements was not really possible on some custom levels,
    i.e. if the map creator had made it so there were no machines at the start.

Demo files

    Fix: When winning the demo level CorsixTH looked for another level to load, showing the wrong fax options and eventually crashing.

Languages

    Added: Korean language.

    Fix: It was not possible to dump strings for a language with unicode
    characters in the name.


Special Notes on installing:
I changed the dependencies alot which might make it hard to install on some systems:
It uses the latest drivers for audio and video playback taken from the ffmpeg libraries.
for this you might have to add deb-multimedia to your repository list:

Code: Select all
echo "deb http://www.deb-multimedia.org/ wheezy main non-free" > /etc/apt/sources.list.d/debian-multimedia.list
apt-get update
apt-get install deb-multimedia-keyring

This will also work for Ubuntu (tried that on Ubuntu 13.10)
After that you can install both stable and trunk version.

Please note: Trunk build still requires libluajit instead of liblua5.1 if it's not in your distro check the link in my previous post.

Fixing the sound issue on Debian Wheezy (as mentioned in my previous post):
Code: Select all
apt-get install -t wheezy-backports pulseaudio

(requires you to have wheezy backports in your repository list)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9455
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: [GAMES] Corsix-TH (A Theme Hospital Clone)

Unread postby meveric » Tue Jan 13, 2015 7:23 am

i updated CorsixTH to 0.40 which was released just a little bit ago you can download it from my repositories all/main package list.
If you already have it installed you just need to do an update through apt-get and should already get the new version..

Changelog:
Code: Select all
Gameplay

    Added: Epidemics. You can either choose to pay a fine to the authorities or try to cover up the epidemic by vaccinating and curing the contagious patients. Patients going between buildings will NOT trigger the alarm to the authorities.
    Added: The Grim Reaper. Previously patients have always gone to heaven when they die. No more! Sometimes they will instead fall down to the middle of the earth in a Lava Hole.
    Added: People with visual diseases will no longer arrive at the beginning of the level if that has been specified in the level file. Instead they arrive once a certain amount of months have passed.
    Added: If you refuse VIP visits a few times he can sometimes show up anyway.
    Change: Machine usage and explosions are now based on absolute number of uses. A machine that goes down to 0 will explode. Previously they were percentage based.
    Fix: The game would crash if you sacked a doctor in a room while a patient was using some equipment in that room.
    Fix: Sometimes the emergency bonus was not correctly calculated.
    Fix: Patients could die inside a room. They will now die outside the room unless they are just being cured.
    Fix: If winning the level at end of year the annual report would hide the winning fax.
    Fix: If there was no queue to a room a leaving staff member would not trigger a call for staff for the patient who had to abort their procedure in that room.
    Fix: If a handyman had pending tasks when he died in an exploding room the game could crash.
    Fix: A surgeon that is removed in mid-operation will now get properly replaced by a new one.
    Fix: If the GP room was built too early in the tutorial the game would crash when building a GP room later on if debug mode was turned off.
    Fix: Patients would try to enter an exploding room. As you can imagine, this was bad.
    Fix: Psychiatrists would become shut-ins and just wander about their office forever.
    Fix: Patients leaving the queue to get a drink could be left to sit on a bench forever.

User Interface

    Added: Tooltips for the increase and decrease buttons in the research screen.
    Added: A sound that indicates if a screenshot was taken successfully.
    Added: Any dialog that pops up, such as the award screen, pauses the game.
    Added: 'Continue Game' in the main menu.
    Fix: Sometimes the game would not pause on year end.
    Fix: Staff raise description was hard to read in some languages
    Fix: The current language setting is translated and consistent with the options in the list.

Graphics

    Fix: Instead of turning into a Bloaty Head, Baldness patients will die with gracious hair.
    Fix: Patients will no longer fall through walls when dying.
    Fix: Dying Hairyitis patients should not lose their head when on the floor.

Hotkeys

    Added: 'Z' temporarily moves the game at maximum speed. Release to go back to the previous speed.
    Added: 'X' makes walls transparent until released.
    Added: Use the Numpad to change game speed.
    Added: Arrow key hotkeys in the staff management screen.
    Added: Press and hold on + and - when buying furniture to repeat the action.
    Change: Quick Save is now Shift+Alt+S, Quick Load is Shift+Alt+L.

Languages

    Change: "Plot" is used instead of "Parcel" to indicate where a handyman has been zoned to work in the Handyman staff dialog.
    Most languages have been updated since our last release, but if you find that your language has not, please help us to finish it!

CorsixTH Development

    Added: New flag for CMAKE: 'WITH_LUAJIT'. This way you can choose to use either LuaJIT or Lua5.1.
    Added: CMake toolchain for building with MinGW.
    Added: New debug menu option 'Run debug Script' that executes <install_directory>/Lua/debug_script.lua
    Improved OSX CMake scripts
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9455
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: [GAMES] Corsix-TH (A Theme Hospital Clone)

Unread postby glaxy » Sat Feb 28, 2015 8:06 pm

After the first start you will find a .reicast folder in your home folder where you have to place the BIOS files in a subfolder called data
BIOS files that are required are:
dc_boot.bin and dc_flash.bin :mrgreen: thank so nice of you!!!!!!!!!!!!!!!!!!!















___________________________________________________________

Unlock the key of your success by Testking cfa course and testking.By using itil foundation our latest and study material, you can easily pass www.quincy.edu
glaxy
 
Posts: 1
Joined: Sat Feb 28, 2015 8:03 pm
languages_spoken: english
ODROIDs: Hardkernal

Re: [GAMES] Corsix-TH (A Theme Hospital Clone)

Unread postby meveric » Thu Oct 15, 2015 6:03 am

I just updated the packages for Corsix-TH to the new 0.50 release.
Here's the changelog:

Code: Select all
User Experience

    Added: Scroll speed can be configured in config.txt.
    Added: Lua version in the window caption.
    Change: Midi tracks are now played in the order they appear in MIDI.txt
    Change: Updated translations for most languages
    Change: Rendering engine is now determined automatically. Use SDL_RENDER_DRIVER environment variable to override the default.
    Fix: Potential crash from Esc-press before main menu.
    Fix: Audio stutter in certain movies.
    Fix: The game could sometimes crash when a movie had finished.
    Fix: handling of backspace and arrow keys in text boxes.
    Fix: Invalid path generated by font selector on linux
    Fix: Several crashes involving map bounds checks (dragging a blueprint, placing a staff member)

Gameplay

    Added: Warning about untreatable diseases when the disease is enabled in the level file but the room is not.
    Change: Do not change the selected condition in drug casebook when new diseases are researched.
    Fix: Crash when trying to play certain sounds from e.g. the French version.
    Fix: Patients could in some circumstances get really confused and try to exit a room without putting any clothes on.
    Fix: Crash on the status report when there are no patients.
    Fix: Crash when editing room that litter has been dropped in.
    Fix: Crash when sending patients to the autopsy room and then building the needed room first
    FIx: Infinite loop condition in tryToFindNearbyPatients.

Animation Viewer

    Added: A vertical scroll bar to the sprite display.

CorsixTH development

    We have moved to newer versions of a lot of libraries, most notably SDL 1.2 -> SDL 2 and added support for Lua 5.2 and Lua 5.3.
    New ready-to-use Eclipse Workspace.
    Debugging Lua code using DBGp has been added. See the Wiki for more information.
    The Windows Installer now uses NSIS 3.0 and only produces one executable since SDL 2 handles renderer itself.
    Framework for Busted Unit Tests in Lua.
    Support for custom graphics has been improved.
    LibAV is supported as an alternative to FFMpeg. FFMpeg is still recommended.


The biggest change is probably the switch to SDL2.
When i start a game it now shows it's using OpenGLES 2.0 backend for rendering, although i'm not sure it's been used a lot yet.
I see some "see through" windows, which are a little bit annoying at times, cause they are hard to read.
I like the new scaling methode.. If you start the game for the first time it's 800x600 window mode. If you click the fullscreen button, the window instantly scales to full screen resolution.
Means the game is still rendered in 800x600 but scaled to your desktop resolution (for example 1920x1080) you can also just switch to 1920x1080 resolution, but texts, icons and characters can be rather small.
So it's nice to have the option actually to render the game in a lower resolution, but still have full 1920x1080 resolution without the monitor chaning the resolution of the screen.


I think the UI is having some minor issues though, not all graphics seem to be displayed correctly. Some of the text boxes are either white or transparent, looks really nice, but is hard to read :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9455
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: [GAMES] Corsix-TH (A Theme Hospital Clone)

Unread postby meveric » Wed Aug 03, 2016 6:02 am

Update:
I've just updated CorsixTH to version 0.60.

Here's the Changelog:
Code: Select all
Highlights from this release include:

    User campaigns - It is now possible to create a series of levels that play together just like the original game.
    In game map editor - A new map editor is available directly from the game menu.
    Drug price impact - Patients will now react to the price you set for treatments. If treatments cost too much patients will opt to go home instead and this can affect your reputation.
    Variable spawn rate - The spawn rate will now take into account your hospital's reputation (after a date set in the level file.)
    Machine smoke is now visible when machines are close to worn out.
    Right clicking the timer is now supported like in the original game for moving to affected patients - See issue #882 for details.
    Numpad support - The number pad can now be used to move around the map when numlock is off, or to type numbers when numlock is on, without side effects.
    The MP3 folder can now be unset from within the game. Previously after setting an mp3 folder it could only be removed by editing the config file by hand.
    Uses the proper cursor for resizing rooms.
    Bins can now be placed in the hallways.
    Temperature impact has been tweaked. The initial grace period has been removed and the overall impact has been softened.
    Custom maps can now be stored in a user directory separate from the levels shipped with the game.

Notable bug fixes:

    Free build mode is now truly free - rooms used to cost money in this mode.
    In game movies will now work correctly on more hardware.
    Sound effects are no longer played when sound is disabled.
    VIP rewards have been tweaked to closer match expectations when the impression is mediocre.
    Crash when a patient is selected while they walk off the map is fixed.
    A room built next to an unowned parcel no longer loses its wall when the parcel is bought.
    Beta 1 regression that caused fired staff to continue to be paid has been patched.
    Beta 1 regression that caused the last cured emergency patient not to count has been patched.
    King complex patients only pay for their cure once.
    Patients will notice when a room they are waiting for becomes available.
    Properly load saves with more than one object on a tile.
    Do not get stuck in an infinite loop when no disease is available to spawn.




I've also created new packages for ODROID C2 (arm64).
Both new versions are available from jessie/main package list with:
Code: Select all
apt-get install crosixth-odroid
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9455
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: [GAMES] Corsix-TH (A Theme Hospital Clone)

Unread postby meveric » Tue Mar 27, 2018 7:11 am

Update:
I've just updated Corsix-TH to version 0.61.

Here's the Changelog:
Code: Select all
Player Release Highlights:

    Mouse capture support. Now by default the mouse will be captured in its window. You can use CTRL-F10 to temporarily toggle the mouse capture state, or disable it in the config file.
    Added multigesture movement and zoom for supported devices.
    Fix for broken pathfinding involving the removal of side objects such as benches and radiators.
    Allow objects to be built on top of litter and rat holes.
    Fix for game error when handymen attempted to clean removed litter.
    Can now click and hold to quickly change handyman priorities.
    Significant map editor performance improvement when selecting multiple tiles.
    If the config option to allow playing while paused is enabled, you can now make use of the bottom panel.
    Fixed several bugs relating to the mood displays for staff and patients.
    Rooms can now be built over top of trash.
    Rat holes will now appear in dirty hospitals. Unfortunately the rats themselves are still hiding away.
    Earthquakes now behave more like in Theme Hospital. A warning earthquake that does no damage will come first so that you can get ready for the big one. The damage calculations and visual effect have also been redone to be closer to the original game.
    The game window can now be resized by dragging the edges.
    We now avoid overlapping graph labels so all labels are readable.
    Many many many bug fixes.


This is the first release also available for Debian Stretch.
Packages for Debian Jessie/Stretch armhf/arm64 will be up shortly
and can be installed from my repositories with:
Code: Select all
apt-get install corsixth-odroid
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9455
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: [GAMES] Corsix-TH (A Theme Hospital Clone)

Unread postby meveric » Thu Dec 06, 2018 7:35 am

Update:
I've just updated Corsix-TH to version 0.62.

Here's the Changelog:
Code: Select all
New Features
  * Player salary is now preserved between campaign levels
  * Mouse capture is now shown on in game options screen
  * Completely out of source builds are now supported on all platforms
  * FHS style file layout (separate bin and share/corsixth directories) support for Linux (and non-Apple Unixes)
  * On Linux (and other non-Apple Unixes) the CorsixTH executable is now called corsix-th
  * LuaJIT 2.x is now supported, if using LuaJIT 1.x JIT is no longer enabled
  * Meandering staff behaviour has been tweaked to look more natural

Bug Fixes
  * Hoppalong map in the included campaign was fixed to not crash
  * Correctly handle the death of emergency patients
  * VIP and other game event scheduling fixes
  * VIP now works correctly when the hospital has no functional rooms
  * Heat now spreads out from radiators in all directions again
  * Fix for game error that caused the same litter to be cleaned up twice, and resulted in a crash
  * Fix moving machines with no state
  * All known memory leaks caused by our code have been fixed
  * Many text and formatting improvements across languages


Please Note: If you're on Debian Jessie (for example ODROID GameStation Turbo) you need to edit the config file /home/<user>/.config/CorsixTH/config.txt and make sure check_for_updates is set to false, or you won't be able to start a new game, as it will stop on the "game map" due to a bug in lua-socket package.

The packages is available for Debian Jessie (armhf only) and Debian Stretch armhf/arm64
and can be installed from my repositories with:
Code: Select all
apt-get install corsixth-odroid
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9455
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go


Return to Games and Emulators

Who is online

Users browsing this forum: shakey102001 and 1 guest