Frictional Games Forum (read-only)
Custom made maps keeps crashing. (Recycled Topic.) - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Custom made maps keeps crashing. (Recycled Topic.) (/thread-4405.html)



Custom made maps keeps crashing. (Recycled Topic.) - Mina Darsh - 09-15-2010

Hello, I can now finally make and load maps, but no matter what kind of map I make (I even made a terribly simple one that is just a cube with nothing in it but a light, planes for floor and ceiling, walls, welders and a starting point.) I can just load it, stand in it forever, but as soon I move one meter, the game crashes and gives the evil EXCEPTION_ACCESS_VIOLATION error. It's really frustrating as it blows away the chance to make maps, the editor is so easy to use. Sad

Shall put the hpl.log here, if that's the one needed:

Spoiler below!
-------- THE HPL ENGINE LOG ------------
Engine build ID 20100818114615

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
--------------------------------------------------------
Setting video mode: 1280 x 768 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: NVIDIA Corporation
Renderer: GeForce 8800 GTX/PCI/SSE2
Version: 3.3.0
Max texture image units: 32
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: 8
Max color render targets: 8
Packed depth-stencil: 1
Texture float: 1
GLSL Version: 3.30 NVIDIA via Cg compiler
ShaderModel 2: 1
ShaderModel 3: 1
ShaderModel 4: 1
OGL ATIFragmentShader: 0
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 (Creative SB X-Fi)
1. Generic Software on Digital Audio (S/PDIF) (High Definition Audio Device)
2. Generic Software on SPDIF Uit (Creative SB X-Fi)
3. SB X-Fi Audio [8C00](OpenAL default)
Trying to open device 'Generic Software on Speakers (Creative SB X-Fi)'... 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: Couldn't load XML file 'materials.cfg'!
Setting profile: 'dev_user' Path: 'C:\Users\Nick\Documents/Amnesia/Main/dev_user/'
ERROR: Script file MyMaps/cubetest.hps does not exist!
-------- Loading map 'cubetest.map' ---------
Cache Loading: 287 ms
Entities: 1 ms
Compilation: 0 ms
Total: 308 ms
Meshes created: 3
Bodies created: 3
-------- Loading complete ---------
--------------------------------------------------------

Game Running
--------------------------------------------------------


Also the image of the error:
Spoiler below!
[Image: acces_violation_amnesia.png]

Other info, running on win 7 x64, Intel Core 2 Duo, 4GB RAM, nVidia 8800GTX, latest drivers.

Hope I provided all info needed to troubleshoot the problem. Smile


RE: Custom made maps keeps crashing. (Recycled Topic.) - Mina Darsh - 09-16-2010

Bump due to topic recycle.


RE: Custom made maps keeps crashing. (Recycled Topic.) - jens - 09-16-2010

it crashes because it can't find or load the materials.cfg file. make sure the file is where it should be and that you have not edited it. easiest to fix is probably a re-install of the game.

the materials.cfg file should be in the same place as amnesia.exe, all the libs and all the game folders with game data.


RE: Custom made maps keeps crashing. (Recycled Topic.) - Mina Darsh - 09-16-2010

Ah of course! I accidentally deleted it when the editor started doing funny... Thought it was part of the Material Editor, guess it wasn't...

Thanks so much for the quick help! Smile