1
Vote

Crash on startup

description

Downloaded the app, started it both via Windows Explorer and CMD.EXE, and just at the "Initializing RootConsole" step it threw an Unhandled Exception (System.BadFormatException).
 
Running this on Win7 RTM, 64-bit. Same error results when I Run As Administrator, and all I could see when running ProcMon.exe in the background to try to find an underlying error was LastManStanding.exe searching for libtcodWrapper.pdb and then LastManStanding.pdb. Doesn't seem like a missing file or registry value, but something internal to the libtcodWrapper functionality.
 
C:\temp\LMS>LastManStanding.exe
2010-04-03 11:39:09,886 INFO Creating new game...
2010-04-03 11:39:09,924 INFO Creating races...
2010-04-03 11:39:09,947 INFO Generating dungeon...
2010-04-03 11:39:09,948 INFO Generating terrain...
2010-04-03 11:39:09,978 INFO Generating corridors...
2010-04-03 11:39:10,095 INFO Generating rooms...
2010-04-03 11:39:10,469 INFO Generating doors...
2010-04-03 11:39:10,526 INFO Walking the dungeon...
2010-04-03 11:39:10,706 INFO Dungeon walk complete.
2010-04-03 11:39:10,711 INFO Dungeon generation complete.
2010-04-03 11:39:10,712 INFO Creating player...
2010-04-03 11:39:10,761 INFO Creating monsters...
2010-04-03 11:39:10,805 INFO Game created.
2010-04-03 11:39:10,805 INFO Initializing RootConsole...
2010-04-03 11:39:10,822 ERROR An exception occurred
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at libtcodWrapper.RootConsole.TCOD_console_set_custom_font(StringBuilder fontFile, Int32 char_width, Int32 char_height, Int32 flags)
at libtcodWrapper.RootConsole..ctor(Int32 w, Int32 h, String title, Boolean fullscreen, CustomFontRequest font)
at libtcodWrapper.RootConsole.GetInstance()
at LastManStanding.Program.Main(String[] args) in C:\Development\RogueLike\LastManStanding\Program.cs:line 292
 
Unhandled Exception: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at libtcodWrapper.RootConsole.TCOD_console_set_custom_font(StringBuilder fontFile, Int32 char_width, Int32 char_height, Int32 flags)
at libtcodWrapper.RootConsole..ctor(Int32 w, Int32 h, String title, Boolean fullscreen, CustomFontRequest font)
at libtcodWrapper.RootConsole.GetInstance()
at LastManStanding.Program.Main(String[] args) in C:\Development\RogueLike\LastManStanding\Program.cs:line 292

comments