Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

[SOLVED] Request for help troubleshooting a light custom modpack

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds Series >> Design and Modding >> [SOLVED] Request for help troubleshooting a light custom modpack Page: [1]
Login
Message << Older Topic   Newer Topic >>
[SOLVED] Request for help troubleshooting a light custo... - 5/26/2014 6:17:34 AM   
BlackGyver

 

Posts: 3
Joined: 5/26/2014
Status: offline
Hello! I've discovered Distant Worlds recently, and wanted to try my hand at modding right after finishing the tutorial. With some help from existing mods and the modding guide PDF, I've put together a light modpack with pieces from GEM and some from Human Revolution, and a custom race (fremen) based on humans, relatively overpowered to give me some breathing room as I start getting familiar with the game. Unfortunately, the custom race I added in seems to break somewhere, as the game crashes after giving me an error message about a bad reference.

I've spent a few hours troubleshooting it, to no avail.

I've made sure my custom race has;

-A line and column in the biases/raceBiases files
-An entry pointing to a shipset
-An entry pointing to a troop set
-An entry pointing to a race picture
-An entry pointing to a flag

And still it breaks!

Any help given to resolve this would be highly appreciated!

Thanks in advance!

I attached the modpack without the Images folder (173KB), but I can't attach the whole thing (120MB), and I apparently can't link to it either.

The error message (in french):
quote:

************** Texte de l'exception **************
System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
à System.Drawing.Bitmap..ctor(Image original)
à DistantWorlds.Main.nMTjWNFT26()
à DistantWorlds.Main.ghuycyUYmS()
à DistantWorlds.Main.Ignite(Game game, String currentFileName)
à DistantWorlds.Start.ATIEjyY7Sf(Game )
à DistantWorlds.Start.EBhS0AEc38(Object , EventArgs )
à System.Windows.Forms.Control.OnClick(EventArgs e)
à System.Windows.Forms.Button.OnClick(EventArgs e)
à DistantWorlds.Controls.GlassButton.OnClick(EventArgs e)
à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
à DistantWorlds.Controls.GlassButton.OnMouseUp(MouseEventArgs e)
à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ButtonBase.WndProc(Message& m)
à System.Windows.Forms.Button.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assemblys chargés **************
mscorlib
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
_
Version de l'assembly : 0.0.0.0
Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
DistantWorlds
Version de l'assembly : 1.9.5.0
Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Windows.Forms
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
DistantWorlds.Controls
Version de l'assembly : 1.9.5.0
Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
DistantWorlds.Types
Version de l'assembly : 1.9.5.0
Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
Microsoft.Xna.Framework
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30901.0 built by: xnabldr
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_32/Microsoft.Xna.Framework/v4.0_4.0.0.0__842cf8be1de50553/Microsoft.Xna.Framework.dll
----------------------------------------
Microsoft.DirectX.DirectSound
Version de l'assembly : 1.0.2902.0
Version Win32 : 5.04.00.2904
CodeBase : file:///C:/Windows/assembly/GAC/Microsoft.DirectX.DirectSound/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectSound.dll
----------------------------------------
Microsoft.Xna.Framework.Graphics
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30901.0 built by: xnabldr
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_32/Microsoft.Xna.Framework.Graphics/v4.0_4.0.0.0__842cf8be1de50553/Microsoft.Xna.Framework.Graphics.dll
----------------------------------------
System.Deployment
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Core
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Deployment.resources
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30319.1 (RTMRel.030319-0100)
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment.resources/v4.0_4.0.0.0_fr_b03f5f7f11d50a3a/System.Deployment.resources.dll
----------------------------------------
AxInterop.WMPLib
Version de l'assembly : 1.0.0.0
Version Win32 : 1.0.0.0
CodeBase : file:///G:/Program%20Files%20(x86)/Slitherine%20Ltd/Distant%20Worlds%20Universe/AxInterop.WMPLib.DLL
----------------------------------------
Interop.WMPLib
Version de l'assembly : 1.0.0.0
Version Win32 : 1.0.0.0
CodeBase : file:///G:/Program%20Files%20(x86)/Slitherine%20Ltd/Distant%20Worlds%20Universe/Interop.WMPLib.DLL
----------------------------------------
mscorlib.resources
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30319.235 (RTMGDR.030319-2300)
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30319.1 built by: RTMRel
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Microsoft.VisualBasic
Version de l'assembly : 10.0.0.0
Version Win32 : 11.0.50861.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Management
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
PresentationCore
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsBase
Version de l'assembly : 4.0.0.0
Version Win32 : 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
Microsoft.DirectX
Version de l'assembly : 1.0.2902.0
Version Win32 : 5.04.00.2904
CodeBase : file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------

************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.

Par exemple :

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.



Attachment (1)

< Message edited by BlackGyver -- 5/26/2014 10:58:39 AM >
Post #: 1
RE: [ISSUE] Request for help troubleshooting a light cu... - 5/26/2014 9:29:54 AM   
Darkspire


Posts: 1989
Joined: 6/12/2003
From: My Own Private Hell
Status: offline
Welcome to the forums BlackGyver

I have had a look and there are a few things that need fixing.

1. You have two biases files in the theme, you only need raceBiases.txt. Checked that and it would seem to be ok, one thing to mention is with the biases file that it is always best to line the data up under the column numbers, makes checking easier.

2. The race file for the Fremen has the shipset number as 28, that is incorrect, numbers 0-21 are race shipsets and numbers 22 to 26 are Pirate shipsets, the shipsets must follow in numerical order, so your shipset should be numbered 27.

2a. Although allowed, it is better to never use the same number for the Pirate shipset as the race shipset, you have both at 28, use the numbers in point 2 or use -1 (random).

If numbering the shipset for the Fremen does not work then I will post a dropbox link, drop the entire theme in that and I will have a look at the whole picture.

Darkspire

_____________________________


(in reply to BlackGyver)
Post #: 2
RE: [ISSUE] Request for help troubleshooting a light cu... - 5/26/2014 9:34:09 AM   
BlackGyver

 

Posts: 3
Joined: 5/26/2014
Status: offline
I've narrowed it down to the "DesignsPictureFamilyIndex" function being the root of the problem. I guess there's an issue somewhere with the pictures? They have the right names, right numbers, and I've made sure they weren't over 300 pixels.

Will test some more and report back.

Edit: Didn't see your message. Thanks a lot for looking into it!

I will try renaming the shipset to 27 instead of 28.

< Message edited by BlackGyver -- 5/26/2014 10:36:29 AM >

(in reply to BlackGyver)
Post #: 3
RE: [ISSUE] Request for help troubleshooting a light cu... - 5/26/2014 9:37:54 AM   
Darkspire


Posts: 1989
Joined: 6/12/2003
From: My Own Private Hell
Status: offline

quote:

ORIGINAL: BlackGyver

I've narrowed it down to the "DesignsPictureFamilyIndex" function being the root of the problem. I guess there's an issue somewhere with the pictures? They have the right names, right numbers, and I've made sure they weren't over 300 pixels.

Will test some more and report back.


Which is what I just pointed out in my previous post

Rename the shipset folder to family27

DW will not be looking for family27 when loading family28 and thus should not kick out an error.

Darkspire

_____________________________


(in reply to BlackGyver)
Post #: 4
RE: [ISSUE] Request for help troubleshooting a light cu... - 5/26/2014 9:58:11 AM   
BlackGyver

 

Posts: 3
Joined: 5/26/2014
Status: offline
Excellent, that just solved it! Would never have thought of it.

As for the rest, I wasn't sure whether both biases and raceBiases were needed, but since I'd seen it done in a modpack or two I had around, I wondered if the redundancy was somehow important. Also, the formatting in them seems to have broken when zipped, they display all nicely at home. I've also followed your advice and chosen another pirate shipset.

Thanks for the quick and efficient help, I can now play and tweak some more.

Cheers!

(in reply to Darkspire)
Post #: 5
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds Series >> Design and Modding >> [SOLVED] Request for help troubleshooting a light custom modpack Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.184