Can't open BVE on Mac

View previous topic View next topic Go down

Can't open BVE on Mac

Post by googleyberry on Sun Apr 28, 2013 10:21 pm

Hi,

I am trying to run OpenBve on my MacBook Air, running Mountain Lion. I have all of those three files required downloaded (SQL, Mono, etc...) and have followed the instructions to open it using terminal.

When I try to run OpenBve, I get the following error:

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in :0
at System.Drawing.FontFamily..ctor (GenericFontFamilies genericFamily) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily:.ctor (System.Drawing.Text.GenericFontFamilies)
at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000] in :0
at System.Drawing.Font.CreateFont (System.String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte charSet, Boolean isVertical) [0x00000] in :0
at System.Drawing.Font..ctor (System.String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) [0x00000] in :0
at System.Drawing.Font..ctor (System.String familyName, Single emSize, System.String systemName) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Drawing.Font:.ctor (string,single,string)
at System.Drawing.SystemFonts.get_DefaultFont () [0x00000] in :0
at System.Windows.Forms.Theme..ctor () [0x00000] in :0
at System.Windows.Forms.ThemeWin32Classic..ctor () [0x00000] in :0
at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in :0
at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in :0
at System.Windows.Forms.Control..ctor () [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at System.Windows.Forms.Control..ctor () [0x00000] in :0
at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in :0
at System.Windows.Forms.ContainerControl..ctor () [0x00000] in :0
at System.Windows.Forms.Form..ctor () [0x00000] in :0
at OpenBve.formMain..ctor () [0x00000] in :0
at (wrapper remoting-invoke-with-check) OpenBve.formMain:.ctor ()
at OpenBve.formMain.ShowMainDialog (MainDialogResult initial) [0x00000] in :0
at OpenBve.Program.Main (System.String[] args) [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in :0
at System.Drawing.FontFamily..ctor (GenericFontFamilies genericFamily) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily:.ctor (System.Drawing.Text.GenericFontFamilies)
at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000] in :0
at System.Drawing.Font.CreateFont (System.String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte charSet, Boolean isVertical) [0x00000] in :0
at System.Drawing.Font..ctor (System.String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) [0x00000] in :0
at System.Drawing.Font..ctor (System.String familyName, Single emSize, System.String systemName) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Drawing.Font:.ctor (string,single,string)
at System.Drawing.SystemFonts.get_DefaultFont () [0x00000] in :0
at System.Windows.Forms.Theme..ctor () [0x00000] in :0
at System.Windows.Forms.ThemeWin32Classic..ctor () [0x00000] in :0
at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in :0
at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in :0
at System.Windows.Forms.Control..ctor () [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at System.Windows.Forms.Control..ctor () [0x00000] in :0
at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in :0
at System.Windows.Forms.ContainerControl..ctor () [0x00000] in :0
at System.Windows.Forms.Form..ctor () [0x00000] in :0
at OpenBve.formMain..ctor () [0x00000] in :0
at (wrapper remoting-invoke-with-check) OpenBve.formMain:.ctor ()
at OpenBve.formMain.ShowMainDialog (MainDialogResult initial) [0x00000] in :0
at OpenBve.Program.Main (System.String[] args) [0x00000] in :0


How can I fix this?
Thanks in advance

googleyberry

Posts : 1
Join date : 2012-12-10

Back to top Go down

Re: Can't open BVE on Mac

Post by buckysam on Tue Apr 30, 2013 6:43 am

How to fix this? I know! Buy a PC! Laughing And use Windows! lol!

Sorry. I just couldn't resist! tongue

buckysam

Posts : 150
Join date : 2012-05-28
Age : 21
Location : Kentucky USA

Back to top Go down

Re: Can't open BVE on Mac

Post by Dexter on Tue Apr 30, 2013 7:14 am

@Buckysam: Not very helpful :-D

*************************************************************************************************
For Windows
Download OpenBVE from the previous page and extract anywhere.
Download SDL and extract to the same directory.
Download OpenAL, extract, and run the installer.
Download .NET Framework 4 Client Profile and run the installer.
Search the internet for compatible routes and trains, and download and install them correctly.
Start OpenBve.exe.

For Linux
Download OpenBVE from the previous page and extract anywhere.
Download SDL and install correctly.
Download OpenAL from somewhere and install correctly, or compile yourself from here or here.
Download Mono 2.8.1 or higher and install correctly.
Search the internet for compatible routes and trains, and download and install them correctly.
Start OpenBve.exe via the terminal (mono OpenBve.exe).

For Mac OS X
Download OpenBVE from the previous page and extract anywhere.
Download SDL and install correctly.
Download OpenAL and run the installer.
Download Mono 2.8.1 or higher and install correctly.
Search the internet for compatible routes and trains, and download and install them correctly.
Start OpenBve.exe via the terminal (mono OpenBve.exe).

***************************************************************************

I am a Windows user, so my Mac knowledge is weak.
avatar
Dexter

Posts : 1824
Join date : 2011-07-09
Age : 31
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Re: Can't open BVE on Mac

Post by graymac on Tue Apr 30, 2013 8:24 pm

I'm a Mac owner and I never got it to run on any of them. I believe there ARE Mac users running it, but they seem to keepit under wraps, like its the official secrets act. Sorry!
avatar
graymac

Posts : 1741
Join date : 2011-08-29
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Can't open BVE on Mac

Post by leezer3 on Wed May 01, 2013 9:45 am

OK, so your current error is that it can't find the font it's looking for, which is probably MS Sans Serif. That's probably a sympton, not the root cause of the problem, but still.......

I don't have an Intel Mac handy to try tinkering with, but as a starter, try finding and installing a copy of MS Sans Serif (Not linking due to legalities). In *theory* it ought to be falling back to a generic Sans Serif font, but it doesn't seem to like that either, so feeding it what it's actually looking for may help, if only by revealing the error underneath this one Smile

The next step is to update XQuartz-
http://xquartz.macosforge.org/landing/

Finally, try the absolute latest bleeding edge version of Mono; I don't know if this'll be helpful, but it'd help to rule out a specific Mono bug.

Try those and get back to me Smile

If both graymac & you could let me have your OSX versions, I'll try some tinkering on my brother's Mac sometime soonish.

Cheers

Chris Lees

http://www.bvecornwall.co.uk

leezer3

Posts : 922
Join date : 2011-08-24

http://www.bvecornwall.co.uk

Back to top Go down

Re: Can't open BVE on Mac

Post by buckysam on Fri May 03, 2013 1:13 am

Ok, now I have a serious answer. Try installing Windows 7 on your computer and you could setup a dual-boot. I've seen a MacBook that had Windows 7 and OSX installed on it, and you could choose which OS you wanted to boot.

buckysam

Posts : 150
Join date : 2012-05-28
Age : 21
Location : Kentucky USA

Back to top Go down

Re: Can't open BVE on Mac

Post by graymac on Fri May 03, 2013 8:30 am

Although that may work, as this must be an Intel Mac being discussed here as it's running OS X 10.8, it isn't a cheap or simple fix unless you have a spare legitimate full-retail Windows 7 install disk. If you need to go out and buy Windows there's not much point. There may be other issues with dual booting to be aware of which would need to be investigated before going down that road.
avatar
graymac

Posts : 1741
Join date : 2011-08-29
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Can't open BVE on Mac

Post by Quork on Fri May 03, 2013 9:20 am

There could e.g. be programs, which might not recognise the computer as the one they were originally installed on, requiring the user to re-license them. Depending on the software company, this can mean anything between re-entering the license code and needing to strip down by letter sending copies of passport, voucher, software license card, 5$ in 2Ct-stamps and your pant size...
avatar
Quork

Posts : 1082
Join date : 2012-05-06
Age : 25
Location : Hofheim a.T., Hessen (Hesse), European Union

Back to top Go down

Re: Can't open BVE on Mac

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum