[0.9.9.2] Windows 7: Worked yesterday, today "unhandled exception"

Started by raigan, February 13, 2011, 10:19

raigan

hey,
Yesterday I tried running the new version a couple times, not playing it (didn't have time) but just to check if it would work with my new PC/Windows 7. It loaded to the mainmenu fine.

Today, when I start doomrl.exe it immediately crashes with this error:
An unhandled exception occurred at $00459433 :
EVariantTypeCastError : Could not convert variant of type (Null) into type (Boolean)
  $00459433
  $00453322
  $0041CECD  TDOOM__CREATE,  line 290 of src/doombase.pas
  $00402069  main,  line 74 of src/doomrl.pas

I'm not sure what could have happened since I haven't touched a thing!
:(

Kornel Kisielewicz

Did you modify the .lua config files? It fails to load the configuration.
at your service,
Kornel Kisielewicz

raigan

Unkillable Cat

Hi, I have the same error. However, I'm not making any typos. The game just won't read the config file if I make ANY changes to the game's configuration. Skip the intro? Unhandled exception. Turn off the music? Same thing. Always choose a random name? Ditto.

I'm using Notepad on a Windows XP machine to edit the files, could that be a problem?

thelaptop

Quote from: Unkillable Cat on February 15, 2011, 09:30Hi, I have the same error. However, I'm not making any typos. The game just won't read the config file if I make ANY changes to the game's configuration. Skip the intro? Unhandled exception. Turn off the music? Same thing. Always choose a random name? Ditto.

I'm using Notepad on a Windows XP machine to edit the files, could that be a problem?
Have you tried to use a fresh config.lua from a fresh download of the archive?  Note also that capitlalisation probably counts, and there should not be extraneous ';' terminating lines.

If it all fails, you can try posting the offending file enclosed with code tags so we can see what's wrong for you.
I computed, therefore I was.

Kornel Kisielewicz

There are a couple known issues with the new configuration:

1) error reporting via crash -- I'll fix it so there'll be a concise error message
2) the keybindings format is still messy
3) there's a big lack of documentation

I'll try to address these problems in 0.9.9.3.
at your service,
Kornel Kisielewicz

Unkillable Cat

I found the problem. The new config files only accept lower-case letters. The comment lines in the config file, however, have the available options always displayed in upper case, and until 0.9.9.2 upper case was accepted by the game.

It works now, so all's well.