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
No text will show up!
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#11
RE: extra_english.lang file stops working in dev mode.

Merging this thread with your other one due to how similar they are.

If it works when the Development Environment is on, then go back and change
ShowMenu="false"
to true. At least that way, you can load your CS normally through the menu and with the appropriate development features necessary. That might be all that is necessary to get your languages to display.

You'll know it works since the Description of your mod will state the description you used in your lang~

Discord: Romulator#0001
[Image: 3f6f01a904.png]
12-04-2016, 01:41 PM
Find
PowerPlay Offline
Junior Member

Posts: 12
Threads: 4
Joined: Dec 2016
Reputation: 0
#12
RE: No text will show up!

(12-04-2016, 01:41 PM)Romulator Wrote: Merging this thread with your other one due to how similar they are.

If it works when the Development Environment is on, then go back and change
ShowMenu="false"
to true. At least that way, you can load your CS normally through the menu and with the appropriate development features necessary. That might be all that is necessary to get your languages to display.

You'll know it works since the Description of your mod will state the description you used in your lang~

Alright, thanks. But now the extra_english.lang file doesn't work again, at all. I deleted amnesia again, and the folder containing the dev_user (and everything in it), reinstalled the game and it doesn't work at all. It won't even show the story description. What is going on???

Here is my HPL from the MAIN folder.

Spoiler below!
Version 1.311

-------- THE HPL ENGINE LOG ------------
Creating Engine Modules
--------------------------------------------------------
Creating graphics module
Creating system module
Creating resource module
Creating input module
Creating sound module
Creating physics module
Creating ai module
Creating gui module
Creating generate module
Creating haptic module
Creating scene module
--------------------------------------------------------

Initializing Resources Module
--------------------------------------------------------
Creating loader handlers
Creating resource managers
Adding loaders to handlers
--------------------------------------------------------

Initializing Graphics Module
--------------------------------------------------------
Init lowlevel graphics: 0x0 disp:0 bpp:32 fs:1 ms:0 gpufmt:2 cap:'Amnesia - The Dark Descent - Loading...' posSad-1x-1)
Setting video mode: 0 x 0 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: NVIDIA Corporation
Renderer: GeForce GTX 980/PCIe/SSE2
Version: 4.5.0 NVIDIA 375.70
Max texture image units: 32
Max texture coord units: 8
Max user clip planes: 8
Two sided stencil: 1
Vertex Buffer Object: 1
Anisotropic filtering: 1
Max Anisotropic degree: 16
Multisampling: 1
Texture compression: 1
Texture compression S3TC: 1
Auto generate MipMaps: 1
Render to texture: 1
Max draw buffers: 8
Max color render targets: 8
Packed depth-stencil: 1
Texture float: 1
GLSL Version: 4.50 NVIDIA
ShaderModel 2: 1
ShaderModel 3: 1
ShaderModel 4: 1
OGL ATIFragmentShader: 0
Setting up G-Bugger: type: 0 texturenum: 3
Adding engine materials
Initializing DevIL
Vendor String: Abysmal Software
Version String: Developer's Image Library (DevIL) 1.7.8
Version Number: 178
Adding engine post effects
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
Available OpenAL devices:
0. Generic Software on Høyttalere (Realtek High Definition Audio)(OpenAL default)
Trying to open device 'Generic Software on Høyttalere (Realtek High Definition Audio)'... Success!
Number of mono sources: 32
Streaming setup: 4 Buffers x 262144 bytes each
--------------------------------------------------------

Initializing Game Module
--------------------------------------------------------
Adding engine updates
Initializing script functions
--------------------------------------------------------

User Initialization
--------------------------------------------------------
--------------------------------------------------------

Game Running
--------------------------------------------------------
-------- Loading map 'menu_bg.map' ---------
Cache Loading: 426 ms
Entities: 75 ms
Compilation: 0 ms
Total: 507 ms
Meshes created: 26
Bodies created: 5
-------- Loading complete ---------
ERROR: Sampler aGoboMap does not exist, could not bind it to unit 5
Setting profile: 'Angerpull' Path: 'C:\Users\Angerpull\Documents/Amnesia/Main/Angerpull/'
ERROR: Couldn't load language file 'custom_stories/Crawling/extra_english.lang'
WARNING: Could not find language file category 'CustomStoryMain'
-------- Loading map 'CrawlingBed.map' ---------
Cache Loading: 363 ms
ERROR: Couldn't find 0-face '../../../../../../_pos_x', for cubemap '../../../../../../' in path: '../../../../../../'
ERROR: Sampler aDiffuseMap does not exist, could not bind it to unit 0
ERROR: Sampler aDiffuseMap does not exist, could not bind it to unit 0
ERROR: Sampler aNormalMap does not exist, could not bind it to unit 1
ERROR: Sampler aNormalMap does not exist, could not bind it to unit 1
ERROR: Sampler aDiffuseMap does not exist, could not bind it to unit 0
ERROR: Sampler aDiffuseMap does not exist, could not bind it to unit 0
Entities: 813 ms
Compilation: 1 ms
Total: 1186 ms
Meshes created: 15
Bodies created: 8
-------- Loading complete ---------
ERROR: Sampler aGoboMap does not exist, could not bind it to unit 5
ERROR: Sampler aGoboMap does not exist, could not bind it to unit 5
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
WARNING: Could not find language file entry ''
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
-------- Loading map 'CrawlingHalls.map' ---------
Cache Loading: 406 ms
ERROR: Couldn't find 0-face '../../../../../../_pos_x', for cubemap '../../../../../../' in path: '../../../../../../'
Entities: 1145 ms
Compilation: 3 ms
Total: 1566 ms
Meshes created: 22
Bodies created: 9
-------- Loading complete ---------
WARNING: AI node type 'Default' does not exist!
ERROR: No node container found for enemy 'Grunty'
WARNING: Could not find player start node ''
ERROR: StartPos '' does not exist!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
ERROR: Couldn't texture ''
ERROR: Could not load texture ''!
WARNING: Could not find language file category 'Messages'
-------- Loading map 'menu_bg.map' ---------
Cache Loading: 412 ms
Entities: 66 ms
Compilation: 1 ms
Total: 484 ms
Meshes created: 26
Bodies created: 5
-------- Loading complete ---------
--------------------------------------------------------

Statistics
--------------------------------------------------------
Medium framerate: 55.303374
--------------------------------------------------------

User Exit
--------------------------------------------------------
Saving main config.
Saving user config.
Deleting game modules.
'LuxInputHandler'
'LuxHelpFuncs'
'LuxSaveHandler'
'LuxScriptHandler'
'LuxProgressLogHandler'
'LuxMapHandler'
'LuxMapHelper'
'LuxPlayer'
'LuxInsanityHandler'
'LuxDebugHandler'
'LuxEffectRenderer'
'LuxMusicHandler'
'LuxMusicHandler'
'LuxEffectHandler'
'LuxCompletionCountHandler'
'LuxGlobalDataHandler'
'LuxHintHandler'
'LuxPostEffectHandler'
'LuxPreMenu'
'LuxDebugHandler'
'LuxInventory'
'LuxJournal'
'LuxCredits'
'LuxLoadScreenHandler'
Deleting config files.
--------------------------------------------------------

Exiting Gui Module
--------------------------------------------------------
Deleting all sets
Deleting all skins
Deleting all gfx elements
Deleting all materials
--------------------------------------------------------

Exiting Generate Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Scene Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Input Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Sound Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Graphics Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Resources Module
--------------------------------------------------------
Done with fonts
Done with scripts
Done with particles
Done with sounds
Done with meshes
Done with materials
Done with Gpu programs
Done with images
Destroyed all textures
Done with sound entities
Done with animations
Done with ent files
All resources deleted
--------------------------------------------------------

Exiting Physics Module
--------------------------------------------------------
--------------------------------------------------------

Exiting System Module
--------------------------------------------------------
--------------------------------------------------------

Deleting game setup provided by user
- Deleting lowlevel stuff.
Physics
Sound
Input
Resources
System
Graphics
Haptic
HPL Exit was successful!

|--Memory Manager Report-------------------------------|
|
| No memory leaks detected. Memory left: 0
|
|------------------------------------------------------|


My extra_english.lang
Spoiler below!
<LANGUAGE>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">A rumbling noise has woken you up. You spring from bed and get dressed. Now it's off to the main office.</Entry>
</CATEGORY>

<CATEGORY Name="Messages">

<Entry Name="Chapter1Name">Chapter one: Down below</Entry>

</CATEGORY>

<CATEGORY Name="Inventory">

<Entry Name="ItemName_Labkey">Laboratory Key</Entry>
<Entry Name="ItemDesc_Labkey">Key to the laboratory</Entry>

</LANGUAGE>

(This post was last modified: 12-04-2016, 02:08 PM by PowerPlay.)
12-04-2016, 01:55 PM
Find
Spelos Away
Banned

Posts: 231
Threads: 19
Joined: Sep 2014
#13
RE: No text will show up!

You are closing your <LANGUAGE> tag before you close the last <CATEGORY>

Spoiler below!

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">A rumbling noise has woken you up. You spring from bed and get dressed. Now it's off to the main office.</Entry>
</CATEGORY>

<CATEGORY Name="Messages">
<Entry Name="Chapter1Name">Chapter one: Down below</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_Labkey">Laboratory Key</Entry>
<Entry Name="ItemDesc_Labkey">Key to the laboratory</Entry>
</CATEGORY>
</LANGUAGE>


Having children nodes tabbed to the right a little helps you notice these problems early.
(This post was last modified: 12-04-2016, 02:53 PM by Spelos.)
12-04-2016, 02:52 PM
Find
CarnivorousJelly Offline
Posting Freak

Posts: 1,196
Threads: 41
Joined: Dec 2012
Reputation: 80
#14
RE: No text will show up!

To start on your map instead of Rainy Hall
Assuming you start with the menu screen in dev mode

Start a new text file called custom_story_settings.cfg

Include this text in the file, you do need the " marks
<Main
     Name="MY CS NAME"
     Author="ME"
     ImgFile="Whatever image you want for behind your CS text"

     MapsFolder="Wherever you put your maps within your CS folder"
     StartMap="NameOfMapYouWantToStartOn.map"
     StartPos="PlayerStartArea_Whichever"
/>

Save the file, MAKE SURE THE EXTENSION IS .cfg it's really important

Place it in your custom story's folder, not inside the maps folder.

Example:
Spoiler below!

<Main
    Name="Many Hands Project 3"
    Author="FG Community"
    ImgFile=""

    MapsFolder = "maps/"
    StartMap="3_hands_05.map"
    StartPos="PlayerStartArea_1"
/>

[Image: 9d0468a1ea.png]
Thanks for the pic, Rom


[Image: quote_by_rueppells_fox-d9ciupp.png]
(This post was last modified: 12-04-2016, 06:06 PM by CarnivorousJelly.)
12-04-2016, 06:03 PM
Find
PowerPlay Offline
Junior Member

Posts: 12
Threads: 4
Joined: Dec 2016
Reputation: 0
#15
RE: No text will show up!

(12-04-2016, 06:03 PM)CarnivorousJelly Wrote: To start on your map instead of Rainy Hall
Assuming you start with the menu screen in dev mode

Start a new text file called custom_story_settings.cfg

Include this text in the file, you do need the " marks
<Main
     Name="MY CS NAME"
     Author="ME"
     ImgFile="Whatever image you want for behind your CS text"

     MapsFolder="Wherever you put your maps within your CS folder"
     StartMap="NameOfMapYouWantToStartOn.map"
     StartPos="PlayerStartArea_Whichever"
/>

Save the file, MAKE SURE THE EXTENSION IS .cfg it's really important

Place it in your custom story's folder, not inside the maps folder.

Example:
Spoiler below!

<Main
    Name="Many Hands Project 3"
    Author="FG Community"
    ImgFile=""

    MapsFolder = "maps/"
    StartMap="3_hands_05.map"
    StartPos="PlayerStartArea_1"
/>

[Image: 9d0468a1ea.png]
Thanks for the pic, Rom



I have already done that, but I am pleased to say that I solved the mystery on my own! And my project is now continuing as normal.
12-04-2016, 06:30 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#16
RE: No text will show up!

Could you post what you did to fix it?

12-05-2016, 01:18 AM
Find




Users browsing this thread: 2 Guest(s)