Can someone compile for Mac OSX ?

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!

Re: Can someone compile for Mac OSX ?

Postby kuran » Wed Sep 28, 2011 8:21 pm

Bart wrote:
kuran wrote:PS. Am I doing something wrong? My attract screens seem to have disappeared from Daytona 2 and SCUD.


Is it going straight to selection? It shouldn't do that, even with coins logged in the machine, but try clearing NVRAM (ALT-N) and then restarting. Does it help?


Yes, it went straight to selection. I cleared NVRAM and now it works again. Not sure what caused it! I will report back if it happens again.
User avatar
kuran
 
Posts: 69
Joined: Mon Sep 26, 2011 11:24 pm

Re: Can someone compile for Mac OSX ?

Postby Bart » Wed Sep 28, 2011 8:33 pm

This happens when credits are still logged in the machine. Maybe you got impatient and put multiple coins in (I've done that during the country warning screen, which cannot be skipped by inserting coins). I just tested it out again. If you put in one coin, it goes to the selection screen and consumes that credit. When you quit or restart, you'll go back to attract mode. But now, try putting in two coins, then quit or reset at the selection screen. You'll have consumed one but one is still logged, and the game will go straight to course select. You have to clear NVRAM or just use up the credits. I imagine that this behavior was intentional, although I'm surprised they don't just go to the attract mode and flash 'Press Start'. Maybe this was intended as a safeguard against unexpected (and very temporary) power cycles, assuming that the user would hang around until the machine rebooted?
User avatar
Bart
Site Admin
 
Posts: 2063
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: Can someone compile for Mac OSX ?

Postby kuran » Wed Sep 28, 2011 8:39 pm

Bart wrote:This happens when credits are still logged in the machine. Maybe you got impatient and put multiple coins in (I've done that during the country warning screen, which cannot be skipped by inserting coins). I just tested it out again. If you put in one coin, it goes to the selection screen and consumes that credit. When you quit or restart, you'll go back to attract mode. But now, try putting in two coins, then quit or reset at the selection screen. You'll have consumed one but one is still logged, and the game will go straight to course select. You have to clear NVRAM or just use up the credits. I imagine that this behavior was intentional, although I'm surprised they don't just go to the attract mode and flash 'Press Start'. Maybe this was intended as a safeguard against unexpected (and very temporary) power cycles, assuming that the user would hang around until the machine rebooted?


That makes sense! And is indeed what happened. I spammed the credit button when I was testing something..
User avatar
kuran
 
Posts: 69
Joined: Mon Sep 26, 2011 11:24 pm

Re: Can someone compile for Mac OSX ?

Postby Arbee » Thu Sep 29, 2011 8:19 am

Regarding the fullscreen problem: MAME actually does show the warning about the deprecated API but it works anyway.

I have been unable to get SM to work even when duplicating the flags that MAME passes to SDL_SetVideoMode() so this is going to need more investigation.
Arbee
 
Posts: 69
Joined: Sun Sep 25, 2011 6:41 pm

Re: Can someone compile for Mac OSX ?

Postby Bart » Thu Sep 29, 2011 9:48 am

Arbee wrote:Regarding the fullscreen problem: MAME actually does show the warning about the deprecated API but it works anyway.

I have been unable to get SM to work even when duplicating the flags that MAME passes to SDL_SetVideoMode() so this is going to need more investigation.


Do you know which call crashes it? Is it really SDL_SetVideoMode() or is it happening somewhere else (OpenGL)? When I was looking up the problem, I noticed some alternative .m files were being used by some folks. Not sure of their purpose though. Some were Quartz related but I didn't think they were directly related to fixing this problem.
User avatar
Bart
Site Admin
 
Posts: 2063
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: Can someone compile for Mac OSX ?

Postby Arbee » Thu Sep 29, 2011 10:18 am

Bart wrote:Do you know which call crashes it? Is it really SDL_SetVideoMode() or is it happening somewhere else (OpenGL)? When I was looking up the problem, I noticed some alternative .m files were being used by some folks. Not sure of their purpose though. Some were Quartz related but I didn't think they were directly related to fixing this problem.


SDL_SetVideoMode() returns NULL, so no surface was created. If I change it to ignore that, the init for GLEW fails. So it's a real problem.

Regarding .m files, the one in Supermodel is exactly the one I ship with MAME.
Arbee
 
Posts: 69
Joined: Sun Sep 25, 2011 6:41 pm

Re: Can someone compile for Mac OSX ?

Postby tbs21 » Tue Nov 29, 2011 4:31 am

Maybe you have to use: ./Supermodel daytona2.zip
That worked, thank you! Performance in Scud Race is amazing. Looks like a constant 60fps on native resolution.

I have the same problem, that terminal says "-bash: ./supermodel: Permission denied"

Can anybody help me?
I installed osx version (mac book pro lion)
installed sdl framework
have a correct rom (zip in main folder)
but can´t open.
thanks very much for your help
tk24
tbs21
 
Posts: 3
Joined: Tue Nov 29, 2011 4:29 am

Re: Can someone compile for Mac OSX ?

Postby Bart » Tue Nov 29, 2011 11:01 am

Type 'ls -al' in your Supermodel directory and paste the results here.
User avatar
Bart
Site Admin
 
Posts: 2063
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: Can someone compile for Mac OSX ?

Postby tbs21 » Thu Dec 01, 2011 2:12 am

all of a sudden permission is NOT denied anymore. I don´t know what i have done wrong but now it works.
and i have to say it is a pleasure
THANKS
tbs21
 
Posts: 3
Joined: Tue Nov 29, 2011 4:29 am

Re: Can someone compile for Mac OSX ?

Postby GamerGee » Thu Dec 01, 2011 11:09 am

tbs21 wrote:Maybe you have to use: ./Supermodel daytona2.zip
That worked, thank you! Performance in Scud Race is amazing. Looks like a constant 60fps on native resolution.

I have the same problem, that terminal says "-bash: ./supermodel: Permission denied"

Can anybody help me?
I installed osx version (mac book pro lion)
installed sdl framework
have a correct rom (zip in main folder)
but can´t open.
thanks very much for your help
tk24


this is how i run romsets.. I pull the terminal.. CD "directory of Supermodel" and enter. Then i paste the path of the executable then daytona2.zip and it runs just fine.. I havent found any other way yet but this is simploe enough that it doesnt really bother me to look around for another method.
Machine: Mac Pro 2,2 (Dual Quad Xeon @ 3GHZ)
OSX 10.6.7 / (Bootcamp 64-Bit Windows 7 Ultimate)
9GB Ram
ATI Radeon 5770 (PC Flashed To EFI Mac)
X360 Pad Soon To Be G27 Wheel
GamerGee
 
Posts: 185
Joined: Wed Nov 30, 2011 9:45 am

PreviousNext

Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 1 guest