C++ & Lua Engine Recreation of Bullfrog’s 1997 Classic (CorsixTH)
Bullfrog Productions’ 1997 humorous management simulator Theme Hospital (where doctors treat patients suffering from “Bloaty Head”, “Slack Tongue”, and “King Complex”) was originally engineered for MS-DOS and Windows 95 at fixed 640x480 resolution.
CorsixTH replaces Bullfrog’s proprietary executable with a clean-room open-source engine written in C++ (handling fast isometric sprite rendering, pathfinding, and audio via SDL2 and FFmpeg) and Lua (handling room blueprints, staff AI, epidemics, and UI windows). Compiled natively for Android, CorsixTH brings full widescreen high-DPI rendering, pinch-to-zoom hospital inspection, fixed receptionist/handyman pathfinding bugs, custom campaign support, and free-build sandbox modes to phones and tablets.
Setting Up Your GOG or CD-ROM Theme Hospital Files (HOSP/)
- Install the
CorsixTHAndroid APK from the official GitHub Releases page. - Copy Your PC Game Directory: From your GOG.com installation (
C:\GOG Games\Theme Hospital\) or original 1997 CD-ROM (HOSP/folder), copy the game data directory containing theDATA/,LEVELS/,QDATA/,SOUND/, andANIMS/subdirectories into a user-accessible folder on your Android device (such as/sdcard/ThemeHospital/). - Point CorsixTH to the Folder on First Launch: When CorsixTH boots for the first time, use the in-app directory browser to select
/sdcard/ThemeHospital/. - Enabling High-Quality Audio & Intro Cutscenes: Because CorsixTH links against FFmpeg and SDL2_Mixer, copying the
ANIMS/andSOUND/MIDI/folders from your GOG installation enables full intro/win/lose Smacker video playback and background music.
UI Scaling, Touch Gestures & Stylus Tips
- Adjusting UI Scale for Smartphones: Open Settings > Graphics and set the logical resolution to
960x540or enable UI scaling so the bottom dashboard (Build Room, Hire Staff, Research, Town Map, Policy) has comfortable 48dp+ touch targets. - Touchscreen Room Blueprint Placement: Drag with one finger to draw room dimensions (such as GP’s Office or Pharmacy), tap once to place doors and windows, and use two fingers to pan the camera or pinch-zoom across multi-wing hospital layouts. Tablets with an active stylus or Bluetooth mouse can also use standard right-click room editing and object rotation.