Frictional Games Forum (read-only)

Full Version: Failed to load main game config file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Failed to load main game config file Sad
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.
(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
Thread split.
Now, what is the error? When did it last work? What did you do when it stopped working? hpl.log?
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
How is the main_init.cfg file then? Perhaps there's an error in there?
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"
/>
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.
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.
Pages: 1 2