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 Bart » Thu Dec 01, 2011 2:06 pm

Ohhh... RB did mention something about this before. I guess you do have to use absolute paths on Mac for some reason or other: '/usr/Supermodel/supermodel /usr/Supermodel/daytona.zip' or something like that.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Can someone compile for Mac OSX ?

Postby sixth » Mon Mar 26, 2012 2:40 am

Noob here. I'm having trouble installing supermodel on mac. I downloaded SDL (dragged to framworks) and supermodel, running on a intel 32bit on 10.6 snow leopard. I'm a little confused on the instructions on Arbee's site. On his update 2, he says extract the OS X binary, and then extract overlay over the OS X. I am confused as to what he meant by extracting the overly over the OS X binary. Does that mean extract the OS X and then replace the supermodel inside that folder with the supermodel from the overlay? Or, do I extract the OS X, put the overlay inside and then extract it?

I put the supermodel folder on my desktop and dragged it to the terminal. After that, I typed in
./supermodel vonot.zip
but I get
-bash: /Users/jonlee/Desktop/Supermodel_02a: is a directory

I'm really new to the use of terminal, hence dubbing myself noob. Any help is appreciated, thanks.
sixth
 
Posts: 5
Joined: Mon Mar 26, 2012 1:25 am

Re: Can someone compile for Mac OSX ?

Postby Bart » Mon Mar 26, 2012 7:51 am

Extract the OSX archive from this web site first. It contains the files and directories necessary to run the 64-bit version of Supermodel. Then, extract the "overlay" into the same place so that you replace the Supermodel binary with the 32-bit one provided in the overlay file. To run it, open up a terminal, go to the Supermodel directory, and run it. I've never used OS X so I don't know exactly how that's done but it shouldn't involve dragging any files or folders around. You should be able to open a terminal up and then, assuming you've extracted Supermodel onto your desktop in a folder called Supermodel_02a (as you seem to have done), you can switch to that directory by typing one of the following:

Code: Select all
cd /Users/jonlee/Desktop/Supermodel_02a


The shorthand form should also work:

Code: Select all
cd ~/Desktop/Supermodel_02a


Then, try:

Code: Select all
./supermodel vonot.zip


If you are in the Supermodel directory and it still isn't working, post the error you're getting here and if possible, the contents of the terminal window after you've typed:

Code: Select all
ls -al


That will give me a better idea of what you're trying to do.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Can someone compile for Mac OSX ?

Postby sixth » Mon Mar 26, 2012 9:45 am

Thank you very much Bart! Sorry for any trouble. I did what you asked. Just a question though, when I replace the supermodel 64 bit with the 32, do I just delete it so that there's only one supermodel. Anyways, I did that and got this as a result.


Jon-Lees-MacBook-Pro:~ jonlee$ cd /Users/jonlee/Desktop/Supermodel_02a
Jon-Lees-MacBook-Pro:Supermodel_02a jonlee$ ./supermodel vonot.zip
Supermodel: A Sega Model 3 Arcade Emulator (Version 0.2a)
Copyright (C) 2011 by Bart Trzynadlowski and Nik Henson

Bus error
Jon-Lees-MacBook-Pro:Supermodel_02a jonlee$ ls -al
total 173088
drwxr-xr-x@ 12 jonlee staff 408 26 Mar 12:41 .
drwx------+ 67 jonlee staff 2278 26 Mar 05:24 ..
-rw-r--r--@ 1 jonlee staff 6148 26 Mar 05:24 .DS_Store
drwxr-xr-x@ 3 jonlee staff 102 26 Sep 22:07 Config
-rw-r--r--@ 1 jonlee staff 36247 26 Sep 21:53 LICENSE.txt
drwxr-xr-x@ 2 jonlee staff 68 26 Sep 21:55 NVRAM
-rw-r--r-- 1 jonlee staff 82863 26 Sep 21:53 README.txt
drwxr-xr-x@ 2 jonlee staff 68 26 Sep 21:55 Saves
-rwxr-xr-x@ 1 jonlee staff 1427984 30 Sep 22:09 Supermodel
-rw-r--r--@ 1 jonlee staff 360720 26 Mar 05:22 Supermodel32_OSX.tgz
-rw-r--r-- 1 jonlee staff 113 26 Mar 12:41 error.log
-rw-r--r--@ 1 jonlee staff 86690237 26 Mar 04:17 vonot.zip
Jon-Lees-MacBook-Pro:Supermodel_02a jonlee$
sixth
 
Posts: 5
Joined: Mon Mar 26, 2012 1:25 am

Re: Can someone compile for Mac OSX ?

Postby Bart » Mon Mar 26, 2012 10:18 am

sixth wrote:Thank you very much Bart! Sorry for any trouble. I did what you asked. Just a question though, when I replace the supermodel 64 bit with the 32, do I just delete it so that there's only one supermodel. Anyways, I did that and got this as a result.


Jon-Lees-MacBook-Pro:~ jonlee$ cd /Users/jonlee/Desktop/Supermodel_02a
Jon-Lees-MacBook-Pro:Supermodel_02a jonlee$ ./supermodel vonot.zip
Supermodel: A Sega Model 3 Arcade Emulator (Version 0.2a)
Copyright (C) 2011 by Bart Trzynadlowski and Nik Henson

Bus error


I've never heard of anyone encountering that one before. That's a Mac OS X error message and not something Supermodel would ever throw, indicating that the program completely crashed. It looks like you're running the correct version otherwise you wouldn't get the title/copyright text at all. My guess is that this is related to your drivers. Try Googling around for "bus error", OS X, and OpenGL. Try the -print-gl-info option:

Code: Select all
./supermodel -print-gl-info


What does it say? Can you try upgrading your drivers? Also, make sure the 32-bit SDL framework was installed correctly.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Can someone compile for Mac OSX ?

Postby sixth » Mon Mar 26, 2012 10:59 am

Thanks Bart. I got this.


Jon-Lees-MacBook-Pro:Supermodel_02a jonlee$ ./supermodel -print-gl-info
Supermodel: A Sega Model 3 Arcade Emulator (Version 0.2a)
Copyright (C) 2011 by Bart Trzynadlowski and Nik Henson

OpenGL information:

Vendor: NVIDIA Corporation
Renderer: NVIDIA GeForce 9400M OpenGL Engine
Version: 2.1 NVIDIA-1.6.36
Shading Language Version: 1.20
Maximum Vertex Array Size: 2048 vertices
Maximum Texture Size: 8192 texels
Maximum Vertex Attributes: 16
Maximum Vertex Uniforms: 4096

Jon-Lees-MacBook-Pro:Supermodel_02a jonlee$
sixth
 
Posts: 5
Joined: Mon Mar 26, 2012 1:25 am

Re: Can someone compile for Mac OSX ?

Postby Bart » Mon Mar 26, 2012 12:46 pm

We could be doing something incorrectly in how we initialize OpenGL or perhaps are causing an overrun somewhere in the renderer. Strange that this has not happened for anyone else yet. Unfortunately, since I don't have a Mac, I can't debug this problem further. The only thing I can suggest for now is upgrading your OpenGL drivers if possible (I don't keep track, so I don't know what the latest version is). Sorry about that :(
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Can someone compile for Mac OSX ?

Postby sixth » Mon Mar 26, 2012 3:40 pm

Thanks for trying Bart, I really appreciate it. Just so excited of the possibility of playing Virtual On on my mac. Hopefully I figure out what's wrong sometime.
sixth
 
Posts: 5
Joined: Mon Mar 26, 2012 1:25 am

Re: Can someone compile for Mac OSX ?

Postby Bart » Mon Mar 26, 2012 8:08 pm

sixth wrote:Thanks for trying Bart, I really appreciate it. Just so excited of the possibility of playing Virtual On on my mac. Hopefully I figure out what's wrong sometime.


Let us know if you do. Unfortunately, I suspect it may be an internal bug. I would need to have access to a machine on which it crashes in order to figure it out.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Can someone compile for Mac OSX ?

Postby Zeasar » Thu Mar 29, 2012 11:50 pm

I have a feeling that, his macbook pro is actually running at 64 bit. I would suggest to try and run both 64 and 32 bit versions of supermodel and see.
Zeasar
 
Posts: 37
Joined: Thu Nov 17, 2011 6:10 am

PreviousNext

Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 1 guest