I've managed to successfully build SJ3 for Mac, for both x8664 and arm64.
Requirements:
Steps
# Install compiler and SDL2
$ brew install fpc sdl2
# Clone Pascal SDL2 headers
$ git clone https://github.com/ev1313/Pascal-SDL-2-Headers
# Compile
$ fpc -Mtp -k-L{path homebrew installed library to, depends on your setup} -k-lSDL2 -k-framework -kOpenGL -k-framework -kCocoa -Fu./Pascal-SDL-2-Headers/ SJ3.PAS
Since all the tooling works already with Apple Sillicon (sdl2 for arm64 is already available in homebrew and fpc can be easily built)
it's also quite straightforward to build Apple Sillicon version.
I've bundled an universal app with SDL dylib included and here's the DMG available for download: https://www.dropbox.com/s/vfpdeu2m8a7tg8e/SJ3.dmg?dl=0.
You can add it as a Release if interested.
I don't have have an Apple Developer account so it's unsigned and not notarised so one have to go Settings -> Security&Privacy to accept Gatekeeper exception upon first launch. Except that, it just works :)
In case somebody would like to add hills or modify names files etc. you have to open an app bundle by clicking Show Package Contents in context menu (option-click on the app) and going into Contents/Resources.
I've managed to successfully build SJ3 for Mac, for both x8664 and arm64.
Requirements:
homebrewSteps
Since all the tooling works already with Apple Sillicon (
sdl2forarm64is already available inhomebrewandfpccan be easily built)it's also quite straightforward to build Apple Sillicon version.
I've bundled an universal app with SDL dylib included and here's the DMG available for download: https://www.dropbox.com/s/vfpdeu2m8a7tg8e/SJ3.dmg?dl=0.
You can add it as a Release if interested.
I don't have have an Apple Developer account so it's unsigned and not notarised so one have to go
Settings -> Security&Privacyto accept Gatekeeper exception upon first launch. Except that, it just works :)In case somebody would like to add hills or modify names files etc. you have to open an app bundle by clicking
Show Package Contentsin context menu (option-click on the app) and going intoContents/Resources.