Posted October 02, 2010
Sort of an odd question but whenever I try to launch an infinity engine game from a batch file I get the following error:
An Assertion failed in D:\Dev\chitin\Chitin.cpp at line number 1430" Programmer says: Error initializing key table, bad key file
The reason I'm doing this is so I can change my resolution manually (I have some weird scaling issues if I let the game do it) but that is besides the point. The game runs fine when I launch it manually so it really isn't that big of a problem. I was just curious if anyone had any idea what might cause this.
EDIT:
You know it just figures I would figure this out AFTER posting in here. So it's pretty simple. Instead of using the absolute path to launch the file cd into the directory first so:
cd "C:\Program Files\GOG.com\Baldurs Gate\"
BGMain2.exe
instead of
"C:\Program Files\GOG.com\Baldurs Gate\BGMain2.exe"
and that works for both this game and Torment.
An Assertion failed in D:\Dev\chitin\Chitin.cpp at line number 1430" Programmer says: Error initializing key table, bad key file
The reason I'm doing this is so I can change my resolution manually (I have some weird scaling issues if I let the game do it) but that is besides the point. The game runs fine when I launch it manually so it really isn't that big of a problem. I was just curious if anyone had any idea what might cause this.
EDIT:
You know it just figures I would figure this out AFTER posting in here. So it's pretty simple. Instead of using the absolute path to launch the file cd into the directory first so:
cd "C:\Program Files\GOG.com\Baldurs Gate\"
BGMain2.exe
instead of
"C:\Program Files\GOG.com\Baldurs Gate\BGMain2.exe"
and that works for both this game and Torment.
Post edited October 02, 2010 by EatenByGrues
No posts in this topic were marked as the solution yet. If you can help, add your reply