Amnesia Crashing When Playing Custom Story (Solved)
Well, here's a doozy of a problem that just came up.
Spoiler below!
That's the error I get whenever I try to play my custom story. I just started making the custom story today and I've been able to play it throughout the day without any problems whatsoever (besides scripting problems that I fixed/removed). I saw another thread that had a similar error, where the person was told to put up the hpl log from the Main folder, so here's mine, if that's any help.
Spoiler below!
Version 1.20
-------- THE HPL ENGINE LOG ------------
Engine build ID 20101021192547
Initializing Graphics Module
--------------------------------------------------------
Init lowlevel graphics: 1024x768 bpp:32 fs:1 ms:0 gpufmt:2 cap:'Amnesia - The Dark Descent - Loading...' pos-1x-1)
Setting video mode: 1024 x 768 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: ATI Technologies Inc.
Renderer: ATI Mobility Radeon HD 550v
Version: 3.2.9262 Compatibility Profile Context
Max texture image units: 16
Max texture coord units: 16
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: 1.50
ShaderModel 2: 1
ShaderModel 3: 1
ShaderModel 4: 1
OGL ATIFragmentShader: 1
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.6.8pre Aug 12 2006
Version Number: 168
Adding engine post effects
--------------------------------------------------------
Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
Available OpenAL devices:
0. Generic Software on Speakers (Realtek High Definition Audio)(OpenAL default)
Trying to open device 'Generic Software on Speakers (Realtek High Definition Audio)'... Success!
Number of mono sources: 32
Streaming setup: 4 Buffers x 262144 bytes each
--------------------------------------------------------
User Initialization
--------------------------------------------------------
--------------------------------------------------------
Game Running
--------------------------------------------------------
-------- Loading map 'menu_bg.map' ---------
Cache Loading: 998 ms
Entities: 180 ms
Compilation: 1 ms
Total: 1188 ms
Meshes created: 26
Bodies created: 5
-------- Loading complete ---------
Setting profile: 'Marche' Path: 'C:\Users\Sam\Documents/Amnesia/Main/Marche/'
-------- Loading map '00_rainy_hall.map' ---------
Cache Loading: 4144 ms
Entities: 2898 ms
Compilation: 26 ms
Total: 7331 ms
Meshes created: 147
Bodies created: 48
-------- Loading complete ---------
-------- Loading map 'menu_bg.map' ---------
Cache Loading: 928 ms
Entities: 186 ms
Compilation: 1 ms
Total: 1124 ms
Meshes created: 26
Bodies created: 5
-------- Loading complete ---------
WARNING: No resources element found in 'custom_stories/DarkMansion/extra_english.lang'
I see that warning at the bottom of the hpl log refers to the extra_english.lang file, so I'll put that up, too. I'll spare you the big paragraph of text of the one note I have in the story so far and some of the other specifics that are irrelevant, though.
<CATEGORY Name="Journal">
<Entry Name="Note_theletter_Name">lettertitle</Entry>
<Entry Name="Note_theletter_Text">paragraphoftext</Entry>
<Entry Name="Quest_LanternQuest_Text">I don't know where I am or who I am, but I need to get out of here. It's awfully dark in here. I should look for a lantern or something.</Entry>
<Entry Name="Quest_StudyQuest_Text">It looks like the door to the this study is locked. The key must be somewhere around here. I need to find it, so I can leave.</Entry>
</CATEGORY>
<CATEGORY> Name="Inventory">
<Entry Name="ItemName_StudyKey">Study Key</Entry>
<Entry Name="ItemDesc_StudyKey">The key that unlocks the door in the study.</Entry>
</CATEGORY>
</LANGUAGE>
Any ideas? I'm afraid I have no clue as to where the problem even begins with this one, other than the hint in the hpl log up there.
(This post was last modified: 08-22-2011, 12:30 PM by Marche100.)
Hmm, not sure what to tell you. I had an access violation error earlier today, but that was because i told the game to reload the map on top of an area whose collide callback gets set OnEnter.
Did you try renaming the .hps file to see if the game still crashes?
(08-21-2011, 12:11 PM)Your Computer Wrote: Hmm, not sure what to tell you. I had an access violation error earlier today, but that was because i told the game to reload the map on top of an area whose collide callback gets set OnEnter.
Did you try renaming the .hps file to see if the game still crashes?
What exactly do you mean by renaming it? Rename the level file and .hps file or just the .hps file, because I don't think it would start up in the first place if I only changed one.
I'll try changing the name of both and get back to you, in the mean time.
Edit: No, I renamed everything with the name of the level to the same thing, and it didn't change a thing. I still get the same exact error. You think I should repost this in the technical forums, maybe, see if someone else has an idea?
(This post was last modified: 08-21-2011, 12:38 PM by Marche100.)
I meant rename the .hps file so it doesn't have the same basename as the .map file, so that the game doesn't load it when you load the map in the game. If the game would have still crashed, then we'd at least be certain it doesn't have anything to do with the scripting portion of your custom story.
I've been assuming that you've opened the map file in the level editor and didn't experience a crash. If that is true, then it wouldn't be the .map file either. And if it isn't the .map nor the .hps file, then perhaps a game file got corrupted or something. In that case, i would recommend reinstalling.
(08-21-2011, 09:44 PM)Your Computer Wrote: I meant rename the .hps file so it doesn't have the same basename as the .map file, so that the game doesn't load it when you load the map in the game. If the game would have still crashed, then we'd at least be certain it doesn't have anything to do with the scripting portion of your custom story.
I've been assuming that you've opened the map file in the level editor and didn't experience a crash. If that is true, then it wouldn't be the .map file either. And if it isn't the .map nor the .hps file, then perhaps a game file got corrupted or something. In that case, i would recommend reinstalling.
I'll give it a shot later, when I get the chance, so at least we can try to isolate the problem.
Explain what you mean by reinstalling, though. Reinstalling what exactly? Amnesia, the game/the editor, or what (I'll assume you mean the game, though, but just to make sure)?
(08-21-2011, 10:28 PM)Marche100 Wrote: Explain what you mean by reinstalling, though. Reinstalling what exactly? Amnesia, the game/the editor, or what (I'll assume you mean the game, though, but just to make sure)?
(08-21-2011, 10:28 PM)Marche100 Wrote: Explain what you mean by reinstalling, though. Reinstalling what exactly? Amnesia, the game/the editor, or what (I'll assume you mean the game, though, but just to make sure)?
Yes, the entire game.
Ok, well, I took the .hps file and renamed it, started it up, and it got the same exact crash error.
Then I uninstalled Amnesia and reinstalled it. Then I tried it. Same error.
I'm going to post these same results over on the thread I made Technical board for Amnesia as a whole. It doesn't look like this error is going to go down without a fight, so I need all the help I can get.
Edit: Ok, I found out what the problem is with the help of Tanshaydar. It was in the extra_english.lang file. I had this:
<CATEGORY> Name="Inventory">
when I should have had this:
<CATEGORY Name="Inventory">
Wow, I just can't believe that it was a simple problem with a bracket. Anyways, thanks again for all your help. Your ideas were much appreciated, as was your help.
(This post was last modified: 08-22-2011, 12:30 PM by Marche100.)