[Run-Time Error] Worked first time I played and now this... :(

Failed assertion: (_controlfp(0, 0) & 0x00030000) == 0x00020000
File: C:\work\forge\beta\code\src\core\WinMain.cpp
Line: 259

Program : C:\Program Files\Stardock Games\Demigod\bin\Demigod.exe
Cmd line arguments :

Callstack:
    unavailable.

Last 100 lines of log...

debug: Loading module '/characters/spirit/spirit_character.lua'
debug: Loading module '/characters/trebuchet/hrooktreb_character.lua'
debug: Loading module '/characters/trebuchet/trebuchet_character.lua'
debug: Loading module '/characters/unclean_beast/unclean_beast_character.lua'
debug: Loading module '/characters/unclean_beast/unclean_beast_movie_character.lua'
debug: Loading module '/characters/waridol/waridol_character.lua'
debug: Loading module '/characters/whiptail/whiptail_character.lua'
debug: Loading module '/lua/common/powerupdefinitions.lua'
debug: Loading module '/lua/common/items/artifact_items.lua'
debug: Loading module '/lua/common/items/boot_items.lua'
debug: Loading module '/lua/common/items/chest_items.lua'
debug: Loading module '/lua/common/items/consumable_items.lua'
debug: Loading module '/lua/common/items/glove_items.lua'
debug: Loading module '/lua/common/items/helm_items.lua'
debug: Loading module '/lua/common/items/pax_items.lua'
debug: Loading module '/lua/common/items/ring_items.lua'
debug: Loading module '/lua/common/items/unused_items.lua'
info: adding font file /fonts/hypatiasanspro-black.otf
info: adding font file /fonts/hypatiasanspro-bold.otf
info: adding font file /fonts/hypatiasanspro-extralight.otf
info: adding font file /fonts/hypatiasanspro-light.otf
info: adding font file /fonts/hypatiasanspro-regular.otf
info: adding font file /fonts/hypatiasanspro-semibold.otf
debug: Loading module '/lua/keymap/keynames.lua'
debug: Loading module '/lua/keymap/keymapper.lua'
debug: Loading module '/lua/user/prefs.lua'
debug: Loading module '/lua/options/optionslogic.lua'
debug: Loading module '/lua/keymap/defaultkeymap.lua'
debug: Loading module '/lua/keymap/keyactions.lua'
warning: Key action not found toggle_score for key Tab
warning: Key map contains unrecognized modifier string: C
info: Compiled shader: /effects/atlantis.fx
info: Compiled shader: /effects/cloth.fx
info: Compiled shader: /effects/cloudring.fx
info: Compiled shader: /effects/debris.fx
info: Compiled shader: /effects/eye.fx
info: Compiled shader: /effects/frame.fx
info: Compiled shader: /effects/ground.fx
info: Compiled shader: /effects/heightfield.fx
info: Compiled shader: /effects/jungle.fx
info: Compiled shader: /effects/lava.fx
info: Compiled shader: /effects/lightmap.fx
info: Compiled shader: /effects/lightshaft.fx
info: Compiled shader: /effects/mesh.fx
info: Compiled shader: /effects/particle.fx
info: Compiled shader: /effects/planet.fx
info: Compiled shader: /effects/postprocess.fx
info: Compiled shader: /effects/primbatcher.fx
info: Compiled shader: /effects/range.fx
info: Compiled shader: /effects/reticule.fx
info: Compiled shader: /effects/shadow.fx
info: Compiled shader: /effects/shroud.fx
info: Compiled shader: /effects/sky.fx
info: Compiled shader: /effects/terrain.fx
info: Compiled shader: /effects/terrain_low.fx
info: Compiled shader: /effects/ui.fx
info: Compiled shader: /effects/vision.fx
info: Compiled shader: /effects/water.fx
debug: Loading module '/lua/options/options.lua'
debug: Loading module '/lua/debug/enginestats.lua'
debug: Loading module '/lua/maui/layouthelpers.lua'
debug: Loading module '/lua/maui/group.lua'
debug: Loading module '/lua/maui/control.lua'
debug: Loading module '/lua/maui/bitmap.lua'
debug: Loading module '/lua/maui/itemlist.lua'
debug: Loading module '/lua/maui/dragger.lua'
debug: Loading module '/lua/ui/uiutil.lua'
debug: Loading module '/lua/lazyvar.lua'
debug: Loading module '/lua/maui/text.lua'
debug: Loading module '/lua/maui/multilinetext.lua'
debug: Loading module '/lua/ui/game/module_pause.lua'
debug: Loading module '/lua/ui/prefs.lua'
debug: Loading module '/lua/maui/button.lua'
debug: Loading module '/lua/maui/edit.lua'
debug: Loading module '/lua/maui/checkbox.lua'
debug: Loading module '/lua/maui/scrollbar.lua'
debug: Loading module '/lua/maui/cursor.lua'
debug: Loading module '/lua/maui/border.lua'
debug: Loading module '/lua/user/skins/layouts.lua'
debug: Loading module '/lua/ui/game/gamemain.lua'
debug: Loading module '/lua/maui/effecthelpers.lua'
debug: Loading module '/lua/ui/game/wlduiprovider.lua'
debug: Loading module '/lua/ui/game/gamecommon.lua'
debug: Loading module '/lua/maui/movie.lua'
debug: Loading module '/lua/ui/game/ingameui.lua'
debug: Loading module '/lua/ui/game/hud_avatar.lua'
debug: Loading module '/lua/maui/statusbar.lua'
debug: Loading module '/lua/ui/game/tooltip.lua'
debug: Loading module '/lua/ui/help/tooltips.lua'
debug: Loading module '/lua/ui/game/commandmode.lua'
debug: Loading module '/lua/ui/uimain.lua'
debug: Loading module '/lua/multiplayer/onlineprovider.lua'
debug: Loading module '/lua/ui/menus/menuinit.lua'
debug: Loading module '/lua/ui/game/orders.lua'
debug: Loading module '/lua/maui/grid.lua'
debug: Loading module '/lua/ui/game/abilitybutton.lua'
debug: Loading module '/lua/ui/game/cooldown.lua'
debug: Loading module '/lua/maui/frame.lua'
debug: Loading module '/lua/user/skins/skins.lua'
debug: Loading module '/lua/ui/splash/splash.lua'

2,703 views 7 replies
Reply #1 Top

Any ideas on what to do?

All advice very much appreciated. Thanks

Reply #3 Top

Failed assertion: (_controlfp(0, 0) & 0x00030000) == 0x00020000
File: C:\work\forge\beta\code\src\core\WinMain.cpp
Line: 259
End of quote

Failed Assertion. 'nuff said. this is something the dev's (particularly the ones in charge of WinMain) will understand.

unless one of the dev's specifically needs it, i think a DXDiag report will only waste space.

Reply #4 Top

just a small update; i googled _controlfp and discovered that it has something to do with the precision that the engine calculates floating point numbers (for the layman; how fractions and decimals work in the game, maths stuff) with respect to special circuits on new/old CPUs... that is unless i've found a different _controlfp and am talking out my butt.

maybe that DXDiag report might be useful afterall...

Reply #5 Top

This assert hits when another application messes with the floating point precision of the cpu. Try closing other applications before running demigod, and if you find out which one, let us know. I just saw this on another thread with Winamp.

Hope this helps!

Reply #6 Top

it helps me! so when i next see people with that issue, i'll point them to this thread and get them to kill off Winamp and any other suspects.

just for the record; WMP works fine alongside DG. turn off visualisations and it uses nigh on 8MB of RAM.

Reply #7 Top

Always good to know. I think I've left itunes open too when I've run DG, so that likely works too. Uses a lot more RAM, but oh well.