Edit after I have found a workaround:
Workaround for CTD with Dwarven Smithy:
I had exactly the same problem with building a dwarven smithy like Jaolhe. Every time I tried to complete it in one of my cities the game crashes to desktop. And all city screens in which I have tried to build Dwarven Smithy showed the same errors as described by jaolhe.
The workaround is pretty simple:
- Open the CIV4ArtDefines_Building.xml
- Search for Dwarfen Smithy and change it to:
<Type>ART_DEF_BUILDING_DWARVEN_SMITHY</Type>
<LSystem>LSYSTEM_2x1</LSystem>
<bAnimated>1</bAnimated>
<fScale>1.31</fScale>
<fInterfaceScale>0.47</fInterfaceScale>
<NIF>Art/Structures/Buildings/Forge/Forge.nif</NIF>
<KFM/>
<Button>Art/Interface/Buttons/Buildings/Dwarvensmithy.dds</Button>
Result of this:
The Dwarfen Smithy works like it should but it has the graphics of a Forge in the city. The error in the city screens vanishes. The game doesn't crash anymore because of completing Dwarven Smithy.
I suppose the gaurifoundry.nif is somehow corrupted in the installation file of FfH2.
Could this be?
Hello and thanks for the new version of this great mod!
I found a bug playing 0.41 and attached a savegame that crashes when you end your turn. There is something wrong with one of my cities (Kadar). It seems to be producing dwarven smithy but the city screen is somehow messed up and you can't change production or see any city statistics etc.
When the smithy is completed, and the city screen is out of order, you get a CTD. Hope this helps in your bug fixing efforts!
Edit: Made some more experiments; if I choose another city screen and change to Kadar screen via arrow keys, I can change production to something else and the Kadar city screen comes back to normal. Unfortunately, if I re-select dwarven smithy, the city screen goes messed up again and CTD follows. So maybe it's the dwarven smithy building itself that's somehow bugged?