JA2 Stracciatella - MacSourcePorts/MSPBuildSystem GitHub Wiki

Information

Source Port ja2-stracciatella
Game(s) Jagged Alliance 2
Homepage https://ja2-stracciatella.github.io
Source Code https://github.com/ja2-stracciatella/ja2-stracciatella
Build Type: Mac Source Ports Build /Third Party Build
Port Type Reverse Engineered Source Code
Project Build Strategy Project does signed/notarized 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++
Data Situation Launcher asks for data location on first run
Homebrew Requirements brew install sdl2

Notes:

The only tricks to this one are

  1. It has two executables, a launcher that lets you specify things such as mods, and
  2. It used @rpath in the executables, necessitating manual tweaking with install_name_tool before dylibbundler could do its thing
  3. Because of the above, the build_app_bundle.sh script can't be used

The project has issues building for Intel, but since the official project does its own Intel build, I'm just doing an Apple Silicon build.

It comes with its own copy of the SDL2 framework which necessitates the rpath tweaks above, even on the build server.