Page 1 of 1

Config.lua and init.lua problems

Posted: Thu Apr 12, 2012 10:41 pm
by Konrad
Hi all


Couldn't launch so I updated directX drivers, and noooooow I'm getting:

Image


Has anyone experienced this? Any help would be greatly appreciated!

Thanks!

Re: Config.lua and init.lua problems

Posted: Fri Apr 13, 2012 3:21 pm
by Mazza
I'm having the exact same problem.

I keep my 'My Documents' folder on a separate drive from the system, could this be effecting the creation of the config files?

Edit : I've tried both the steam version and the standalone installer. The error message appears for both installs.

Re: Config.lua and init.lua problems

Posted: Fri Apr 13, 2012 10:32 pm
by petri
It seems that it's failing to create the initial config file. Please make sure that your Documents folder is not readonly and preferably on a local drive (e.g. somewhere under C:\ drive).

Re: Config.lua and init.lua problems

Posted: Sat Apr 14, 2012 2:36 am
by Mazza
My documents folder is already not read-only and I simply cannot and will not move my documents folder onto my C:

It's fundamental to how I like to operate my PC for reasons I can't be bothered to explain here.

So, another solution please?

Re: Config.lua and init.lua problems

Posted: Sat Apr 14, 2012 11:29 pm
by Mazza
I found a fix for this, btw.

I had recently installed a new HDD and some folder associations hadn't updated properly with the switch.

You can use the regedit to fix the association under the following path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

Re: Config.lua and init.lua problems

Posted: Fri Apr 20, 2012 7:46 pm
by Arctis
Mazza wrote:I found a fix for this, btw.

I had recently installed a new HDD and some folder associations hadn't updated properly with the switch.

You can use the regedit to fix the association under the following path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Could you elaborate? I have the same problem but don't seem to have any oddities in my config files. I've also moved 'my documents' folder to a different drive.

Re: Config.lua and init.lua problems

Posted: Thu Apr 26, 2012 11:44 pm
by Vaultnutter
Same problem here. I also have my documents stored in places other than default.

Fixed thusly.

As mentioned above use REGEDIT and browse to

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

Look for entry

Name: Personal
Type: REG_EXPAND_SZ
Data: [This will be something different from all the other entries. Mine was pointing to Q:\Documents where i had my documents stored before a drive change]

change this to

Data: %USERPROFILE%\My Documents

Made mine work straight away. Thought i would come and post here first. Now im off to relive some very good old times hunting for Lord Chaos and smacking me head repeatedly against the Diabolical Demon Director.

:D

Re: Config.lua and init.lua problems

Posted: Fri Apr 27, 2012 3:37 am
by Rastabaxus
Seems similar to the issues I had here...
viewtopic.php?f=12&t=2202

Maybe there is something in the way the game uses this folder that is not always fully supported?

I will try out this reg change when I get home and see if it fixed my problem.

Re: Config.lua and init.lua problems

Posted: Thu Dec 20, 2012 10:27 pm
by MsParanoid
Same problem, same failure message as the OP.

Running Windows XP SP3. My Documents is on my D: drive

Installed original game, received the message about grimrock.cfg being reset, I accepted, and the game launched and played fine. Then applied patch 1.0.3.16 and game failed to launch with message re Config.lua.

Uninstalled, reinstalled, patched - same error, same problem.

Read the solution presented earlier (i.e. regedit with modifying "Personal" entry) but I'm dubious.. won't that modification just have the same effect as changing the location of My Documents back to the C: drive?