Frictional Games Forum (read-only)
ERROR: Could not map cache file - 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: ERROR: Could not map cache file (/thread-16004.html)

Pages: 1 2


RE: ERROR: Could not map cache file - Ermu - 06-09-2012

(06-09-2012, 10:53 PM)Your Computer Wrote:
(06-09-2012, 10:50 PM)Ermu Wrote: Why does it crash then?

It can crash for any number of reasons. If i were to run off of the black box stack trace, i would suggest you verify all of your CFG and LANG files.
It must be game.cfg then, since the game only crashes as i try to Start A New Game, everything else is working fine.
And it worked yesterday, and i haven't touched any LANG files ever since.

E: nope, it's not it.


RE: ERROR: Could not map cache file - Your Computer - 06-09-2012

(06-09-2012, 10:59 PM)Ermu Wrote: It must be game.cfg then, since the game only crashes as i try to Start A New Game, everything else is working fine.
And it worked yesterday, and i haven't touched any LANG files ever since.

If it crashes only when you try to start a new game, then it's not an issue with the configuration.

Have you attempted to use functions that deal with traversing strings (e.g. StringContains)?


RE: ERROR: Could not map cache file - Ermu - 06-10-2012

in the .hps?

No, only (string &in) type.


RE: ERROR: Could not map cache file - Ermu - 06-10-2012

I still have no idea what causes this..


RE: ERROR: Could not map cache file - Your Computer - 06-10-2012

Rename the HPS file so that it doesn't get loaded with the map. If it still crashes, then try having a different map for the starting map. If it still crashes, then i'm out of ideas.


RE: ERROR: Could not map cache file - Ermu - 06-10-2012

(06-10-2012, 08:03 PM)Your Computer Wrote: Rename the HPS file so that it doesn't get loaded with the map. If it still crashes, then try having a different map for the starting map. If it still crashes, then i'm out of ideas.
Instantly worked after renaming the .hps, it's no problem, because i was thinking of re-scripting it anyways. Smile


Thanks!