Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

--FIX FOR LINUX USERS--

As some may have noticed, the linux download for the game is broken. Luckily, I have devised a method to port the game to linux manually.

STEP 1: Download the windows version (0.1.8.5 at the time of writing, non demo)

STEP 2: Download the nw.js SDK (https://nwjs.io/downloads/ at stable)

STEP 3: unpack the nw.js SDK zip

STEP 4: put the nw.js files inside the Ghost Hospital folder. If you did it right, it should ask if you want to merge the two locales folders. Say yes and overwrite any files when prompted.

STEP 5: the file at www/js/plugins/smooth.js has windows newlines and a // comment. This means that when a linux program tries reading it, it parses the whole thing as one line. Now, this wouldn't normally be a problem for Javascript, but in this case, the // causes the entirity of the rest of the script to be commented out, resulting in catastrophic failure. 

To fix this, remove the 

//console.log("disabling smoothing for "+path);

line from the file.

STEP 6: The font file names are broken. The game looks for the fonts using the wrong filenames and fails to load as a result. To fix this, rename 

8bitOperatorPlus-Regular.ttf to 8bitoperatorplus-regular.ttf

and

apple_kid.ttf to apple_kid.ttf.ttf

STEP 7: Run the game by executing the file named "nw" inside the game's directory. If you did everything right, the game should work without any further problems. Enjoy!