Unhandled exception

Demigod

I setup the game on my new computer and played for an hour or so, but the next day I got an error saying unhandled exception and it immediately shut down. It is a new windows 10 laptop with plenty of hardware. suggestions?

43,795 views 14 replies
Reply #1 Top

Hello,

Sorry to hear you are having trouble.

I put your post in the DemiGod section.

Go to:

\Documents\My Games\Gas Powered Games\Demigod

And delete the game.prefs and try again.

Sean Drohan
Stardock Support Manager

Reply #2 Top

Thanks for the response Sean. I deleted the file and tried opening again, however it did the same thing. Anything else I should try?

Reply #3 Top


I setup the game on my new computer and played for an hour or so, but the next day I got an error saying unhandled exception and it immediately shut down.
End of quote

What changed on the PC if anything?  Did you install a new driver, apps, change a Windows setting?

Sean Drohan
Stardock Support Manager

Reply #4 Top

no, it is a brand new PC out of the box, so some system things may have updated. I tried going back to a previous restore point but that didn't help either. I have also uninstalled and reinstalled with no luck. I know this is a pretty old game (but one of my favs) so I also tried messing around with compatibility settings and none of them seemed to work. I put all those back to the original settings as well when they yielded no results.

Reply #5 Top

Bryang127,

You may try re-installing the DXSetup.exe from:

\Program Files (x86)\Steam\steamapps\common\Steamworks Shared\_CommonRedist\DirectX\Jun2010

and vcredist_x64.exe from:

C:\Program Files (x86)\Steam\steamapps\common\Steamworks Shared\_CommonRedist\vcredist\2012

Sean Drohan
Stardock Support Manager

 

Reply #6 Top

I didn't get the app through steam. I downloaded the file from my previously purchased games through the stardock website. I tried doing an update to the directX after it didn't work, but that didn't fix it. 

Reply #7 Top

Quoting bryang127, reply 6

I didn't get the app through steam. I downloaded the file from my previously purchased games through the stardock website. I tried doing an update to the directX after it didn't work, but that didn't fix it. 
End of bryang127's quote

Uninstall what you have for the game and install the Steam version I added to your account:

https://forums.stardock.com/486311/accounts-and-activation-support-faq#RedemeSteamkey

Sean Drohan
Stardock Support Manager

Reply #8 Top

I tried it and installed everything and still got the same error when using the Steam version. Here is the exception if it helps:

Unknown structured exception (0xe06d7363) at address 0x76db3442

 

Program : C:\Program Files (x86)\Steam\steamapps\common\Demigod\bin\demigod.exe

Cmd line arguments : 

 

Callstack:

RaiseException + 98 bytes ((Unknown)(0) + 0 bytes)

 

Reactor version: 1.10.00

Demigod version MAIN.1.30.0217

Last 100 lines of log...

 

A full record of the log is stored in the Demigodlog.txt file

 

debug: 00:00:00: Loading module '\000/lua/common/achievements/hdemon_achievementdata.lua\000'

debug: 00:00:00: Loading module '\000/units/heroes/hdemon/hdemon_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/heroes/hema01/hema01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/heroes/hepa01/hepa01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/heroes/hgsa01/hgsa01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/heroes/hgsa01/hgsa01mine01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/heroes/hoak/hoak_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/heroes/hoculus/hoculus_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/heroes/hqueen/hqueen_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/heroes/hrook/hrook_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/heroes/hsedna/hsedna_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/heroes/hvampire/hvampire_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/minions/highpriest/highpriest01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/minions/highpriest/highpriest02_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/minions/highpriest/highpriest03_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/minions/highpriest/highpriest04_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/reinforcements/rpriest/rpriest01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/un/b/unbflagcooldown01/unbflagcooldown01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/un/b/unbflagdamageamp01/unbflagdamageamp01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/un/b/unbflagexperience01/unbflagexperience01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/un/b/unbflaghealthregen01/unbflaghealthregen01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/un/b/unbflagmanaregen01/unbflagmanaregen01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/un/b/unbflagmaxhealth01/unbflagmaxhealth01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/un/b/unbflagmaxmana01/unbflagmaxmana01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/un/b/unbflagwavesizes01/unbflagwavesizes01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/un/b/unbflagwavespeed01/unbflagwavespeed01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/units/un/b/unbidol01/unbidol01_abilities.lua\000'

debug: 00:00:00: Loading module '\000/characters/angel/angel_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/archer/archer_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/archer/archer_movie_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/bird/bird_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/demonassassin/demonassassin_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/ent/ent_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/flag/flag_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/giant/giant_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/giant/giant_r_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/highpriest/highpriest02_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/highpriest/highpriest03_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/highpriest/highpriest04_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/highpriest/highpriest_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/hoculus_blightning/hoculus_blightning_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/king/king_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/leopard_rider/leopard_rider_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/mage/mage_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/mage/magefire_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/minotaur/minotaur_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/minotaur/minotaur_movie1_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/minotaur/minotaur_movie2_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/minotaurcaptain/minotaurcaptain02_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/minotaurcaptain/minotaurcaptain03_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/minotaurcaptain/minotaurcaptain04_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/minotaurcaptain/minotaurcaptain_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/oak/oak_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/oculus/oculus_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/priest/priest_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/priest/priest_movie_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/queen/queen_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/queen/queen_open_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/queen/queen_open_movie_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/rook/rook_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/serpent/serpent_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/siegearcher/siegearcher02_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/siegearcher/siegearcher03_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/siegearcher/siegearcher04_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/siegearcher/siegearcher_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/sniper/sniper_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/sniper/sniperfury_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/spirit/spirit_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/trebuchet/hrooktreb_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/trebuchet/trebuchet_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/unclean_beast/unclean_beast_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/unclean_beast/unclean_beast_movie_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/vampire/vampire_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/vampire_lord/vampire_lord_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/waridol/waridol_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/whiptail/whiptail_character.lua\000'

debug: 00:00:00: Loading module '\000/characters/yeti/yeti_character.lua\000'

debug: 00:00:00: Loading module '\000/lua/common/powerupdefinitions.lua\000'

debug: 00:00:00: Loading module '\000/lua/common/items/achievement_items.lua\000'

debug: 00:00:00: Loading module '\000/lua/common/items/artifact_items.lua\000'

debug: 00:00:00: Loading module '\000/lua/common/items/boot_items.lua\000'

debug: 00:00:00: Loading module '\000/lua/common/items/chest_items.lua\000'

debug: 00:00:00: Loading module '\000/lua/common/items/consumable_items.lua\000'

debug: 00:00:00: Loading module '\000/lua/common/items/generals_items.lua\000'

debug: 00:00:00: Loading module '\000/lua/common/items/glove_items.lua\000'

debug: 00:00:00: Loading module '\000/lua/common/items/helm_items.lua\000'

debug: 00:00:00: Loading module '\000/lua/common/items/ring_items.lua\000'

info: 00:00:00: adding font file /fonts/hypatiasanspro-black.otf

info: 00:00:00: adding font file /fonts/hypatiasanspro-bold.otf

info: 00:00:00: adding font file /fonts/hypatiasanspro-extralight.otf

info: 00:00:00: adding font file /fonts/hypatiasanspro-light.otf

info: 00:00:00: adding font file /fonts/hypatiasanspro-regular.otf

info: 00:00:00: adding font file /fonts/hypatiasanspro-semibold.otf

debug: 00:00:00: Loading module '\000/lua/keymap/keynames.lua\000'

debug: 00:00:00: Loading module '\000/lua/keymap/keymapper.lua\000'

debug: 00:00:00: Loading module '\000/lua/keymap/defaultkeymap.lua\000'

debug: 00:00:00: Loading module '\000/lua/keymap/keyactions.lua\000'

warning: 00:00:00: Key action not found debug_toggle_log_window for key F9

debug: 00:00:00: Loading module '\000/lua/options/module_options.lua\000'

warning: 00:00:01: GAL Exception: file : c:\Work\forge\main\code\src\libs\gpggal\DeviceD3D9.cpp(189)

         error: unable to create device

 

Reply #9 Top

Quoting bryang127, reply 8

warning: 00:00:01: GAL Exception: file : c:\Work\forge\main\code\src\libs\gpggal\DeviceD3D9.cpp(189)

         error: unable to create device
End of bryang127's quote

That would make me think it is a video driver issue...  Perhaps updating it would be prudent.

Sean Drohan
Stardock Support Manager

Reply #11 Top

now that I'm using the steam version. I tried going back to those file locations you indicated in a previous message. I did not have a folder named "Steamworks Shared" or anything close. Suggestions?

Reply #12 Top

Sean, Thanks for your help. It ended up working after some updating of the graphics utilities. I was just able to complete an entire game, so for now, it looks like it is fixed. Thanks for sticking with me and the solid advice. ~Bryan

Reply #13 Top

Quoting bryang127, reply 12

Thanks for sticking with me and the solid advice. ~Bryan
End of bryang127's quote

Glad to hear it, Bryan, and you are most welcome...

Sean Drohan
Stardock Support Manager

Reply #14 Top

I think I am running into the same problem as OP I purchased Demigod, and Sins of the Solar Empire, on disc and back when Impulse was around I decided to reinstall I am not sure what is cuasing the problem I am getting the same error code as OP but I know my video drivers are up to date. This PC was Win 7 and upgraded to Win 10 not sure how much impact that will have. I haven't tried Sins yet it is next.