Page 1 of 2

Supermodel macOS Binaries (GitHub code Feb 24 2023)

PostPosted: Sat Nov 20, 2021 1:13 pm
by TheOldDragon
Update: Feb 24 2023.
New macOS binaries.
- built on Ventura 13.2.1, using Xcode 14.2
- uses latest Supermodel GitHub code and SDL releases as of Feb 24th 2023
- network code is enabled

Intel and Apple Silicon ("mX") versions included...
https://www.dropbox.com/s/h95xw68fz43ma ... t.zip?dl=0

To play, need the SDL2 and SDL_net Frameworks
Just download the latest *.dmg files from both of the links below, and install per the READMEs in the .dmgs (i.e. in "/Library/Frameworks" or "~/Library/Frameworks")

SDL2: https://github.com/libsdl-org/SDL/releases
SDL_net: https://github.com/libsdl-org/SDL_net/releases

==========================================================
Original post....no longer valid / relevant (but old files linked are still there if anyone still wants them):
SVN release (r865)
The ./zip file contents four seperate executables: with and without network support, for both Apple Silicon and x86-64 CPUs..
https://www.dropbox.com/s/k0b09ylnz7vuybr/Supermodel-svn-r865-macos.zip?dl=0

To run, you'll need SDL2 framework installed in /Library/Frameworks [or ~/Library/Frameworks ], and for network play, also SDL2_net framework [install to same location].
Binary Frameworks are available from:
SDL2 : https://libsdl.org/download-2.0.php [Apple Silicon and x86]
SDL2_net: https://www.libsdl.org/projects/SDL_net/ [x86 only]
I've built an Apple Silicon version of SDL2_net, and can be download here: https://www.dropbox.com/s/hhkpw2pgmim88bf/SDL2_net-m1-2.0.1.framework.zip?dl=0

Here's 4 linked games on Sega Rally 2 running locally [3 player and 1 relay]... if only SDL2 would accept global event inputs we could multi-player on same machine...

Re: Supermodel macOS Binaries for latest SVN release (r865)

PostPosted: Fri Nov 26, 2021 12:04 pm
by zuppa_di_pesce
TheOldDragon wrote:if only SDL2 would accept global event inputs we could multi-player on same machine...
Would be awesome... 8-) ;)

Re: Supermodel macOS Binaries for latest SVN release (r865)

PostPosted: Fri Sep 02, 2022 12:18 pm
by alfonzotan
This is terrific, thank you. Running great under Mojave... except for Star Wars. Getting a bad ROM message:

Error: 'epr-21119.ic8' with CRC32 0x65082b14 not found in 'Roms/swtrilgy.zip'.
Error: Optional ROM region 'driveboard_program' in 'swtrilgy' could not be loaded.

Using the standard Supermodel 3 set, weird that this one isn't working and everything else I've tried is...

Re: Supermodel macOS Binaries for latest SVN release (r865)

PostPosted: Sat Sep 03, 2022 9:12 am
by alfonzotan
Please disregard my previous question, I figured it out. Got the right romset and realized I was missing the -legacy3d flag. Works great now, thanks for the great work.

Re: Supermodel macOS Binaries for latest SVN release (r865)

PostPosted: Thu Oct 13, 2022 8:25 am
by harmonoff
IS there anybody willing to walk me through getting this working on my Intel mac (running Mojave)? The only way I've been able to play with supermodel was by installing through homebrew but from what I understand that is an older more buggy version & did not work well. I'd love to play with these binaries but I'm very confused how to get them working. My general computer knowledge including terminal is probably an 8 or 9 / 10 so I should be able to follow instructions very well. I would greatly appreciate the help if there is a way to talk via discord, message, etc... please let me know!

Re: Supermodel macOS Binaries for latest SVN release (r865)

PostPosted: Tue Nov 01, 2022 8:41 am
by TheOldDragon
harmonoff wrote:IS there anybody willing to walk me through getting this working on my Intel mac (running Mojave)? The only way I've been able to play with supermodel was by installing through homebrew but from what I understand that is an older more buggy version & did not work well. I'd love to play with these binaries but I'm very confused how to get them working. My general computer knowledge including terminal is probably an 8 or 9 / 10 so I should be able to follow instructions very well. I would greatly appreciate the help if there is a way to talk via discord, message, etc... please let me know!


I just tried the instructions from my initial post above on a 2012 Mac mini I have running OS X 10.15 (Catalina), and the binaries and SDL libs worked fine...

The above instructions should be straightforward; what part are you stuck on?
I've elaborated on them below, but I'd be happy to walk you through the process if you still need help.... send me a DM and we can set something up schedules permitting.

# How-to:
Download the linked in my original message, and unzip it to wherever you want it to be kept.. eg. ~/Games or you can just keep in in ~/Downloads , ow wherever...

# install the ROMs....
copy the game rom files you already have to the Roms folder...

# install the SDL library (per the instructions above)...
Just go to https://github.com/libsdl-org/SDL/releases and download the latest* (".dmg") file and follow the instructions to install it (they're included in the .dmg file when you open it, but very simple **).
(*Latest version is 2.4.2 as of writing this).
(**Basically, you just open the .dmg file and then move the SDL framework folder into /Library/Frameworks )

# Give macOS permission to run your game - just need to do this 1 time...
Open the folder in Finder, and right clip on the "supermodel-svn-r865-nonet-x86" file
Click "Open" when the following dialogue box appears : "macOS cannot verify the developer of “supermodel-svn-r865-nonet-x86”. Are you sure you want to open it?"
Close the terminal window that opens (after clicking open)

# start the game:
open a new Terminal window/session
Type:
cd <the-location-of-your-game-folder>
./supermodel-svn-r865-nonet-x86 ./Roms/<rom-name>.zip -legacy3d

That should start the chosen game with the basic options.. you can follow all the other instructions/guides for changing screen size, controls, etc...

Re: Supermodel macOS Binaries for latest SVN release (r865)

PostPosted: Tue Nov 01, 2022 2:44 pm
by Bart
TheOldDragon: This is really helpful. Would you like to submit a PR to update README.md in the Github repo with MacOS instructions?

Re: Supermodel macOS Binaries for latest SVN release (r865)

PostPosted: Wed Nov 02, 2022 10:39 am
by TheOldDragon
Bart wrote:TheOldDragon: This is really helpful. Would you like to submit a PR to update README.md in the Github repo with MacOS instructions?


Yes, I'd be happy to. [My GitHub handle is TheBrinkofTomorrow]

Q#1: Do you want the main README.md updated with all the instructions, or a new, macOS specific README created that the main README can link to?
I ask because I could also add the build instructions for macOS, and include how to get / build SDL_net for people who want to build with and/or run with networking enabled...

Q#2:
There's still a build issue on macOS. - see http://www.supermodel3.com/Forum/viewtopic.php?f=5&t=1911#p18040
I built the latest Github code yesterday on MacOS 12.x / Apple Silicon, and everything was fine (apart from the usual 1 line addition needed to eliminate the compiler error).
Are you OK with me submitting a PR for that too? It doesn't break anything when I build it on Linux... (I don't build on Windows, so someone else would have to test that), or it can be #if def'd to macOS only?

Q#3:
I'll build and package the latest code on Mac Ventura some time this week - for x86 and Apple Silicon - and I'm happy update the OP in this thread with the latest binaries - via DropBox - (for those who can't / don't want to build for themselves)...
Are you OK with that, or is there a different way you want to share (e.g. add the binaries to the supermodel3.com/Download page)?.
[ Note: If a PR for number Q#2 is merged, the build process for macOS can be automated... and I'd likely build it more regularly...]

#Q#4:
Do you want to migrate these type of discussions as issues on the GitHub, or keep them on the forum?

Re: Supermodel macOS Binaries for latest SVN release (r865)

PostPosted: Sat Jan 14, 2023 10:23 am
by kazenosenshi
TheOldDragon wrote:
Bart wrote:TheOldDragon: This is really helpful. Would you like to submit a PR to update README.md in the Github repo with MacOS instructions?


Yes, I'd be happy to. [My GitHub handle is TheBrinkofTomorrow]

Q#1: Do you want the main README.md updated with all the instructions, or a new, macOS specific README created that the main README can link to?
I ask because I could also add the build instructions for macOS, and include how to get / build SDL_net for people who want to build with and/or run with networking enabled...

Q#2:
There's still a build issue on macOS. - see http://www.supermodel3.com/Forum/viewtopic.php?f=5&t=1911#p18040
I built the latest Github code yesterday on MacOS 12.x / Apple Silicon, and everything was fine (apart from the usual 1 line addition needed to eliminate the compiler error).
Are you OK with me submitting a PR for that too? It doesn't break anything when I build it on Linux... (I don't build on Windows, so someone else would have to test that), or it can be #if def'd to macOS only?

Q#3:
I'll build and package the latest code on Mac Ventura some time this week - for x86 and Apple Silicon - and I'm happy update the OP in this thread with the latest binaries - via DropBox - (for those who can't / don't want to build for themselves)...
Are you OK with that, or is there a different way you want to share (e.g. add the binaries to the supermodel3.com/Download page)?.
[ Note: If a PR for number Q#2 is merged, the build process for macOS can be automated... and I'd likely build it more regularly...]

#Q#4:
Do you want to migrate these type of discussions as issues on the GitHub, or keep them on the forum?


Hi. Did you finally build latest code on Ventura? It would be great in my opinion if you update OP. I also prefer to keep discussions on the forum. Thanks in advance.

Re: Supermodel macOS Binaries for latest SVN release (r865)

PostPosted: Fri Feb 24, 2023 8:54 am
by TheOldDragon
kazenosenshi wrote:
Hi. Did you finally build latest code on Ventura? It would be great in my opinion if you update OP. I also prefer to keep discussions on the forum. Thanks in advance.


Sorry, I haven't been to the forum in quite some time.

I've just built the latest code on Ventura 13.2.1, and updated the original post with a link to the new binaries and updated instructions; I hope you find them useful.