Apple Silicon Mac M1

Linux geeks and Mac OS hipsters unite! A board for discussion of Supermodel on non-Windows platforms.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Apple Silicon Mac M1

Postby all4sr2 » Sun Jan 24, 2021 12:36 am

Good morning everybody,
is there any build for the new Apple Silicon M1 machines to download?

Unfortunately I don't have the skills to compile a version by myself.

I tried to run it on parallels with windows 10 ARM64, but although I can run other pc games and emulators well, supermodel 3 compiled for 32bit or 64bit won't start.

Can anyone try to compile and share the build?

My guess is that it should run pretty well on the new M1 chips.

eventually thanks :D
all4sr2
 
Posts: 7
Joined: Thu Jun 04, 2020 12:16 am

Re: Apple Silicon Mac M1

Postby TheOldDragon » Sat Jan 30, 2021 10:20 am

all4sr2 wrote:Good morning everybody,
is there any build for the new Apple Silicon M1 machines to download?

Unfortunately I don't have the skills to compile a version by myself.

I tried to run it on parallels with windows 10 ARM64, but although I can run other pc games and emulators well, supermodel 3 compiled for 32bit or 64bit won't start.

Can anyone try to compile and share the build?

My guess is that it should run pretty well on the new M1 chips.

eventually thanks :D


Yes, it runs really well. I've been building it for a while [since late November].

I just built the latest version from Sourceforge - R846.

Here's a Mac M1 binary in a .zip file:
https://www.dropbox.com/s/l8lmllqlfq0dj ... 6.zip?dl=0

You have to use the -legacy3d option...
I use the following cli command:
./supermodel-svn-r846 ./Roms/<rom-name>.zip -legacy3d -show-fps -wide-screen -res=1920,1080
TheOldDragon
 
Posts: 62
Joined: Sat May 30, 2020 5:39 am

Re: Apple Silicon Mac M1

Postby all4sr2 » Sat Jan 30, 2021 1:45 pm

I can't thank you enough...having This emulator natively on my M1 for a Sega lover like me is heaven.

You're awesome
all4sr2
 
Posts: 7
Joined: Thu Jun 04, 2020 12:16 am

Re: Apple Silicon Mac M1

Postby all4sr2 » Sat Jan 30, 2021 2:31 pm

sorry for my noobiness... :oops:

it doesn't start, it says:

no suitable image found. Did find:
/Library/Frameworks/SDL2_net.framework/Versions/A/SDL2_net: mach-o, but wrong architecture

i installed all sdl2 libraries from https://libsdl.org/download-2.0.php, and the sdl2_net from https://www.libsdl.org/projects/SDL_net/
in the /library/frameworks folder (simply drag & drop like I did in my old intel Mac mini)

what I'm doing wrong?

the word "architecture" let me think about arm/x86/x64...I saw there is only sdl2_net for intel... :oops:
all4sr2
 
Posts: 7
Joined: Thu Jun 04, 2020 12:16 am

Re: Apple Silicon Mac M1

Postby TheOldDragon » Sat Jan 30, 2021 6:47 pm

all4sr2 wrote:sorry for my noobiness... :oops:

it doesn't start, it says:

no suitable image found. Did find:
/Library/Frameworks/SDL2_net.framework/Versions/A/SDL2_net: mach-o, but wrong architecture

i installed all sdl2 libraries from https://libsdl.org/download-2.0.php, and the sdl2_net from https://www.libsdl.org/projects/SDL_net/
in the /library/frameworks folder (simply drag & drop like I did in my old intel Mac mini)

what I'm doing wrong?

the word "architecture" let me think about arm/x86/x64...I saw there is only sdl2_net for intel... :oops:


I'm happy to help, and sorry it didn't work for you... luckily it's an easy fix...

I had compiled it with the NET_BOARD=1 option [I just do it automatically without thinking], so it's looking for the sdl2_net framework, and you'll need an M1 native one since you're using the M1 Supermodel binary....

You're correct that there's no M1 native framework posted yet at https://www.libsdl.org/projects/SDL_net/
I've previously downloaded the sdl2_net source and built the framework myself...which is why it was working without problems for me.

I've rebuilt Supermodel without networking enabled so that you don't need sdl2_net and added it to the .zip file.... I've also added the x86-64 binary [for anyone who wants it].

Here's the new file/link:
https://www.dropbox.com/s/ampfe90o9bm0v5j/Supermodel-macos-r846.zip?dl=0

I've also zipped/uploaded the compiled SDL2_net framework - native for M1 - as a separate download in case you want the network functionality...
https://www.dropbox.com/s/hhkpw2pgmim88bf/SDL2_net-m1-2.0.1.framework.zip?dl=0
TheOldDragon
 
Posts: 62
Joined: Sat May 30, 2020 5:39 am

Re: Apple Silicon Mac M1

Postby all4sr2 » Sun Jan 31, 2021 6:43 am

oh Man, you're simply AWESOME!!! :lol:

I wanted always to be a coder since when I was a kid...now I'm to old and don't have so much time to study.

Thanks a lot for your help!
all4sr2
 
Posts: 7
Joined: Thu Jun 04, 2020 12:16 am

Re: Apple Silicon Mac M1

Postby Cel_da » Sat Mar 27, 2021 4:55 pm

Hello,
I need some help please...
Iam a recent owner of Mac m1 and was always a windows user. I know pretty well how to make supermodel work on windows platform using the dos terminal, but I am struggling to make it work on my m1...
so I downloaded the file that "Theolddragon" gently shared. I putted the file on my desktop and then opened terminal app...then i wrote " /Users/celsogoncalves/Desktop/Supermodel-macos-r846/supermodel-m1-nonet-svn-r846 ./Roms/srally2.zip -legacy3d
I get a window to allow to make changes on the desktop and then I get:

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 './Roms/srally2.zip'

The directories are as I downloaded "Config", "NVRAM" and the 3 exec files. I just created "Roms" folder and putted srally2.zip that downloaded from the internet. Everithing is inside the "Supermodel-macos-r846" on the desktop.

Sorry, I know it's probably something simple, but as I told you before I am such a noob on Mac OS ...
Thanks!
Cel_da
 
Posts: 52
Joined: Thu Apr 16, 2015 2:51 am
Location: Portugal

Re: Apple Silicon Mac M1

Postby Bart » Sat Mar 27, 2021 9:36 pm

You need to switch to the directory that the Supermodel binary is. It's very similar to the Windows command prompt. You probably need:

Code: Select all
cd /Users/celsogoncalves/Desktop/Supermodel-macos-r846
./supermodel-m1-nonet-svn-r846 ./Roms/srally.zip -legacy3d
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Apple Silicon Mac M1

Postby Cel_da » Sun Mar 28, 2021 6:29 am

Thanks Bart,
I did´t thought that "cd" command also worked on the terminal as in Dos command line...I confess that I should do some research on the internet about the terminal commands but I am getting lazy...i´m probabbly getting old :lol:
So if I put the entire command line you wrote I get something like "cd: too many arguments"
So I did it like I would do on Dos and just wrote cd /Users/celsogoncalves/Desktop/Supermodel-macos-r846 so I could go to the folder and apparently it worked since I got the "celsogoncalves@MacBook-Air-de-Celso supermodel-macos-r846 %" on the beginning of the line... so I just wrote ./supermodel-m1-nonet-svn-r846 ./Roms/srally2.zip -legacy3d. It starts the .exe because I get

Supermodel: A Sega Model 3 Arcade Emulator (Version 0.3a-WIP)
Copyright 2011-2020 by Bart Trzynadlowski, Nik Henson, Ian Curtis,
Harry Tuttle, and Spindizzi

But in the end I still get the error:
Error: Could not open './Roms/srally2.zip'.

Any ideas??
Thanks again!
Cel_da
 
Posts: 52
Joined: Thu Apr 16, 2015 2:51 am
Location: Portugal

Re: Apple Silicon Mac M1

Postby Cel_da » Sun Mar 28, 2021 6:50 am

Ok...I finally found out what was the problem!!!...
For some reason the game zip file was decompressed when I putted it on the Roms folder...I just re-compressed it and now it is working :D

I tried the Srally2 and I found some graphics glitches (on the count down numbers for ex. when the race starts) I don't know if it's reported already or if there's a fix for it since I´ve been running the emulator on the windows environment and it looked fine (some months ago)...
Anyway thanks again, I will continue digging on the Mac OS commands and functions, but probably never going to learn much :lol: so I will writing here if I get some doubts...
Good easter to everybody and...
Thanks again!
Cel_da
 
Posts: 52
Joined: Thu Apr 16, 2015 2:51 am
Location: Portugal

Next

Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 1 guest