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
Configuration Files Help ForceCacheLoadingAndSkipSaving Crash!
TimProzz Offline
Junior Member

Posts: 23
Threads: 8
Joined: May 2016
Reputation: 0
#1
Exclamation  ForceCacheLoadingAndSkipSaving Crash!

Hello everybody,

I've been working on my custom story called Illusions of the Dead for over a year now. It will be released August 21st 2017 and testing begins July 21st 2017 which means I'm almost done with the CS.

But I have one small problem. Some of my maps (especially the large maps) crash whenever I load them. BUT they only crash when ForceCacheLoadingAndSkipSaving in main_settings.cfg is set to false.

When ForceCacheLoadingAndSkipSaving is set to true everything runs smoothly.

Now this is a problem because most people who still play Amnesia also make their own maps. So they probably have development settings on which means if they have set ForceCacheLoadingAndSkipSaving to false their game WILL crash. And I don't want people to change some settings in order to play my CS.

For those interested, here the hpl.log when loading the map:
.log   hpl.log (Size: 8.28 KB / Downloads: 204)

Does anybody know how to fix this problem?

Tim

Mod I'm working on: Illusions of the Dead 2
ModDB Illusions of the Dead 2
07-09-2017, 10:46 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: ForceCacheLoadingAndSkipSaving Crash!

You can safely delete the cache files and test them again after setting the value to false. The idea of that setting is so that the game force loads the map file instead of the cache, since the cache tends to be an outdated throwtogether of the map once it has been loaded, should a computer struggle with loading maps the first time, the cache is then loaded instead to boost the speed.

It could also be stuffing up because your Custom Story appears to be in a folder directory with spaces in the folder name. While it may not change anything, but you shouldn't have spaces in folder names. Use underscores ( _ ) to denote spaces. For example, instead of Romulators Custom Map, it would be "Romulators_Custom_Map".

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 07-10-2017, 12:22 AM by Romulator.)
07-10-2017, 12:19 AM
Find
TimProzz Offline
Junior Member

Posts: 23
Threads: 8
Joined: May 2016
Reputation: 0
#3
RE: ForceCacheLoadingAndSkipSaving Crash!

I always delete the .cache files and .nodes files whenever I see them. Unfortunately it still seems to crash when I set ForceCacheLoadingAndSkipSaving to false.

Also changing the directory name from custom_stories/Illusions of the Dead to custom_stories/Illusions_of_the_Dead doesn't seem to solve the problem. But like you said, folder names shouldn't have spaces in them.

I did notice that not many people have this problem when testing their maps. If you search the forum for "ForceCacheLoadingAndSkipSaving" you'll only find serbusfish (the guy that made The Curse of Ripley Manor) who apparently had the same problem but the problem was never solved.

Mod I'm working on: Illusions of the Dead 2
ModDB Illusions of the Dead 2
07-10-2017, 01:06 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#4
RE: ForceCacheLoadingAndSkipSaving Crash!

When it crashes, what error(s) do you get, if any? What happens?

And are they arbitrary or consistently tied to those maps? (As in, if you were to load the map directly via the Developer Menu, does it crash? In a normal playthrough, does it crash?)

Discord: Romulator#0001
[Image: 3f6f01a904.png]
07-10-2017, 02:47 AM
Find
TimProzz Offline
Junior Member

Posts: 23
Threads: 8
Joined: May 2016
Reputation: 0
#5
RE: ForceCacheLoadingAndSkipSaving Crash!

Yes the game both crashes when loading up the custom story normally and when I try to load the map in the developer menu.

It also isn't a script error. It basically loads all the way and then in the end it crashes and says Amnesia has stopped responding. So I don't get an error message. It just crashes when loading the map.

Mod I'm working on: Illusions of the Dead 2
ModDB Illusions of the Dead 2
(This post was last modified: 07-10-2017, 12:05 PM by TimProzz.)
07-10-2017, 11:08 AM
Find




Users browsing this thread: 1 Guest(s)