Frictional Games Forum (read-only)
[Solved] Full Conversion Crashing - 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: [Solved] Full Conversion Crashing (/thread-25489.html)



[Solved] Full Conversion Crashing - MsHannerBananer - 06-17-2014

This is a pretty common problem with me. Yay me.

Recently went in to test a map of my FC after doing some scripting and it crashed when I attempted to start a new game (at a designated map). I'm getting the little green alien in a box and it doesn't even finish figuring itself out. It just freezes and I have to exit the program with the task manager.

Checked the HPL log, and I'm getting an error I can't solve on my own. Would be awesome if anyone should happen to know what's going on.

Before you ask, no, I don't have a map cache. I never have a map cache, as I don't script and test the conventional way (as in, I don't use the recommended dev environment. I just go in and test over and over again).

HPL log

PHP Code:
Version 1.20
-------- 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 graphics1024x768 bpp:32 fs:0 ms:0 gpufmt:2 cap:'Amnesia - In A Heartbeat Loading...' pos:(-1x-1)
 
Setting video mode1024 x 768 32 bpp
 Init Glew
...OK
 Setting up OpenGL
  Vendor
Intel
  Renderer
Intel(RHD Graphics
  Version
4.0.0 Build 10.18.10.3316
  Max texture image units
16
  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
-stencil1
  Texture float
1
  GLSL Version
4.00 Build 10.18.10.3316
  ShaderModel 2
1
  ShaderModel 3
1
  ShaderModel 4
1
  OGL ATIFragmentShader
0
ATTENTION
System does not support const arrays in glsl!
Setting up G-Buggertype0 texturenum3
 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
--------------------------------------------------------
ERROR: Could not load XML document '
sounds/EnemySounds.dat'
ERROR: Couldn'
t load XML file 'sounds/EnemySounds.dat'!
WARNINGCould not find language file entry 'WelcomeMessage01'
WARNINGCould not find language file entry 'WelcomeMessage02'
WARNINGCould not find language file entry 'WelcomeMessage03'
WARNINGCould not find language file entry 'WelcomeMessage04'
WARNINGCould not find language file entry 'WelcomeMessage05'
WARNINGCould not find language file entry 'WelcomeMessage06'
WARNINGCould not find language file entry 'Custom Map'
WARNINGCould not find language file entry 'Custom Map'
WARNINGCould not find language file entry 'Custom Map'
 
-------- Loading map 'menu_bg.map' ---------
ERRORCould not open binary file 'C:/Program Files (x86)/Steam/steamapps/common/Amnesia The Dark Descent/InAHeartbeat/main_menu/menu_bg.map_cache'
ERRORCould not map cache file 'C:/Program Files (x86)/Steam/steamapps/common/Amnesia The Dark Descent/InAHeartbeat/main_menu/menu_bg.map'.    MeshEntity Loading1709 ms
    Primitive Loading
8 ms
    Decal Loading
40 ms
    Object Combining
0 ms
    Compilation
24 ms
    Combining
428 ms
     Sorting
120 ms
     Meshes
17 ms
     Bodies
291 ms
  
Static Objects2212 ms
ERROR
Could not find child body with ID -for joint 'door_2_JointSlider_1'
  
Entities370 ms
  Compilation
0 ms
  Total
2599 ms
  Meshes created
15
  Bodies created
7
 
-------- Loading complete ---------
--------------------------------------------------------

Game Running
--------------------------------------------------------
 
Setting profile'Hanner' Path'C:\Users\Hannah\Documents/Amnesia/InAHeartbeat/Hanner/'
WARNINGCould not find language file entry 'Custom Map'
WARNINGCould not find language file entry 'Custom Map'
WARNINGCould not find language file entry 'Custom Map'
ERRORCouldn't create script 'InAHeartbeat/maps/ch01/global.hps'
ERROR: Global script '
InAHeartbeat/maps/ch01/global.hps' could not be created!
 -------- Loading map '
012_hrooms.map' ---------
ERROR: Could not open binary file '
C:/Program Files (x86)/Steam/steamapps/common/Amnesia The Dark Descent/InAHeartbeat/maps/Ch03/012_hrooms.map_cache'
ERROR: Could not map cache file '
C:/Program Files (x86)/Steam/steamapps/common/Amnesia The Dark Descent/InAHeartbeat/maps/Ch03/012_hrooms.map'.    MeshEntity Loading: 638 ms
    Primitive Loading: 36 ms
    Decal Loading: 0 ms
    Object Combining: 0 ms
    Compilation: 33 ms
    Combining: 235 ms
     Sorting: 48 ms
     Meshes: 11 ms
     Bodies: 176 ms
  Static Objects: 945 ms
ERROR: Could not find child body with ID -1 for joint '
door_2_JointSlider_1



RE: Full Conversion Crashing - Mudbill - 06-17-2014

Well, I know this can cause crashes. There seem to be several errors here, but you should fix these anyway:
PHP Code:
WARNINGCould not find language file entry 'WelcomeMessage01' 

They are PreMenu entries in your lang file.

Also see if you can fix that Custom Map entry.


RE: Full Conversion Crashing - Romulator - 06-17-2014

(06-17-2014, 01:30 PM)Mudbill Wrote: Well, I know this can cause crashes. There seem to be several errors here, but you should fix these anyway:
PHP Code:
WARNINGCould not find language file entry 'WelcomeMessage01' 

They are PreMenu entries in your lang file.

Also see if you can fix that Custom Map entry.

Actually - that welcome message thing shouldn't cause problems. It's likely because she is using the Justine ptest config files, because they use that. YourComputer's tutorial tells you to use them.


RE: Full Conversion Crashing - Mudbill - 06-17-2014

Well, I have experienced crashes myself when running the game without these particular entries. They are defined in the pre_menu.cfg file, both in main and ptest.


RE: Full Conversion Crashing - MsHannerBananer - 06-17-2014

The "Warnings" aren't giving me problems, I always have warnings, ahaha, especially for the welcome message stuff. The "Errors" are what are giving me problems. In particular, the...

"Could not open binary file..." and "Could not map cache file..."

Not sure what the "global script" is either, but I suppose that might be causing problems as well.


RE: Full Conversion Crashing - Fatalist - 06-17-2014

(06-17-2014, 06:54 AM)MsHannerBananer Wrote:
PHP Code:
ERRORCould not find child body with ID -for joint 'door_2_JointSlider_1' 

This can cause crashes.


RE: Full Conversion Crashing - MsHannerBananer - 06-17-2014

(06-17-2014, 05:42 PM)Fatalist Wrote:
(06-17-2014, 06:54 AM)MsHannerBananer Wrote:
PHP Code:
ERRORCould not find child body with ID -for joint 'door_2_JointSlider_1' 

This can cause crashes.

Of course that's what it was. *Facepalm* I have a door that causes a few problems, and I made a level door out of it. Turns out one of the level doors was the original door.

Thanks for bringing that to my attention, I didn't even see it. Big Grin