Frictional Games Forum (read-only)
Failed to load main game config file - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Failed to load main game config file (/thread-29846.html)

Pages: 1 2


Failed to load main game config file - Catalyst - 04-21-2015

Failed to load main game config file Sad


RE: How to create a fully isolated full conversion - Mudbill - 04-21-2015

I would suggest creating a separate thread instead of digging up this one from its crypt. There can be many reasons why your config didn't load.


RE: How to create a fully isolated full conversion - Catalyst - 04-22-2015

(04-21-2015, 10:49 PM)Mudbill Wrote: I would suggest creating a separate thread instead of digging up this one from its crypt. There can be many reasons why your config didn't load.

most attractive user, thank you


RE: Failed to load main game config file - Kreekakon - 04-22-2015

Thread split.


RE: Failed to load main game config file - Mudbill - 04-22-2015

Now, what is the error? When did it last work? What did you do when it stopped working? hpl.log?


RE: Failed to load main game config file - Catalyst - 04-25-2015

Nope, it has not worked yet, cause I've tried to start my FC through batch file as it supposed, so I doubt about hpl log file to say anything, I have checked it and there is nothing more than last succesful CS start, but without FC, I have tried to start FC game through batch file, as it is supposed (I already did all files and separated mod folder and configured all paths to resources and other configs)...not working.

Here is an screenshot

[Image: image.png]
Upload a pic


RE: Failed to load main game config file - Mudbill - 04-25-2015

How is the main_init.cfg file then? Perhaps there's an error in there?


RE: Failed to load main game config file - Catalyst - 04-25-2015

Well, I doubt in fact that you will find a mistake there, but I trust in you

Spoiler below!
<ConfigFiles
Resources = "Utopia/resources.cfg"
Materials = "Utopia/materials.cfg"

Game = "Utopia/config/ptest_game.cfg"
Menu = "config/ptest_menu.cfg"
PreMenu = "Utopia/config/pre_menu.cfg"
Demo = "Utopia/config/demo.cfg"

DefaultMainSettings = "Utopia/config/default_main_settings.cfg"

DefaultMainSettingsLow = "Utopia/launcher/default_main_settings_low.cfg"
DefaultMainSettingsMedium = "Utopia/launcher/default_main_settings_medium.cfg"
DefaultMainSettingsHigh = "Utopia/launcher/default_main_settings_high.cfg"


DefaultUserSettings = "Utopia/config/default_user_settings.cfg"
DefaultUserKeys = "Utopia/config/default_user_keys.cfg"

DefaultBaseLanguage = "Utopia/base_english.lang"
DefaultGameLanguage = "Utopia/english.lang"
/>

<Directories
MainSaveFolder = "CatalystMD/Utopia/"

BaseLanguageFolder = "Utopia/config/"
GameLanguageFolder = "Utopia/config/lang/"

CustomStoryPath = "custom_stories"
/>

<Variables
GameName = "Amnesia - Utopia -"
/>

<StartMap
File = "01_Entrance.map"
Folder = "Utopia/maps/"
Pos = "start"
/>



RE: Failed to load main game config file - Mudbill - 04-25-2015

There are a few things I'd change. First off, some entries do not need to point to your mod folder, they are better off pointing to the original. These include Demo, DefaultMainSettingsLow Medium and High, DefaultUserKeys.

Second off, make sure that every file you're pointing to actually exists. The file might fail to load if it doesn't find it.

Third, remove Utopia from these entries:

PHP Code:
DefaultBaseLanguage "Utopia/base_english.lang"
DefaultGameLanguage "Utopia/english.lang" 

This is because these are just the names of your lang files, not the location. The location is defined by your BaseLanguageFolder and GameLanguageFolder entries. So because you have Utopia in both, the path is effectively Utopia/config/lang/Utopia/english.lang which I doubt is the actual path and so you should change this.

Lastly, I'm not sure of an ending forward slash will affect this, but you seeing as it's not there originally, just remove the last one from your MainSaveFolder entry.


RE: Failed to load main game config file - Daemian - 04-26-2015

Remember when you have a fc your log will be another one, inside a dir called /utopia/ in your case. Any errors with your mod will end up there.

If I were you I'd take that main_init.cfg yours, put it away, and put a copy of the original from amnesia. It's somewhere inside amnesia/config/

I think that should open the regular amnesia, a working one instead of your mod. and from there you can start making changes until the error appears.

Or, another option is to take another main_init from any other working ifc and put it in yours, then you make your changes.

these ifc mods are hard to set up, be patient, anything can make it crash like that.