BVEStation

Author Topic: Object Viewer on a Mac?  (Read 4856 times)

Offline Train man

  • Conductor
  • **
  • Posts: 112
  • Gender: Male
  • BVEStation Member
    • View Profile
Object Viewer on a Mac?
« on: August 05, 2013, 08:23:11 pm »
I was wondering if it is possible to run object viewer, and any of the other content developing software, on a Mac, without using something like bootcamp? Thanks in advance!  :)

Offline Threxx1

  • Conductor
  • **
  • Posts: 226
  • Gender: Male
    • View Profile
Re: Object Viewer on a Mac?
« Reply #1 on: August 06, 2013, 04:25:54 pm »
I was wondering if it is possible to run object viewer, and any of the other content developing software, on a Mac, without using something like bootcamp? Thanks in advance!  :)

You can use Wine, here.

http://winebottler.kronenberg.org/

Offline Train man

  • Conductor
  • **
  • Posts: 112
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: Object Viewer on a Mac?
« Reply #2 on: August 06, 2013, 04:38:53 pm »
I tried it, but I got an error. Here is the log from Console:

###BOTTLING### default.sh
###BOTTLING### Gathering debug Info...

Versions
OS...........................: darwin12
Wine.........................: 1.1.44
WineBottler..................: 1.1.44

Environment
PWD..........................: '/Applications/Wine.app/Contents/Resources/bin'
PATH.........................: /usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:.
WINEPATH.....................: /Applications/Wine.app/Contents/Resources/bin
LD_LIBRARY_PATH..............: /Applications/Wine.app/Contents/Resources/lib:/usr/X11R6/lib
DYLD_FALLBACK_LIBRARY_PATH...: /usr/lib:/Applications/Wine.app/Contents/Resources/lib:/usr/X11R6/lib
FONTCONFIG_FILE..............: /Applications/Wine.app/Contents/Resources/etc/fonts/fonts.conf
DIPSPLAY.....................: /tmp/launch-7brPVU/org.macosforge.xquartz:0
SILENT.......................:
http_proxy...................:
https_proxy..................:
ftp_proxy....................:
socks5_proxy.................:

Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro9,2
      Processor Name: Intel Core i5
      Processor Speed: 2.5 GHz
      Number of Processors: 1
      Total Number of Cores: 2
      L2 Cache (per Core): 256 KB
      L3 Cache: 3 MB
      Memory: 4 GB
      Boot ROM Version: MBP91.00D3.B08
      SMC Version (system): 2.2f38
      Serial Number (system): C17J10E0DTY3
      Hardware UUID: DB79FAA6-C769-5D0E-86A3-10D602E8232A
      Sudden Motion Sensor:
          State: Enabled

###BOTTLING### Create .app...
###BOTTLING### Turn on Coreaudio...
fixme:system:SetProcessDPIAware stub!
fixme:dwmapi:DwmIsCompositionEnabled 0x33c934
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:advapi:SetNamedSecurityInfoW L"C:\\windows\\system32\\gecko\\1.0.0\\wine_gecko\\components\\xpti.dat" 1 536870916 0x0 0x0 0x1b5824 0x0
fixme:iphlpapi:NotifyAddrChange (Handle 0xa82f528, overlapped 0xa82f530): stub
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:advapi:SetNamedSecurityInfoW L"C:\\windows\\system32\\gecko\\1.0.0\\wine_gecko\\components\\compreg.dat" 1 536870916 0x0 0x0 0x1f5a3dc 0x0
wine: configuration in '/Users/{my username}/Desktop/openbve_stable/ObjectViewer.app/Contents/Resources' has been updated.
###BOTTLING### Sandboxing...
###BOTTLING### Enabling Antialiasing...
###BOTTLING### Installing Truetype Fonts...
###BOTTLING### Registering Truetype Fonts...
/Applications/Wine.app/Contents/Resources/bin
###BOTTLING### Registering native dlls...
###BOTTLING### Installing ObjectViewer.exe...
wine: Install the Windows version of Mono to run .NET executables
### LOG ### Command '/Applications/Wine.app/Contents/Resources/bin/wine /Users/{my username}/Desktop/openbve_stable/ObjectViewer.exe' returned status 255.



###ERROR### Command '/Applications/Wine.app/Contents/Resources/bin/wine /Users/{my username}/Desktop/openbve_stable/ObjectViewer.exe' returned status 255.
Task returned with status 15.

Offline CrazyMarty

  • New Recruit
  • *
  • Posts: 12
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: Object Viewer on a Mac?
« Reply #3 on: August 07, 2013, 09:30:57 am »
It tells you exactly what you need to do:

wine: Install the Windows version of Mono to run .NET executables

Do that, and it probably will work as expected.

Offline Threxx1

  • Conductor
  • **
  • Posts: 226
  • Gender: Male
    • View Profile
Re: Object Viewer on a Mac?
« Reply #4 on: August 07, 2013, 12:16:09 pm »
Don't bottle the App into a simple Application, just run it in Wine Files and it should work.

Offline Train man

  • Conductor
  • **
  • Posts: 112
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: Object Viewer on a Mac?
« Reply #5 on: August 07, 2013, 02:05:22 pm »
??? I'm sorry if I sound like a nube, but I've never really used wine... can you try to explain it more simply?

Offline Threxx1

  • Conductor
  • **
  • Posts: 226
  • Gender: Male
    • View Profile
Re: Object Viewer on a Mac?
« Reply #6 on: August 07, 2013, 05:22:49 pm »
??? I'm sorry if I sound like a nube, but I've never really used wine... can you try to explain it more simply?

When you open the ObjectViewer.exe with wine, it should give you an option to run in wine files. Use that.

Offline YankeesPwnMets

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 683
  • Gender: Male
  • Lexington Av Express
    • View Profile
Re: Object Viewer on a Mac?
« Reply #7 on: August 11, 2013, 09:34:41 pm »
Install mono and in Terminal, try this command

cd where objectViewer is installed
mono objectviewer.exe