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
Weird problem?!
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#1
Weird problem?!

So I finally got from a cs to a fc, well, when I did it, everything worked perfect, no issues at all.
But when I start my game, it first shows background 1, then 3, then 5 which is normal I guess, but the TEXT doesn't show up..?
so it's basically I get to see pictures of those, and a button saying contineu, nothing else, no "welcome" or gamma change, just nothing.. Not to mention that the first 2 pictures (Frictional games, and then the other one) which doesn't appear either.
This is my Pre_Menu.cfg

PHP Code: (Select All)
<PreMenu skin="gui_main_menu.skin">
    <
Section Image="startup_fg_logo.jpg" Time="2" ShowFirstStartOnly="false"/>
    <
Section Image="startup_ngp_logo.jpg" Time="2" ShowFirstStartOnly="false"/>
    <
Section Image="welcome_bg01.jpg" ShowFirstStartOnly="true" Music="12_amb.ogg" MusicVolume="0.5" MusicFadeTime="10" >
        <
Text Pos="80 210 0" FrameSize="640 300" FontSize="18 18" TextCat="PreMenu" TextEntry="WelcomeMessage01" Color="1 1 1 1" Align="Left" />
    </
Section>
    <
Section Image="welcome_bg02.jpg" ShowFirstStartOnly="true">
        <
Text Pos="80 210 0" FrameSize="640 300" FontSize="18 18" TextCat="PreMenu" TextEntry="WelcomeMessage02" Color="1 1 1 1" Align="Left" />
    </
Section>
    <
Section Image="welcome_bg03.jpg" ShowFirstStartOnly="true">
        <
Text Pos="80 210 0" FrameSize="640 300" FontSize="18 18" TextCat="PreMenu" TextEntry="WelcomeMessage03" Color="1 1 1 1" Align="Left" />
    </
Section>
    <
Section Image="welcome_bg04.jpg" ShowFirstStartOnly="true">
        <
Text Pos="80 210 0" FrameSize="640 300" FontSize="18 18" TextCat="PreMenu" TextEntry="WelcomeMessage04" Color="1 1 1 1" Align="Left" />
    </
Section>
    <
Section Image="welcome_bg05.jpg" ShowFirstStartOnly="true" HasGammaSettings="true">
        <
Text Pos="80 100 0" FrameSize="640 300" FontSize="18 18" TextCat="PreMenu" TextEntry="WelcomeMessage05" Color="1 1 1 1" Align="Left" />
    </
Section>
    <
Section Image="welcome_bg06.jpg" ShowFirstStartOnly="true">
        <
Text Pos="80 210 0" FrameSize="640 300" FontSize="18 18" TextCat="PreMenu" TextEntry="WelcomeMessage06" Color="1 1 1 1" Align="Left" />
    </
Section>
</
PreMenu

and my english lang which is in config/lang :

PHP Code: (Select All)
<CATEGORY Name="PreMenu">
    <
Entry Name="WelcomeMessage01">Welcome to AmnesiaThe Dark Descent! [br][br]What follows is a couple of quick messages on how to get the best possible experience.</Entry>
    <
Entry Name="WelcomeMessage02">Amnesia should not be played to win. [br][br]Insteadfocus on immersing yourself in the game's world and story.</Entry>
    <Entry Name="WelcomeMessage03">Do not worry about when and how to save during gameplay, the game will take care of that for you. [br][br]When you want to leave the game, just choose "Save and Exit". You can then use "Continue" to return to where you left off next time you start up the game.</Entry>
    <Entry Name="WelcomeMessage04">The world of Amnesia is a dangerous place and you are extremely vulnerable. [br][br]Do not try to fight the enemies encountered. Instead, use your wits. Hide, or even run if necessary.</Entry>
    <Entry Name="WelcomeMessage05">The interplay between light and dark is very important to the game and because of this it is vital to set up the gamma correctly. Use the slider control below to do so. Adjust it until the square at the right is barely visible. [br][br]Also make sure to play in a dark room and wear headphones for the best effect.</Entry>
    <Entry Name="WelcomeMessage06">That is all. Hope you enjoy immersing yourself in the world of Amnesia.[br][br][br]- Frictional Games</Entry>
  </CATEGORY> 

So this is the part of the "pre menu" thing, I can confirm that nothing is wrong with my english lange, since It still works. And we all know that if you got 1 little stupid mistake in it, the whole file stops working.
And the messages still appear so lang file is not broken by any means but why can't I get the message on my game.. I don't get it..?
01-30-2016, 07:09 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: Weird problem?!

Have you defined where your pre_menu.cfg is in your main_init.cfg?

Discord: Romulator#0001
[Image: 3f6f01a904.png]
01-31-2016, 12:24 AM
Find
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#3
RE: Weird problem?!

(01-31-2016, 12:24 AM)Romulator Wrote: Have you defined where your pre_menu.cfg is in your main_init.cfg?

PHP Code: (Select All)
<ConfigFiles 
    Resources 
"GLF/resources.cfg" 
    
Materials "materials.cfg" 
    
    
Game "GLF/config/game.cfg" 
    
Menu "GLF/config/menu.cfg"
    
PreMenu "config/ptest_pre_menu.cfg"
    
Demo "config/demo.cfg"
    
    
DefaultMainSettings "GLF/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 
"Main"
    
    
BaseLanguageFolder "GLF/config/"        
    
GameLanguageFolder "GLF/config/lang_ptest/"
    
    
CustomStoryPath "custom_stories"
/>

<
Variables
    GameName 
"Amnesia - Justine -"
/>

<
StartMap 
    File 
"Intro.map" 
    
Folder "GLF/maps/" 
    
Pos "PlayerStartArea_1" 
/> 

EDIT:
I also tried on this line:
PreMenu = "config/ptest_pre_menu.cfg"
this :
PreMenu = "GLF/config/ptest_pre_menu.cfg"
No luck, it crashes then, i'm not sure if that's the pre menu only or with ptestwhich won't work.
(This post was last modified: 01-31-2016, 05:13 PM by Amnesiaplayer.)
01-31-2016, 05:11 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Weird problem?!

If your file is named pre_menu.cfg it obviously won't work if you put "GLF/config/ptest_pre_menu.cfg" (including "ptest_") Tongue

Did it slip your mind or did you just type it incorrectly?

(This post was last modified: 01-31-2016, 06:22 PM by Mudbill.)
01-31-2016, 06:22 PM
Find
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#5
RE: Weird problem?!

(01-31-2016, 06:22 PM)Mudbill Wrote: If your file is named pre_menu.cfg it obviously won't work if you put "GLF/config/ptest_pre_menu.cfg" (including "ptest_") Tongue

Did it slip your mind or did you just type it incorrectly?

Oh It was there already, So I need to remove the ptest_ thing?!

Like this:

PreMenu = "GLF/config/pre_menu.cfg"

Instead of the current one:

PreMenu = "config/ptest_pre_menu.cfg"
??
It was already there when I made the mod thorugh someone's tutorial here, I think Dnalange idk much about it..
02-01-2016, 03:44 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#6
RE: Weird problem?!

You need to change it to suit your FC's directory and filename of your pre_menu.cfg.

If your pre_menu.cfg is named that way, then yes, it should be:
PreMenu = "GLF/config/pre_menu.cfg"

Discord: Romulator#0001
[Image: 3f6f01a904.png]
02-01-2016, 04:33 PM
Find
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#7
RE: Weird problem?!

Oh it worked!!
Lol I was stupid enough to not know that that was the problem.
Should've tried it instead of posting "to tell if it is supposed to be like this:"
but yeah, thanks lol Tongue
Is there also a way to change the picture of the .bat file?!
I don's think so but maybe there is??
02-01-2016, 05:37 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#8
RE: Weird problem?!

The only way you can change the icon of a .bat file is to make a shortcut, and add the icon to it. You could hide your .bat file inside your config folder and have it start with ..\ for every folder level you go down (from the Amnesia.exe file), then only show your shortcut at the top, equipped with your icon.

Here's an example:

Bat file is next to Amnesia.exe:
Amnesia.exe mod/config/main_init.cfg

Bat file is next to main_init.cfg instead (2 levels down):
..\..\Amnesia.exe mod/config/main_init.cfg

(This post was last modified: 02-01-2016, 05:56 PM by Mudbill.)
02-01-2016, 05:52 PM
Find




Users browsing this thread: 1 Guest(s)