Author Topic: Startup crash :(  (Read 3432 times)

Offline Squighopper

  • Newbie
  • *
  • Posts: 4
  • For the Great Devour
Startup crash :(
« on: August 07, 2010, 06:35:40 pm »
Hey,

Just bought and downloaden your games, but when I try to start the game, it gives me a error window.

This is displayed in my unhandeled errors.txt:

8-8-2010 0:21:30 (3.1.2.0Trial)
-----------------------------------Application_ThreadException-----------------------------------System.TypeInitializationException: De type-initialisatiefunctie voor AIWar.Windows.GraphsDisplay heeft een uitzondering veroorzaakt. ---> System.ArgumentException: Het lettertype Arial ondersteunt de stijl Regular niet.
   bij System.Drawing.Font.CreateNativeFont()
   bij System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   bij System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   bij System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style, GraphicsUnit unit)
   bij ZedGraph.FontSpec.Remake(Single scaleFactor, Single size, Single& scaledSize, Font& font)
   bij ZedGraph.FontSpec.Init(String family, Single size, Color color, Boolean isBold, Boolean isItalic, Boolean isUnderline, Color fillColor, Brush fillBrush, FillType fillType)
   bij ZedGraph.Legend..ctor()
   bij ZedGraph.PaneBase..ctor(String title, RectangleF paneRect)
   bij ZedGraph.MasterPane..ctor(String title, RectangleF paneRect)
   bij ZedGraph.ZedGraphControl..ctor()
   bij AIWar.Windows.GraphsDisplay..ctor() in C:\vcprojs\AIWar\Windows\GraphsDisplay.cs:regel 23
   bij AIWar.Windows.GraphsDisplay..cctor() in C:\vcprojs\AIWar\Windows\GraphsDisplay.cs:regel 15
   --- Einde van intern uitzonderingsstackpad ---
   bij AIWar.GameForm.HideAllWindows() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:regel 153
   bij AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:regel 111
   bij System.Windows.Forms.Form.OnLoad(EventArgs e)
   bij System.Windows.Forms.Form.OnCreateControl()
   bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   bij System.Windows.Forms.Control.CreateControl()
   bij System.Windows.Forms.Control.WmShowWindow(Message& m)
   bij System.Windows.Forms.Control.WndProc(Message& m)
   bij System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   bij System.Windows.Forms.ContainerControl.WndProc(Message& m)
   bij System.Windows.Forms.Form.WmShowWindow(Message& m)
   bij System.Windows.Forms.Form.WndProc(Message& m)
   bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Are there any fixes for this?  I have installed all the requirements (directx, slimDX and the .NetFx32)

Thanks in advance!

Offline Squighopper

  • Newbie
  • *
  • Posts: 4
  • For the Great Devour
Re: Startup crash :(
« Reply #1 on: August 07, 2010, 06:41:32 pm »
Tried to re-install the game, but it still wont boot. Error log:


8-8-2010 0:39:47 (3.1.2.0Trial)
-----------------------------------Application_ThreadException-----------------------------------System.TypeInitializationException: De type-initialisatiefunctie voor AIWar.Windows.GraphsDisplay heeft een uitzondering veroorzaakt. ---> System.ArgumentException: Het lettertype Arial ondersteunt de stijl Regular niet.
   bij System.Drawing.Font.CreateNativeFont()
   bij System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   bij System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   bij System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style, GraphicsUnit unit)
   bij ZedGraph.FontSpec.Remake(Single scaleFactor, Single size, Single& scaledSize, Font& font)
   bij ZedGraph.FontSpec.Init(String family, Single size, Color color, Boolean isBold, Boolean isItalic, Boolean isUnderline, Color fillColor, Brush fillBrush, FillType fillType)
   bij ZedGraph.Legend..ctor()
   bij ZedGraph.PaneBase..ctor(String title, RectangleF paneRect)
   bij ZedGraph.MasterPane..ctor(String title, RectangleF paneRect)
   bij ZedGraph.ZedGraphControl..ctor()
   bij AIWar.Windows.GraphsDisplay..ctor() in C:\vcprojs\AIWar\Windows\GraphsDisplay.cs:regel 23
   bij AIWar.Windows.GraphsDisplay..cctor() in C:\vcprojs\AIWar\Windows\GraphsDisplay.cs:regel 15
   --- Einde van intern uitzonderingsstackpad ---
   bij AIWar.Windows.GraphsDisplay.Dispose(Boolean disposing)
   bij System.ComponentModel.Component.Finalize()
8-8-2010 0:39:47 (3.1.2.0Trial)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.TypeInitializationException: De type-initialisatiefunctie voor AIWar.Windows.GraphsDisplay heeft een uitzondering veroorzaakt. ---> System.ArgumentException: Het lettertype Arial ondersteunt de stijl Regular niet.
   bij System.Drawing.Font.CreateNativeFont()
   bij System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   bij System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   bij System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style, GraphicsUnit unit)
   bij ZedGraph.FontSpec.Remake(Single scaleFactor, Single size, Single& scaledSize, Font& font)
   bij ZedGraph.FontSpec.Init(String family, Single size, Color color, Boolean isBold, Boolean isItalic, Boolean isUnderline, Color fillColor, Brush fillBrush, FillType fillType)
   bij ZedGraph.Legend..ctor()
   bij ZedGraph.PaneBase..ctor(String title, RectangleF paneRect)
   bij ZedGraph.MasterPane..ctor(String title, RectangleF paneRect)
   bij ZedGraph.ZedGraphControl..ctor()
   bij AIWar.Windows.GraphsDisplay..ctor() in C:\vcprojs\AIWar\Windows\GraphsDisplay.cs:regel 23
   bij AIWar.Windows.GraphsDisplay..cctor() in C:\vcprojs\AIWar\Windows\GraphsDisplay.cs:regel 15
   --- Einde van intern uitzonderingsstackpad ---
   bij AIWar.Windows.GraphsDisplay.Dispose(Boolean disposing)
   bij System.ComponentModel.Component.Finalize()

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Startup crash :(
« Reply #2 on: August 07, 2010, 06:45:02 pm »
Hmm, Chris is better at these than me, but my two guesses are:

1) Are you using the March 2009 SP1 version of SlimDX?  We host a copy here: http://www.arcengames.com/dl/SlimDX%20Runtime%20(March%202009%20SP1).msi
2) It's possible that your .NET install is corrupt, that's happened to a number of people and while it is resolvable it's a big pain and one of the reasons we're porting the game from .NET to Unity 3D in the next couple months.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Squighopper

  • Newbie
  • *
  • Posts: 4
  • For the Great Devour
Re: Startup crash :(
« Reply #3 on: August 07, 2010, 06:49:04 pm »
Tried your SlimDX link, but no changes..

Offline Fiskbit

  • Arcen Games Contractor
  • Master Member Mark III
  • *****
  • Posts: 1,752
Re: Startup crash :(
« Reply #4 on: August 07, 2010, 07:06:49 pm »
It looks like there might be something amiss with your Arial font. Does it work if you download and install the Arial font at http://web.nickshanks.com/fonts/microsoft-core-web-fonts?
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!

Offline Squighopper

  • Newbie
  • *
  • Posts: 4
  • For the Great Devour
Re: Startup crash :(
« Reply #5 on: August 07, 2010, 07:09:07 pm »
:o  That just did it! Thanks!!  ;D

Now lets enjoy this awesome game!! 

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Startup crash :(
« Reply #6 on: August 07, 2010, 07:33:23 pm »
Glad it works, enjoy! :)
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!