How to debug a mod crash?

Any log files to look at or anything

I've been doing a small amount of modding for Sins Entrenchment, and now after my latest round of changes, the game freezes my computer when I start Sins up.  Nasty. 

If I disable the mod, the game runs fine.  Obviously, it doesn't like something I changed in the mod, but I'd rather not have to use trial and error to figure out what's gone wrong.

Is there any log file or anything I can look at (or a command line to make it generate one) to give me some clues about where the problem might be?

An unrelated question: I got the text files from the ForgeTools download, but the download page says "Entrenchment 1.01", and the latest version of the game is 1.02.   Is this a problem?

Thanks!

4,562 views 6 replies
Reply #1 Top

yes the forge tools references files ARE NOT compatible with 1.16/entrenchment 1.02 and WILL cause crashes.

some modders have uploaded un-official reference sets for sins 1.16 & entrenchment 1.02

hope these help your mod

harpo

 

Reply #2 Top

Yep, that fixed it.  I wonder why Ironclad hasn't updated the ForgeTools to match the patch?  I had assumed it was because none of the patch changes impacted what was in the reference data.

Thanks Harpo99999!

 

Reply #3 Top

It probably because of the next update, probably planing something big. and feel that they don't want to re-release the tools till the update is done

Reply #4 Top

When we will have the right version of forge tools, inside, you will find a dev exe... starting the game with these dev exe allow to log everything... great tool for debug a mod...

Reply #5 Top

thoumsin as you know, the currently available developer exe's are NOT compatible, and like all other modders I am also asking ironclad games and stardock to release the dev exe's with each patch to help us modders do what we want to to keep sins as enjoyable as possible

harpo

 

Reply #6 Top

What I do is go to my user.settings file and change the showErrors=TRUE

9 times out of 10 it gives me enough information to figure out where I went wrong (usually a fail to cross-reference an entity file, typo or left a file out of the manifest).

I wish that developer.exe would come out (supporting mesh refresh ingame would be nice!)

User.settings is found here:

Vista:
C:\Users\username\AppData\Local\Ironclad Games\Sins of a Solar Empire\Setting\user.setting

XP:
C:\Documents and Settings\username\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Setting\user.setting