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
Problem with making a full conversion mod
Koopa Rs07 Offline
Member

Posts: 146
Threads: 30
Joined: Sep 2014
Reputation: 5
#1
Exclamation  Problem with making a full conversion mod

I'm nearly done, but when I launch "The Black Eagle Caste Ch01.bat", the command prompt flashes and closes out fast. When I looked at what command prompt was saying, it said "Launcher.exe is not recognized as an internal or external command, operable program or batch file".

If anyone is willing to help then pm me asap and I could screen share it on skype.

Or if it's a more simplistic problem than I thought, you can put reply in the thread.

03-02-2016, 10:38 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Problem with making a full conversion mod

You must run the batch file from the same folder as where the launcher is located, OR you must add
..\Launcher.exe
to go up one level. Add more if necessary.

03-02-2016, 11:34 PM
Find
Koopa Rs07 Offline
Member

Posts: 146
Threads: 30
Joined: Sep 2014
Reputation: 5
#3
RE: Problem with making a full conversion mod

Well I typed in the ..\ and now I get this problem.
Spoiler below!
[Image: UKxbmAl.png]

And when I try to run the .bat file in the redist folder where the launcher is, the menu launching screen pops up like this..
Spoiler below!
[Image: 3631OqY.png]
And when I click where the play button would be, this error window pops up.
Spoiler below!
[Image: tgsxkLh.png]

This is my main_init.cfg file.
Spoiler below!
<ConfigFiles
Resources = "mod_config/resources.cfg"
Materials = "materials.cfg"

Game = "mod_config/game.cfg"
Menu = "mod_config/menu.cfg"
PreMenu = "mod_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 = "mod_lang_main/english.lang"
/>

<Directories
MainSaveFolder = "The Black Eagle Castle Ch01"

BaseLanguageFolder = "mod_config/"
GameLanguageFolder = "mod_config/mod_lang_main/"

CustomStoryPath = "custom_stories"
/>

<Variables
GameName = "Amnesia - The Dark Descent -"
/>

<StartMap
File = "01_YourHome.map"
Folder = "mod_maps/"
Pos = "PlayerStartArea_1"
/>

(This post was last modified: 03-03-2016, 12:42 AM by Koopa Rs07.)
03-02-2016, 11:53 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Problem with making a full conversion mod

Your config lines aren't pointing to your files properly. You need them to point to
Game = "The Black Eagle Castle Ch01/mod_config/game.cfg"

They won't count that first folder automatically.

PS: The issue is no longer the launcher bat, but your configs.

(This post was last modified: 03-03-2016, 01:49 AM by Mudbill.)
03-03-2016, 01:48 AM
Find
Koopa Rs07 Offline
Member

Posts: 146
Threads: 30
Joined: Sep 2014
Reputation: 5
#5
RE: Problem with making a full conversion mod

It works now. I simply made a typo with the word "castle". I put "caste"... Oh well.

Edit: But I have a new problem unfortunately. When I tried to change the main_settings.cfg file in documents to make it have developer mode it has an error now, every time I try to run the .bat file.

This is what the laucher.log said about error:
Spoiler below!
ERROR: Couldn't load language file 'The Black Eagle Castle Ch01/mod_config/mod_lang_main/The Black Eagle Castle Ch01/mod_lang_main/english.lang'

(This post was last modified: 03-03-2016, 04:44 AM by Koopa Rs07.)
03-03-2016, 03:39 AM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#6
RE: Problem with making a full conversion mod

(03-03-2016, 03:39 AM)Frictional Daily Wrote: It works now. I simply made a typo with the word "castle". I put "caste"... Oh well.

Edit: But I have a new problem unfortunately. When I tried to change the main_settings.cfg file in documents to make it have developer mode it has an error now, every time I try to run the .bat file.

This is what the laucher.log said about error:
Spoiler below!
ERROR: Couldn't load language file 'The Black Eagle Castle Ch01/mod_config/mod_lang_main/The Black Eagle Castle Ch01/mod_lang_main/english.lang'
Does that lang actually exist, or is the game just assuming it exists? also if it does did you make sure to copy paste in the stuff for the launcher from the main game lang? been a while since I last looked at a full conversion for amnesia, but I do remember that the blanks on launcher simply have to do with the lang file not having the launcher text in it, or outright failing to load.
03-03-2016, 07:28 AM
Find
Koopa Rs07 Offline
Member

Posts: 146
Threads: 30
Joined: Sep 2014
Reputation: 5
#7
RE: Problem with making a full conversion mod

Spoiler below!




03-03-2016, 05:40 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#8
RE: Problem with making a full conversion mod

Check the hpl.log. A black box crash will give you a reason there.

03-04-2016, 12:48 AM
Find
Koopa Rs07 Offline
Member

Posts: 146
Threads: 30
Joined: Sep 2014
Reputation: 5
#9
RE: Problem with making a full conversion mod

Spoiler below!
User Initialization
--------------------------------------------------------
Failed parsing of XML document The Black Eagle Castle Ch01/mod_config/resources.cfg in line 1, column 1:
ERROR: Couldn't load XML file 'The Black Eagle Castle Ch01/mod_config/resources.cfg'!
ERROR: Couldn't load language file 'The Black Eagle Castle Ch01/mod_config/mod_lang_main/The Black Eagle Castle Ch01/mod_lang_main/english.lang'
ERROR: Couldn't create font 'font_default.fnt'
ERROR: Couldn't texture 'colorconv_sepia.tga'

03-04-2016, 02:41 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#10
RE: Problem with making a full conversion mod

How's your resources.cfg?

You showed the lang in the video, but could you do it here in text?

And if you're using custom fonts, I know they can easily crash the game if done wrong.

03-04-2016, 02:50 AM
Find




Users browsing this thread: 1 Guest(s)