Frictional Games Forum (read-only)
[LANG] [Full Conversion] Launch Error - 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: [LANG] [Full Conversion] Launch Error (/thread-29919.html)



[Full Conversion] Launch Error - Rowzter - 05-12-2015

Hello!

I Just converted a custom story im working on to an "Isolated Full Conversion" using YourComputer's Tutorial and Mudbills

I created a batch-file with this text:
Code:
Launcher.exe great_heist_mod/heist_config/main_init.cfg
And i named it "Heist.bat"

But when i start it i get this message in the HPL Log:
Code:
ERROR: Couldn't load language file 'great_heist_mod/heist_config/heist_lang_main/english.lang'
ERROR: Couldn't create font 'menu_gui_default.fnt'
ERROR: Couldn't create font 'menu_gui_default.fnt'
ERROR: Couldn't create font 'menu_gui_default.fnt'
WARNING: Could not find language file entry 'WelcomeMessage01'
WARNING: Could not find language file entry 'WelcomeMessage02'
WARNING: Could not find language file entry 'WelcomeMessage03'
WARNING: Could not find language file entry 'WelcomeMessage04'
WARNING: Could not find language file entry 'WelcomeMessage05'
WARNING: Could not find language file entry 'WelcomeMessage06'

The names of Files and folders are correct, and here is my lang wich i think causes this problem

Code:
<LANGUAGE>
  <RESOURCES>
    <Directory Path="fonts/eng" />
    <Directory Path="lang/eng" />
  </RESOURCES>

<CATEGORY Name="PreMenu>">
    <Entry Name="WelcomeMessage01">Welcome Adventurer 1</Entry>
    <Entry Name="WelcomeMessage02">Welcome Adventurer 2</Entry>
    <Entry Name="WelcomeMessage03">Welcome Adventurer 3</Entry>
    <Entry Name="WelcomeMessage04">Welcome Adventurer 4</Entry>
    <Entry Name="WelcomeMessage05">Welcome Adventurer 5</Entry>
    <Entry Name="WelcomeMessage06">Welcome Adventurer 6</Entry>
</CATEGORY>

</LANGUAGE>

There are other categories but they work fine.

Hope someone has a solve! Smile


RE: [Full Conversion] Launch Error - Mudbill - 05-13-2015

PHP Code:
<CATEGORY Name="PreMenu>"

There's an extra diamond bracket in there.


RE: [Full Conversion] Launch Error - Rowzter - 05-13-2015

(05-13-2015, 12:13 AM)Mudbill Wrote:
PHP Code:
<CATEGORY Name="PreMenu>"

There's an extra diamond bracket in there.

I fixed that, but i still get the same error in the hpl log :/


RE: [Full Conversion] Launch Error - Romulator - 05-13-2015

Is your lang still named extra_english.lang?

If so, then you need to rename it to english.lang and place it in great_heist_mod/heist_config/heist_lang_main/


RE: [Full Conversion] Launch Error - Rowzter - 05-13-2015

(05-13-2015, 03:42 PM)(拉赫兰) Romulator Wrote: Is your lang still named extra_english.lang?

If so, then you need to rename it to english.lang and place it in great_heist_mod/heist_config/heist_lang_main/

It is english.lang and the location is correct. :/

Do u need some information/pictures? Smile

EDIT!

I made it work now by creating a new lang file that only contains the important parts for full conversion.


RE: [Full Conversion] Launch Error - Rowzter - 05-15-2015

Sorry for doublepost

So now i got a new error when starting it. I did a "cleanup" by deleting "heist_" from all the folders just to make it easier for me. i created a new starter with the text
Code:
Launcher.exe great_heist_mod/config/main_init.cfg

But i get this error now:
Code:
ERROR: Couldn't load language file 'great_heist_mod/heist_config/lang_main/english.lang'
ERROR: Couldn't load language file 'great_heist_mod/heist_config/base_english.lang'

I have no idea why it tries to open a folder i re-named.[/php]


RE: [Full Conversion] Launch Error - Mudbill - 05-16-2015

Did you forget to edit your main_init.cfg file to reflect the new folder structure?


RE: [Full Conversion] Launch Error - Rowzter - 05-16-2015

(05-16-2015, 01:10 AM)Mudbill Wrote: Did you forget to edit your main_init.cfg file to reflect the new folder structure?


Thanks!, somehow i missed to edit 1 line