Frictional Games Forum (read-only)
CRASH - But only one single map, and NO error! - 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: CRASH - But only one single map, and NO error! (/thread-12345.html)

Pages: 1 2 3


CRASH - But only one single map, and NO error! - Rokotain - 01-04-2012

I've been creating my custom story recently, and all was working fine.

Normal Amnesia Story = Works!
Custom Stories = Works!
My Custom Story = Works!*

*The problem is one single map. Let's call it "Studium".

I've read the troubleshooting things, but none matches. Amnesia works good normally, never had any problems with it. And I don't have a problem with any other maps, just the single one.

I've tried deleting the .hps script, but it didn't work.
I have no problems with any thing else as I've said, so I don't think there is a need to change graphics card or something. Amnesia works fine with anything else, even rest of my custom story.
So most likely it's something with the map, but I can't find what it is.

It's not a normal Error, or Fatal Error crash like the ones you get with scripts. It's a simple "Amnesia has stopped working."
Doesn't really tell me much.

[How the crash looks like]
It's crashed now the last 10times I've tried. The first few times it said it was a Black Box Crash, nothing more than that and a code I believe, unfortunately when I crashed again, it no longer displays it so I wasn't able to get a printscreen of the code.

Now the crash varies between a normal window program crash, a black box crash
(it doesn't load the analyzing bar fully before windows crash steps in, which makes it not complete the black box diagnosis thing.) and another crash which is almost similiar to the normal windows crash.

[My computer:]
Windows 7, 64-bit
Hp Pavillion Laptop
and I read in another thread to post hpl.log so I will do that too.



I'm sorry if I missed something very obvious. It's very annoying and I hope I won't have to create the whole map again.
Thanks for your time reading this, and I would be very happy if anyone would post their experiences or a possible solution.

[Edit: I sendt the custom story to a friend, he got the same crash and was able to take a print screen of the original black box crash for me.]


RE: CRASH - But only one single map, and NO error! - plutomaniac - 01-04-2012

Move the .map_cache files in another temp folder and try again. If it works and then map loads fine delete them.



RE: CRASH - But only one single map, and NO error! - Rokotain - 01-04-2012

I don't have map-cache files anymore : o

I deleted them a few days ago(I've done before as well) as they caused objects from previous versions of the custom story to still be in the maps when they weren't supposed too.

And if I know right, map caches return?
They have done so before, but I still haven't gotten them back now. I hope I didn't do something stupid :/

[Answer: No map caches are in there.]


RE: CRASH - But only one single map, and NO error! - plutomaniac - 01-04-2012

Quote:ERROR: Could not open binary file 'C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom_stories/Rokotains Mansion - Full Version/maps/Rokotain_Mansion_MasterBedroom.map_cache'
ERROR: Could not map cache file 'C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom_stories/Rokotains Mansion - Full Version/maps/Rokotain_Mansion_MasterBedroom.map'.

Then...maybe it is looking for the .map_cache file that you deleted. That's why I now told you to move them first to a temp folder if you still had them.


RE: CRASH - But only one single map, and NO error! - Rokotain - 01-04-2012

Weird. Since "Rokotain_Mansion_Masterbedroom" which is described in that error actually works.
The one I'm having problems with is the Studium.

Anyhow I guess what you say would be the problem. But considering I don't have the map cache files. What do I then do?...

[Edit: Also the new attachment to the original post, the black box error, does it say anything to you?]


RE: CRASH - But only one single map, and NO error! - plutomaniac - 01-04-2012

The blackbox does not say anything usefull. Load the map again and then reattach me the HPL.log. Maybe the one you showed my is older. Can you open the map at the level editor?



RE: CRASH - But only one single map, and NO error! - Rokotain - 01-04-2012

I can open and edit both the map and scrpt, I've tried moving things to temp folders too see if I could find the sinner, but with no luck so far.

Here is the latest log though.


RE: CRASH - But only one single map, and NO error! - plutomaniac - 01-05-2012

Quote:ERROR: Couldn't load language file 'custom_stories/The Hallway/extra_english.lang'
WARNING: Could not find language file category 'CustomStoryMain'
WARNING: No resources element found in 'custom_stories/Rokotains Mansion - Full Version/extra_english.lang'

-------- Loading map 'Rokotain_Mansion_Studium.map' ---------

ERROR: Could not open binary file 'C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom_stories/Rokotains Mansion - Full Version/maps/Rokotain_Mansion_Studium.map_cache'
ERROR: Could not map cache file 'C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom_stories/Rokotains Mansion - Full Version/maps/Rokotain_Mansion_Studium.map'.

First, fix the language problem that you have and described in the error above. Then, go to C:\Users\--YOUR-USER-NAME--\AppData\Local\VirtualStore\Program Files\Amnesia - The Dark Descent\ and in there you should find the "missing" files. Next time, make sure you always run the editors as administrator.



RE: CRASH - But only one single map, and NO error! - Rokotain - 01-05-2012

I now run "Notepad++" and "LevelEditor" as administrator.

Although I went trough the folders like you said.
AppData->Local->Programfiles(x86)->AmnesiaTheDarkDecent->Redist, but the only files I can find are the ancient ones from when I first used the level editor. Looong time ago. I searched it, but no luck in finding them :/

Sorry for all the time I'm consuming btw, I hoped it wouldn't take as long as this :/
Thanks for what you're doing though Rolleyes


RE: CRASH - But only one single map, and NO error! - plutomaniac - 01-05-2012

so you cannot open this map file anywhere?