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
Mod crashes while starting up the bat.file!
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#1
Mod crashes while starting up the bat.file!

So when I start up my mod by double clicking on the bat.file it keeps getting an error saying "Could not load main init file: Lifeless_The Abandon/config/main_init.cfg" Now I don't know why this is happening. This is my main_init file if you wanna take a look at it and help me out.

<ConfigFiles
    Resources = "Lifeless_The Abandon/config/resources.cfg"
    Materials = "materials.cfg"
    
    Game = "Lifeless_The Abandon/config/game.cfg"
    Menu = "Lifeless_The Abandon/config/menu.cfg"
    PreMenu = "Lifeless_The Abandon/config/pre_menu.cfg"
    Demo = "config/demo.cfg"
    
    DefaultMainSettings = "config/default_main_settings.cfg"

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


    DefaultUserSettings = "config/default_user_settings.cfg"
    DefaultUserKeys        = "config/default_user_keys.cfg"
    
    DefaultBaseLanguage = "base_english.lang"
    DefaultGameLanguage = "english.lang"
/>

<Directories  
    MainSaveFolder = "Lifeless_The Abandon"
    
    BaseLanguageFolder = "Lifeless_The Abandon/config/"        
    GameLanguageFolder = "Lifeless_The Abandon/config/lang_main/"
    
    CustomStoryPath = "custom_stories"
/>

<Variables
    GameName = "Amnesia - Lifeless_The Abandon -"
/>

<StartMap
    File = "01_Lifeless_The Abandon.map"
    Folder = "Lifeless_The Abandon/maps/"
    Pos = "PlayerStartArea_1"
/>

Yeah, I don't see exactly what's the problem, since it's my first time working with a mod.

05-10-2014, 05:55 PM
Find
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#2
RE: Mod crashes while starting up the bat.file!

From what I can see, you got all your files together in one folder like in The Trapdoor when I first downloaded it (didnt work first). Try naming it like yourmod_resources, yourmod_menu etc. Check other conversion mods to see how they do it.

Derp.
(This post was last modified: 05-10-2014, 06:06 PM by Neelke.)
05-10-2014, 06:05 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#3
RE: Mod crashes while starting up the bat.file!

If it's named "Lifeless The Abandon," why do you only have an underscore for one of the spaces? You should use that for both. Personally, I'd name it "lifeless_the_abandon" or something short like "lta" or so. The folder name is not gonna be the name of the story for the player, only on the technical side. Therefore you should NEVER use spaces in these names, because the internal engine can confuse that as different operations.

You can see that the folder "static_objects" has an underscore instead of being named "Static Objects" which may be prettier for someone looking through the files, but will cause problems in running the program.

05-10-2014, 07:14 PM
Find




Users browsing this thread: 1 Guest(s)