Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Failed to load main game config file
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#1
Failed to load main game config file

Failed to load main game config file Sad

Egypt CS
[Image: 27003.png]
04-21-2015, 09:02 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: How to create a fully isolated full conversion

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
Find
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#3
RE: How to create a fully isolated full conversion

(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

Egypt CS
[Image: 27003.png]
04-22-2015, 04:58 PM
Find
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
#4
RE: Failed to load main game config file

Thread split.

[Image: Tv0YgQb.gif]
Image by BandyGrass
04-22-2015, 05:18 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#5
RE: Failed to load main game config file

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

04-22-2015, 06:34 PM
Find
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#6
RE: Failed to load main game config file

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

Egypt CS
[Image: 27003.png]
04-25-2015, 10:17 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#7
RE: Failed to load main game config file

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

04-25-2015, 10:53 PM
Find
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#8
RE: Failed to load main game config file

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"
/>

Egypt CS
[Image: 27003.png]
04-25-2015, 11:03 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#9
RE: Failed to load main game config file

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: (Select All)
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.

04-25-2015, 11:50 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#10
RE: Failed to load main game config file

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.

04-26-2015, 12:08 AM
Find




Users browsing this thread: 1 Guest(s)