BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Can't open BVE on Mac

+2
buckysam
googleyberry
6 posters

Go down

Can't open BVE on Mac Empty Can't open BVE on Mac

Post by googleyberry Sun Apr 28, 2013 11:21 am

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-09

Back to top Go down

Can't open BVE on Mac Empty Re: Can't open BVE on Mac

Post by buckysam Mon Apr 29, 2013 7:43 pm

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 : 28
Location : Kentucky USA

Back to top Go down

Can't open BVE on Mac Empty Re: Can't open BVE on Mac

Post by Dexter Mon Apr 29, 2013 8:14 pm

@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.
Dexter
Dexter

Posts : 2153
Join date : 2011-07-08
Age : 38
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Can't open BVE on Mac Empty Re: Can't open BVE on Mac

Post by graymac Tue Apr 30, 2013 9:24 am

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!
graymac
graymac

Posts : 2134
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Can't open BVE on Mac Empty Re: Can't open BVE on Mac

Post by leezer3 Tue Apr 30, 2013 10:45 pm

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 : 1959
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Can't open BVE on Mac Empty Re: Can't open BVE on Mac

Post by buckysam Thu May 02, 2013 2:13 pm

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 : 28
Location : Kentucky USA

Back to top Go down

Can't open BVE on Mac Empty Re: Can't open BVE on Mac

Post by graymac Thu May 02, 2013 9:30 pm

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.
graymac
graymac

Posts : 2134
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Can't open BVE on Mac Empty Re: Can't open BVE on Mac

Post by Quork Thu May 02, 2013 10:20 pm

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...
Quork
Quork

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

Back to top Go down

Can't open BVE on Mac Empty Re: Can't open BVE on Mac

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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