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
SOLVED Game crashing when loading
Wonderbread Offline
Junior Member

Posts: 19
Threads: 2
Joined: May 2011
Reputation: 0
#1
SOLVED Game crashing when loading

Originally had a problem with a suitor not working (something about the brute sub mesh not found), but I removed him to see if my map would work and it still crashes. I can't find anything in my hpl file that tells me whats wrong so I can't fix the problem..

hpl file:
Version 1.20 - s26ADEE0-539
-------- THE HPL ENGINE LOG ------------
Engine build ID 20101021192547

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: 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 Radeon 3100 Graphics
  Version: 2.1.7417 Release
  Max texture image units: 16
  Max texture coord units: 8
  Max user clip planes: 6
  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: 4
  Max color render targets: 4
  Packed depth-stencil: 1
  Texture float: 1
  GLSL Version: 1.20
  ShaderModel 2: 1
  ShaderModel 3: 1
  ShaderModel 4: 0
  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
--------------------------------------------------------

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

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

Game Running
--------------------------------------------------------
-------- Loading map 'menu_bg.map' ---------
    Cache Loading: 2572 ms
  Entities: 437 ms
  Compilation: 2 ms
  Total: 3035 ms
  Meshes created: 25
  Bodies created: 5
-------- Loading complete ---------
Setting profile: 'Collin' Path: 'C:\Users\Dispatch\Documents/Amnesia/Main/Collin/'
-------- Loading map 'Michaels Nightmare.map' ---------
    Cache Loading: 5669 ms
  Entities: 10438 ms
  Compilation: 20 ms
  Total: 16271 ms
  Meshes created: 68
  Bodies created: 57
-------- Loading complete ---------

Extra_English.lang:
<LANGUAGE>
    <RESOURCES>
    </RESOURCES>

    <CATEGORY Name="CustomStoryMain">
        <Entry Name="Description">You wake up in the Castle's Morgue, you don't remember how you got there, you begin to search for answers..</Entry>
    </CATEGORY>
    <CATEGORY Name="Inventory">
        <Entry Name="ItemName_key_study_1">Office Key</Entry>
        <Entry Name="ItemName_key_study_2">Guest Room Key</Entry>
        <Entry Name="ItemName_key_study_3">Dungeon Key</Entry>
        <Entry Name="ItemName_key_study_4">Solitary Confinement Key</Entry>
        <Entry Name="ItemName_key_study_5">Guard's Room Key</Entry>
        <Entry Name="ItemName_key_study_6">Entrance Hall Key</Entry>
    </CATEGORY>
    <CATEGORY Name ="Ending">
        <Entry Name ="StartCredits">Michaels Nightmare[br]Made By: Collin ;)[br]</Entry>
    </CATEGORY>
</LANGUAGE>
(This post was last modified: 05-20-2011, 01:58 AM by Wonderbread.)
05-19-2011, 06:27 AM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Game crashing when loading

The .lang files can be very annoying. Try removing the spaces after Name in your Ending category & entry. Try taking away the wink emote and the colon as well. I know for a fact that having double quotations in your entries causes problems. Usually when you get an unexplained game crash it's due to the lang file having errors.

05-19-2011, 08:12 AM
Find
Wonderbread Offline
Junior Member

Posts: 19
Threads: 2
Joined: May 2011
Reputation: 0
#3
RE: Game crashing when loading

(05-19-2011, 08:12 AM)palistov Wrote: The .lang files can be very annoying. Try removing the spaces after Name in your Ending category & entry. Try taking away the wink emote and the colon as well. I know for a fact that having double quotations in your entries causes problems. Usually when you get an unexplained game crash it's due to the lang file having errors.

Okay will do. Also before I had an error "no resource element found in extra_english.lang". It went away when I added the <RESOURCES></RESOURCES>, but I still feel like it is playing a part in my problems. It might just be me though.
(This post was last modified: 05-19-2011, 08:25 AM by Wonderbread.)
05-19-2011, 08:25 AM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#4
RE: Game crashing when loading

Really? That's very odd, my lang file has on resource element but it runs just fine....maybe try building a new lang file from scratch? I've done that a few times, because I hate scanning the page for missing " and > and such .... :X

05-19-2011, 08:48 AM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#5
RE: Game crashing when loading

If your custom story crashes when you try to play it, perhaps check the script and make sure you didn't mess anything up.

When I had a problem with my custom story crashing, I found that "SetPropPhysics" wouldn't work because it wasn't right. It should be "SetPropStaticPhysics".

05-19-2011, 11:29 AM
Find
Wonderbread Offline
Junior Member

Posts: 19
Threads: 2
Joined: May 2011
Reputation: 0
#6
RE: Game crashing when loading

It seems it is something wrong with my map, I can remove the .hps files and Extra_english.lang files from other custom stories and run the map successfully.

But when I remove my files and try to run it still crashes the same way as before. So I am guessing its something wrong with my map, I am going to try and test with an eariler version of my map. All I really did though was add PathNodes, script areas... I don't see what could be wrong.


EDIT: Everything worked out, using my completed .hps file and .lang file and a old unfinished version of my map everything boots up okay and I can play it. What do you think would be wrong with my finished map that would cause the crash so I have an idea of what I am looking for?

EDIT2: Okay.. Saved my finished map under a different name and it ran just fine. Weird O.o Thanks for the help though guys!
(This post was last modified: 05-20-2011, 01:58 AM by Wonderbread.)
05-20-2011, 01:23 AM
Find




Users browsing this thread: 3 Guest(s)