It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hi, I'm running Theme Hospital on Mojave 10.14. The game is forcing fullscreen and I can't get it to work in a window (it did so on my previous MacBook on another OS version). The game also seems to restart/log out the system while I'm playing, so when I quit the game, most times I end up back on the macOS login screen, and all my programs have to start up again.

Couldn't find any dosBox preferences in my library. Everything was running fine on previous versions – any help?

Thanks
No posts in this topic were marked as the solution yet. If you can help, add your reply
I'm also having problems getting the game to run on Mojave. If I try to quit the game, or even Dosbox at the starting screen, my monitor just stays black and I need to restart the computer. I tried pressing the shortcut for Dosbox to go windowed and that brought up the same black screen problem. I use several monitors but it's only the main monitor that stays black, the others are still totally usable.

Anybody able too offer some pointers as to what is wrong and how to fix it?
Do you both have an Nvidia graphics chip?

Nvidia is deprecated by Apple. There are only drivers by Nvidia for OS X 10.13 and Apple provides only drivers for two cards (would need to look it up which). Everything else is going to be problematic ;(
To be more precise (looked it up again)
The last Apple computer with Nvidia chips was made 5 years ago. The last official drivers are for macOS 10.13, Mojave (10.14) has drivers for Nvidia Quadro K5000 and Geoforce GTX 680.
There are bound to be problems on 10.14 if you have an Nvidia card but not one of those cards. And definitely on 10.15.
I am the one doing official DOSBox releases for Mac these days and also Snapshots of the SVN.
Please try DOSBox SVN snapshot for OS X (10.4-10.14 ppc/intel 32/64bit) codesigned for gatekeeper
DOSBox SVN with SDL2 snapshot for OS X (10.7-10.14 intel 64bit) codesigned for gatekeeper.
And please tell me how those work. In theory just starting them, switching to fullscreen (optin+enter) and back should trigger the unwanted behavior if these show that, too.
avatar
DominusExult: Do you both have an Nvidia graphics chip?

Nvidia is deprecated by Apple. There are only drivers by Nvidia for OS X 10.13 and Apple provides only drivers for two cards (would need to look it up which). Everything else is going to be problematic ;(
Having the same problem (game start, Mac logs out to login screen) on 10.14.6, MacBook Pro 13" Retina 2015, i.e. only Intel graphics, no Nvidia.

Same problem occurs with Larry 6.
Manually update DosBoxer Mac to latest stable version. manually set up conf file. Cant say more, cause im from Windows and win-version of DosBox
@ghoffart, do the Dosbox versions I linked to work?
on my wife's macbook with intel chip I was able to reproduce this. Exchanging the dosbox binary with the SDL2 one I built works.
Maybe I can figure out what is happening.
So the problem is definitely with the opengl driver of macOS 10.14 and Nvidia/Intel GPUs :(
Just having the output of DOSBox set to OpenGl kills the graphics driver on going from fullscreen back to windowed mode (or quitting the fullscreen DOSBox).

Two ways around this for now:
- in the Them Hospital app, set the main config to use output surface. This might slow down things tremendously or work out to be fast enough for this game.
In finder right click on "Theme Hospital.app" and choose "Show Package Contents", then go into the folders Contents->Resources->Game and in there open dosboxTH.conf with TextEdit and change the line "output=opengl" to "output=surface".

- Or exchange the dosbox binary of the app with the SDL2 build binary (I'd prefer you to test out the first choice and thus only instructions on request :))
hi!

I am having the same problem, black screen and having to shut down my mac after quitting the game. I tried the output=surface, but that makes the game slow and the screen very small. please let me know how to do the other option?

Best
Jake
If you have a solution to this problem I'd love to use it. Just a workaround to exit without crashing the login session would be a great help.
Post edited April 04, 2020 by SLCgog
Had the same problem, macOS Mojave with Intel Graphics, game crashed and I got logged out when quitting the game.
Downloaded the latest version from the official dosbox site, which is 0.74-3-1 for macOS at the time of writing.

The dmg contains a "DOSBox.app" which contains the DOSBox executable in Contents -> MacOS.
I copied the executable to Contents -> Resources -> dosbox in the "Theme Hospital.app", thereby overwriting the old version.

Fixed the crash when exiting the game.
I did not change any config file.
avatar
ClusterCat: Had the same problem, macOS Mojave with Intel Graphics, game crashed and I got logged out when quitting the game.
Downloaded the latest version from the official dosbox site, which is 0.74-3-1 for macOS at the time of writing.

The dmg contains a "DOSBox.app" which contains the DOSBox executable in Contents -> MacOS.
I copied the executable to Contents -> Resources -> dosbox in the "Theme Hospital.app", thereby overwriting the old version.

Fixed the crash when exiting the game.
I did not change any config file.
hey this worked thanks. It was so irritating. Shouldn't GOG be doing this update to all DosBOX games?
Is this a Mojave only issue?
Same issue in 2023 on 2018 Mac Book Pro running Mojave (10.14.6): either quitting the game or hitting ALT-ENTER while running it to make it windowed 99% of the time logged me out. Replacing the DOSBox binary embedded within the game's .app/Contents/MacOS folder (it was 0.74-3) with a symlink to my manual DOSBox install (0.74-3-3) has seemingly fixed that issue. I can "exit to DOS" from the game and hit ALT-ENTER while running to toggle back and forth between full-screen and windowed without crashes or getting logged out. Thanks to this thread for the solution!
Stop using the old clumsy DOS version.

There's been a source port that runs natively since...2013.