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
Custom story crashes whole game
CQBgamer Offline
Junior Member

Posts: 40
Threads: 8
Joined: Jul 2014
Reputation: 0
#1
Custom story crashes whole game

Hey everyone. So I went to run a custom story I've just started working on and when I select it from the custom story menu the game crashes with the following blackbox message:
Quote: Amnesia.exe caused an EXCEPTION_ACCESS_VIOLATION in module <UNKNOWN> at 0023 0305FCE9

I only have this issue with one particular CS, all the other ones run fine. I will include the HPL below.

Spoiler below!
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 graphics: 800x600 bpp:32 fs:0 ms:0 gpufmt:2 cap:'Amnesia - The Dark Descent - Loading...' pos:(-1x-1)
Setting video mode: 800 x 600 - 32 bpp
Init Glew...OK
Setting up OpenGL
  Vendor: NVIDIA Corporation
  Renderer: GeForce GTX 560 Ti/PCIe/SSE2
  Version: 4.2.0
  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.20 NVIDIA via Cg compiler
  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.6.8pre Aug 12 2006
  Version Number: 168
Adding engine post effects
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
  Available OpenAL devices:
   0. Generic Software on TSB-TV-1 (NVIDIA High Definition Audio)(OpenAL default)
   1. Generic Software on Speakers (Creative SB X-Fi)
   2. Generic Software on SPDIF Out (Creative SB X-Fi)
   3. SB X-Fi Audio [0001]
  Trying to open device 'Generic Software on TSB-TV-1 (NVIDIA 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: 1272 ms
  Entities: 225 ms
  Compilation: 1 ms
  Total: 1512 ms
  Meshes created: 26
  Bodies created: 5
-------- Loading complete ---------
Setting profile: 'CQBgamer' Path: 'C:\Users\Andrew\Documents/Amnesia/Main/CQBgamer/'
-------- Loading map 'room01.map' ---------
    Cache Loading: 1633 ms
  Entities: 6932 ms
  Compilation: 9 ms
  Total: 8599 ms
  Meshes created: 7
  Bodies created: 5
-------- Loading complete ---------
-------- Loading map 'menu_bg.map' ---------
    Cache Loading: 1271 ms
  Entities: 215 ms
  Compilation: 1 ms
  Total: 1517 ms
  Meshes created: 26
  Bodies created: 5
-------- Loading complete ---------


And my OS is x86 Windows 7

[Image: 15420.png]
(This post was last modified: 07-08-2014, 09:23 PM by CQBgamer.)
07-08-2014, 08:24 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Custom story crashes whole game

Which CS are you referring to? Perhaps it's a known issue? If not, maybe your game is missing some files required for it. If you have it on Steam, you could try a file integrity check.

07-08-2014, 09:49 PM
Find
CQBgamer Offline
Junior Member

Posts: 40
Threads: 8
Joined: Jul 2014
Reputation: 0
#3
RE: Custom story crashes whole game

Its one that I'm making. I did several integrity checks and re installed the whole game. There arent any files I used on it that I wouldn't have, as the map is literally just a floor and a box light. Im just trying to see if my image looks ok in the CS description and when I click on it in the Custom Story menu to load it, the game crashes before I even get to the description menu.

[Image: 15420.png]
07-08-2014, 09:54 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Custom story crashes whole game

Wait, so it crashes when you select it in the custom stories list? Perhaps you did something quite wrong in the .lang file or the .cfg file. Could you post those?

07-08-2014, 11:47 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#5
RE: Custom story crashes whole game

Is your texture , dds jpg or etcetra a pow2 size?
your pucture might be 2x2 4x4 8x8 16x16 32x32 64x64 etc..
try that.
another thing could be a error somewhere in your .hpl (Script file)
07-08-2014, 11:50 PM
Find
CQBgamer Offline
Junior Member

Posts: 40
Threads: 8
Joined: Jul 2014
Reputation: 0
#6
RE: Custom story crashes whole game

I rewrote the .lang and story cfg and it works now. Thanks Smile

[Image: 15420.png]
07-09-2014, 12:13 AM
Find




Users browsing this thread: 2 Guest(s)