Easy way to check which mod is crashing on loading a save?

I use a heavily modded game, so its definitely the mods.

I create a new game.  I settle my first city.   

Since this has happened in the past, I then save the game and quit LH.

I then re-open LH and attempt to load the game and get a crash to desktop.

 

There are a ton of mods/changes and since there are changes to core files its all a big PITA.   I've gone through mod by mod and removed them, started, created, saved, reloaded till I've found it - and in the past its usually been various custom sovereigns.

Is there an easier way?  Is there any way to check the debug file to determine what caused it to crash?  Plus - shouldn't it be capturing all that on the save anyway?

Hope you can help find an easier way to debug a modded game.

4,681 views 3 replies
Reply #1 Top

No way to check this except going through them like you did. It is trye that a crash dump is saved, but it is only readable by the devs and they do not bughunt games with mods.

Reply #2 Top

Sometimes you can look through the debug.err file and you may get lucky. But otherwise it is what heavenfall says.

Reply #3 Top

That's why it's in the mod forum :) 

My issue is that there are a ton of warnings/issues in the debug and it doesn't seem to necessarily stop when it crashes or it seems to stop when it doesn't make sense that it would crash.

 

So there are a bunch of warnings, but then it seems to keep going.

 

Debug Message:  LOADING GAME: C:\Users\Owner\Documents\My Games\LegendaryHeroes\Saves\CoS_Game_2_start_6_4_5.EleSav
Debug Message:  UnzipHelper attempting to read file with uncompressed size of 97333455
Debug Message:  StopAllXMLDataThreads Called
Debug Message:  Stopped CoreXMLDataThread1
Debug Message:  Stopped CoreXMLDataThread2
Debug Message:  Stopped CoreXMLDataThread3
Debug Message:  Stopped CoreXMLDataThread4
Debug Message:  Stopped Load Game XML Thread
Debug Message:  Stopped Load Game XML Thread #2
Debug Message:  WARNING: World leaked an item of type Helm of the Moon: 1 Refs
Debug Message:  WARNING: World leaked an item of type Elementium Hauberk: 1 Refs
Debug Message:  WARNING: World leaked an item of type Of-The-Earth: 1 Refs
Debug Message:  WARNING: World leaked an item of type Poisonous Bracers: 1 Refs
Debug Message:  WARNING: World leaked an item of type Sythe of the Void: 1 Refs
Debug Message:  WARNING: World leaked an item of type Leather Greaves: 1 Refs
Debug Message:  WARNING: World leaked an item of type Soldier's Boots: 1 Refs
Debug Message:  WARNING: World leaked an item of type Broken Shrill Lord: 1 Refs
Debug Message:  WARNING: World leaked an item of type Ereog's Token: 1 Refs
Debug Message:  WARNING: World leaked an item of type Procipinee's Crown: 1 Refs
Debug Message:  WARNING: World leaked an item of type Ring of Invisibility: 1 Refs
Debug Message:  WARNING: World leaked an item of type Modified Flying Carpet: 1 Refs
Debug Message:  WARNING: World leaked an item of type Warhammer: 1 Refs
Debug Message:  WARNING: World leaked an item of type Gauntlets of Grazna: 1 Refs
Debug Message:  WARNING: World leaked an item of type Short Ice Spear: 1 Refs
Debug Message:  WARNING: World leaked an item of type Rusty Shield: 1 Refs
Debug Message:  WARNING: World leaked an item of type Axe: 1 Refs
Debug Message:  WARNING: World leaked an item of type Crude Shortbow: 1 Refs
Debug Message:  WARNING: World leaked an item of type Dragonfly Bracers: 1 Refs
Debug Message:  WARNING: World leaked an item of type Axe: 1 Refs
Debug Message:  WARNING: World leaked an item of type Dual Axe: 1 Refs
Debug Message:  WARNING: World leaked an item of type Gauntlets of Grazna: 1 Refs
Debug Message:  WARNING: World leaked an item of type Spear: 1 Refs
Debug Message:  WARNING: World leaked an item of type Leather Cuirass: 1 Refs
Debug Message:  WARNING: World leaked an item of type Arctic Wolf Cloak: 1 Refs
Debug Message:  WARNING: World leaked an item of type War Staff: 1 Refs
Debug Message:  WARNING: World leaked an item of type Ignys Shortbow: 1 Refs
Debug Message:  WARNING: World leaked an item of type Rusty Short Sword: 1 Refs
Debug Message:  WARNING: World leaked an item of type Gauntlets of Grazna: 1 Refs
Debug Message:  WARNING: World leaked an item of type Bronze Shield: 1 Refs
Debug Message:  WARNING: World leaked an item of type Rusty Short Sword: 1 Refs
Debug Message:  WARNING: World leaked an item of type Rusty Short Sword: 1 Refs
Debug Message:  Warning: Destroyed Unit Jute is about to be deselected.
Debug Message:  Warning, tile design X_Forest_Full_01 now has 107 objects when it used to have 100
Debug Message:  LOAD GAME: Loading XML Data (start)
Debug Message:  Total objects deleted: 533186
Debug Message:  WARNING: Spell Toll of Days has no target type, but has city or unit target modifiers.  Need to specify a spell target type to know which types of units or cities are valid targets
Debug Message:  WARNING: Faction Chaos Legion has an invalid unlockable unit type Unit_SpecialMounted_DeathLegion
Debug Message:  WARNING: Faction Chaos Legion has an invalid unlockable unit type Unit_SpecialMounted_DeathLegion_Horseman
Debug Message:  WARNING: Faction Chaos Legion has an invalid unlockable unit type Unit_SpecialMounted_DeathLegion
Debug Message:  WARNING: Faction Chaos Legion has an invalid unlockable unit type Unit_SpecialMounted_DeathLegion_Horseman
Debug Message:  WARNING: Faction Living Stone has an invalid unlockable unit type Unit_SpecialMounted_LivingStone
Debug Message:  WARNING: Faction Living Stone has an invalid unlockable unit type Unit_SpecialMounted_LivingStone_Horseman
Debug Message:  WARNING: Faction Living Stone has an invalid unlockable unit type Unit_SpecialMounted_LivingStone
Debug Message:  WARNING: Faction Living Stone has an invalid unlockable unit type Unit_SpecialMounted_LivingStone_Horseman
Debug Message:  LOAD GAME: Loading XML Data (end)
Debug Message:  Loaded saved game with map file:
DebugMessage:  LOAD GAME: Loading Quick Data - Complete
Debug Message:  InitializeWorld:  Map File:
Debug Message:  Stamp Quantity: 18
Debug Message:  Land Mass Size: 0
Debug Message:  Land Mass Min Spawns: 0
Debug Message:  Land Mass Max Spawns: 0
Debug Message:  Forest Quantity: 3
Debug Message:  Mountain Generation Option: 1
Debug Message:  Map Random Seed: 1372351481
DebugMessage:  A* Path too long to calculate (107.447662).  Aborting
DebugMessage:  A* Path too long to calculate (94.578011).  Aborting
DebugMessage:  A* Path too long to calculate (55.865910).  Aborting
Debug Message:  Map Generation Complete
Debug Message:  LOAD GAME: Game Save Version: 12
Debug Message:  LOAD GAME: Game Version (at time of save): 1.20