-
-
Notifications
You must be signed in to change notification settings - Fork 5
CorsixTH
| Source Port | CorsixTH |
| Game(s) | Theme Hospital |
| Homepage | https://corsixth.com/ |
| Source Code | https://github.com/CorsixTH/CorsixTH |
| Build Type: | Official Mac Source Ports Build |
| Port Type | Reverse Engineered Source Code |
| Project Build Strategy | Project doesn't do Universal 2 App Bundles |
| Source Code Strategy | Source available |
| Projct Release Strategy | Versioned releases |
| Mac Support Status | Official Mac support and builds |
| Project Status | Active |
| Build System | CMake |
| Programming Language(s) | C/C++/Lua |
| Data Situation | Asks for location of data on first run |
brew install sdl2 sdl2_mixer openssl lua luarocks wxwidgets freetype2 yasm ffmpeg
luarocks install luafilesystem
luarocks install lpeg
luarocks install luasocket --from=http://luarocks.org/dev
luarocks install luasec OPENSSL_DIR=/opt/Homebrew/opt/openssl
/usr/local/bin/luarocks install luafilesystem
/usr/local/bin/luarocks install lpeg
/usr/local/bin/luarocks install luasocket --from=http://luarocks.org/dev
/usr/local/bin/luarocks install luasec OPENSSL_DIR=/usr/local/opt/openssl
So this one uses Lua and LuaRocks, which seems to be a Homebrew-like package manager for Lua. So you not only need to install Lua and LuaRocks via Homebrew but then you need to use LuaRocks to install some other packages.
Above I have listed the two sets of commands. You'll need to run the brew command twice (once for Intel, once for Apple Silicon) and then you'll need to run all eight luarocks commands, for each for each environment (similar to Homebrew, Luarocks has its own separate folders)
I am now the official maintainer of the Mac version of the game and with the next build, will use a single Universal 2 build.
As of now I am making a custom set of libraries because sdl2_mixer, with too many of the wrong dependencies, doesn't play the MIDI music. Long term I will firm up a strategy for handling situations like this but this is one of the few with issues at the moment,