Page 2 of 2

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

PostPosted: Sat Feb 25, 2023 8:41 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?


I've (finally) got around to doing this. PR is raised...

Re: Supermodel macOS Binaries (GitHub code Feb 24 2023)

PostPosted: Fri Apr 28, 2023 7:32 am
by GamerGee
TheOldDragon wrote:
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...


If I am trying to run this on more than one physical machine running Mac OS, would it be the same as windows in this section below? Also, is there an intelMac build that supports netplay for Mac OS floating around?

; Network board - experimental build for win32 only
EmulateNet = 0
port_in = 1970
port_out = 1971
addr_out = "127.0.0.1"

Re: Supermodel macOS Binaries (GitHub code Feb 24 2023)

PostPosted: Sun Apr 30, 2023 5:55 pm
by Bart
The GitHub README.md has build instructions for Mac OS. Have you tried them out to build a version for your Intel Mac?

Re: Supermodel macOS Binaries (GitHub code Feb 24 2023)

PostPosted: Mon May 01, 2023 6:49 am
by TheOldDragon
GamerGee wrote:
TheOldDragon wrote:
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...


If I am trying to run this on more than one physical machine running Mac OS, would it be the same as windows in this section below? Also, is there an intelMac build that supports netplay for Mac OS floating around?


I updated the OP with new Intel and Apple Silicon binaries on Feb 24th..
viewtopic.php?f=5&t=2062#p19513

And, per Bart's reply above, you should be able to follow the build instructions for macOS on GitHub, should you want to build it yourself.

Re: Supermodel macOS Binaries (GitHub code Feb 24 2023)

PostPosted: Mon Aug 14, 2023 6:16 am
by spazmoid
Hi @theolddragon

I've recently purchased a new M2 Macbook Air and aim trying to get supermodel to work on it via the terminal (i've installed the lastest SDL frameworks inc the Net) but i keep getting the following error from terminal when trying to do a basic launch on a game

Last login: Mon Aug 14 14:09:53 on console
michaeljohnson@MacBook-Air ~ % /Users/michaeljohnson/Downloads/Supermodel/Supermodel/supermodel daytona2
Supermodel: A Sega Model 3 Arcade Emulator (Version 0.3a-WIP)
Copyright 2003-2022 by The Supermodel Team
Error: Unable to open 'Config/Supermodel.ini'. Configuration will not be loaded.
Error: Failed to parse Config/Games.xml (XML_ERROR_FILE_NOT_FOUND).
Error: Game and ROM set definitions could not be loaded! ROMs will not be detected.
Error: Could not open 'daytona2'.

My supermodel directory has config, nvram, roms folders with the all the required files in them as it use (Games.xml, Supermodel.ini and *zip for the roms in Roms directory

Launching the supermodel application works at a basic level:

Last login: Mon Aug 14 14:10:44 on ttys000
/Users/michaeljohnson/Downloads/Supermodel/Supermodel/supermodel ; exit;
michaeljohnson@MacBook-Air ~ % /Users/michaeljohnson/Downloads/Supermodel/Supermodel/supermodel ; exit;
Supermodel: A Sega Model 3 Arcade Emulator (Version 0.3a-WIP)
Copyright 2003-2022 by The Supermodel Team
Usage: Supermodel <romset> [options]
ROM set must be a valid ZIP file containing a single game.

General Options:
-?, -h, -help, --help Print this help text
-print-games List supported games and quit
-game-xml-file=<file> ROM set definition file [Default: Config/Games.xml]
-log-output=<outputs> Log output destination(s) [Default: Supermodel.log]
-log-level=<level> Logging threshold [Default: info]

Core Options:
-ppc-frequency=<freq> PowerPC frequency in MHz [Default: 50]
-no-threads Disable multi-threading entirely
-gpu-multi-threaded Run graphics rendering in separate thread [Default]
-no-gpu-thread Run graphics rendering in main thread
-load-state=<file> Load save state after starting

Video Options:
-res=<x>,<y> Resolution [Default: 496,384]
-window Windowed mode [Default]
-fullscreen Full screen mode
-wide-screen Expand 3D field of view to screen width
-wide-bg When wide-screen mode is enabled, also expand the 2D
background layer to screen width
-stretch Fit viewport to resolution, ignoring aspect ratio
-no-throttle Disable frame rate lock
-vsync Lock to vertical refresh rate [Default]
-no-vsync Do not lock to vertical refresh rate
-true-hz Use true Model 3 refresh rate of 57.524 Hz
-show-fps Display frame rate in window title bar
-crosshairs=<n> Crosshairs configuration for gun games:
0=none [Default], 1=P1 only, 2=P2 only, 3=P1 & P2
-new3d New 3D engine by Ian Curtis [Default]
-quad-rendering Enable proper quad rendering
-legacy3d Legacy 3D engine (faster but less accurate)
-multi-texture Use 8 texture maps for decoding (legacy engine)
-no-multi-texture Decode to single texture (legacy engine) [Default]
-vert-shader=<file> Load Real3D vertex shader for 3D rendering
-frag-shader=<file> Load Real3D fragment shader for 3D rendering
-vert-shader-fog=<file> Load Real3D scroll fog vertex shader (new engine)
-frag-shader-fog=<file> Load Real3D scroll fog fragment shader (new engine)
-vert-shader-2d=<file> Load tile map vertex shader
-frag-shader-2d=<file> Load tile map fragment shader
-print-gl-info Print OpenGL driver information and quit

Audio Options:
-sound-volume=<vol> Volume of SCSP-generated sound in %, applies only
when Digital Sound Board is present [Default: 100]
-music-volume=<vol> Digital Sound Board volume in % [Default: 100]
-balance=<bal> Relative front/rear balance in % [Default: 0]
-channels=<c> Number of sound channels to use on host [Default: 4]
-flip-stereo Swap left and right audio channels
-no-sound Disable sound board emulation (sound effects)
-no-dsb Disable Digital Sound Board (MPEG music)
-new-scsp New SCSP engine based on MAME [Default]
-legacy-scsp Legacy SCSP engine by ElSemi

Net Options:
-no-net Disable net board [Default]
-net Enable net board
-simulate-netboard Simulate the net board [Default]
-emulate-netboard Emulate the net board (requires -no-threads)

Input Options:
-force-feedback Enable force feedback (DirectInput, XInput)
-config-inputs Configure keyboards, mice, and game controllers
-print-inputs Prints current input configuration

Debug Options:
-dump-textures Write textures to bitmap image files on exit

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Can you help me at all?

Re: Supermodel macOS Binaries (GitHub code Feb 24 2023)

PostPosted: Wed Aug 16, 2023 4:04 pm
by Bart
You need to run it from the directory where those sub-directories exist. You appear to be running it from your home directory.
That is, do something like this:

Code: Select all
cd /Users/michaeljohnson/Downloads/Supermodel/Supermodel
./supermodel daytona2.zip


Note that you cannot load an unzipped ROM.

Re: Supermodel macOS Binaries (GitHub code Feb 24 2023)

PostPosted: Fri Aug 18, 2023 3:29 pm
by spazmoid
Thanks Bart

I’ve figured it out and now got everything working - such a great emulator - do you know if there is a way on macs to add a scanline shader for retro look in full screen? - I’ve searched the forum and can’t find anything?

Many thanks

Re: Supermodel macOS Binaries (GitHub code Feb 24 2023)

PostPosted: Wed Sep 20, 2023 10:09 am
by marus
Hi all, this is my first post here :-)
I'm very happy to join to this forum, thank you for your work and for the useful info one can find here.

I've tried to launch last version supermodel-git-20230224-intel-net by installing SDL frameworks before but i receive this message from terminal:
libc++abi: terminating with uncaught exception of type std::range_error: Node "SimulateNet" does not exist
Abort trap: 6

I've also tried old version r865 binary and it works fine but has same issue presents in older versions related to:
Call ambulance - I can' get properly widescreen but i've found some vido on YT where it works!
Harley Davidson - Sky broken, a portion of the sky remain black.

Any suggestion?
Thank you!