Gray Area
Posts: 15
Joined: 12/1/2011 Status: offline
|
Thanks Darkspire, As a relative newbie I'm not too sure myself. What I've done is use the original custom theme as a template and added my custom races+shipsets+troopimages+policies+biases, then deleted the old ones. I know my races are fine because I can add them to the original custom theme and play each race. Only problem is there are too many at 39. Maximum I seem to get is 33. Which is slightly too many for the screen I feel. Anyway, I know the files are OK - so I thought... Here is the exception error, hope it doesn't take too long to spot what it is: System.ArgumentNullException: Value cannot be null. Parameter name: image at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height) at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect) at DistantWorlds.Controls.InfoPanel.PrescaleImage(Bitmap originalBitmap, Int32 width, Int32 height) at DistantWorlds.Controls.InfoPanel.InitializeImages(CharacterImageCache characterImageCache, Bitmap[] troopImages, Bitmap[] resourceImages, Bitmap[] raceImages, Bitmap[] builtObjectImages, Bitmap[] fighterImages, Bitmap[] ruinImages, Bitmap[] habitatImages, Bitmap[] facilityImages, Bitmap approvalSmileImage, Bitmap approvalNeutralImage, Bitmap approvalSadImage, Bitmap approvalAngryImage, Bitmap developmentImage, Bitmap colonyImage, Bitmap firepowerImage, Bitmap shipGroupLeadShipImage, Bitmap capitalColonyImage, Bitmap regionalCapitalColonyImage, Bitmap automateImage, Bitmap blockadeImage) at DistantWorlds.Main.UCItnSSqgm() at DistantWorlds.Start.kGin8N08v(String , Boolean , Boolean ) at DistantWorlds.Start.ga7nMHaDgU(Object , EventArgs ) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at DistantWorlds.Controls.GlassButton.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at DistantWorlds.Controls.GlassButton.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Cheers, Gray Area
|