Page 5 of 7
Re: Can someone compile for Mac OSX ?

Posted:
Wed Sep 28, 2011 8:21 pm
by kuran
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.
Re: Can someone compile for Mac OSX ?

Posted:
Wed Sep 28, 2011 8:33 pm
by Bart
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?
Re: Can someone compile for Mac OSX ?

Posted:
Wed Sep 28, 2011 8:39 pm
by kuran
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..
Re: Can someone compile for Mac OSX ?

Posted:
Thu Sep 29, 2011 8:19 am
by Arbee
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.
Re: Can someone compile for Mac OSX ?

Posted:
Thu Sep 29, 2011 9:48 am
by Bart
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.
Re: Can someone compile for Mac OSX ?

Posted:
Thu Sep 29, 2011 10:18 am
by Arbee
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.
Re: Can someone compile for Mac OSX ?

Posted:
Tue Nov 29, 2011 4:31 am
by tbs21
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
Re: Can someone compile for Mac OSX ?

Posted:
Tue Nov 29, 2011 11:01 am
by Bart
Type 'ls -al' in your Supermodel directory and paste the results here.
Re: Can someone compile for Mac OSX ?

Posted:
Thu Dec 01, 2011 2:12 am
by tbs21
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
Re: Can someone compile for Mac OSX ?

Posted:
Thu Dec 01, 2011 11:09 am
by GamerGee
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.