Config.lua and init.lua problems

Have trouble running Grimrock 1 or you're wondering if your graphics card is supported? Look for help here.
Post Reply
Konrad
Posts: 1
Joined: Thu Apr 12, 2012 10:39 pm

Config.lua and init.lua problems

Post 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!
Mazza
Posts: 3
Joined: Fri Apr 13, 2012 3:18 pm

Re: Config.lua and init.lua problems

Post 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.
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Config.lua and init.lua problems

Post 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).
Mazza
Posts: 3
Joined: Fri Apr 13, 2012 3:18 pm

Re: Config.lua and init.lua problems

Post 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?
Mazza
Posts: 3
Joined: Fri Apr 13, 2012 3:18 pm

Re: Config.lua and init.lua problems

Post 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
Arctis
Posts: 1
Joined: Fri Apr 20, 2012 7:43 pm

Re: Config.lua and init.lua problems

Post 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.
User avatar
Vaultnutter
Posts: 1
Joined: Thu Apr 26, 2012 11:05 pm
Location: Kent, UK

Re: Config.lua and init.lua problems

Post 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
Last edited by Vaultnutter on Fri Apr 27, 2012 10:59 am, edited 1 time in total.
What is best in life? - To crush your enemies, see them driven before you, and always know where your hamster is.
Rastabaxus
Posts: 10
Joined: Wed Apr 25, 2012 11:51 am

Re: Config.lua and init.lua problems

Post 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.
MsParanoid
Posts: 1
Joined: Thu Dec 20, 2012 10:13 pm

Re: Config.lua and init.lua problems

Post 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?
Post Reply