Frictional Games Forum (read-only)

Full Version: Cannot load world file?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
A couple people who downloaded my mod ended up getting a crash message that says, "Could not load world file" or something similar to that. This happens when they select a level door to the map.for one specific map I have. The paths in the error messages have been weird. For example, one of them had a message say,

FATAL ERROR: "Could not load world file 'custom_stories/The Night I Went Insane/maps/C:/Program Files(x86)/Steam/SteamApps/common/Amnesia The Dark Descent/custom_stories/The Night I Went Insane/maps/p4.map'


The scripting is right and the level editor looks fine. I managed to get the hpl.log from one of them just in case and it looks very strange. Does anyone have any idea how this can be fixed?
I could be wrong, but I think your issue is that your directory folder uses a space character in the folder. I COULD be wrong though, since it's just an honest speculation. Errors can follow some programs or running capabilities when it comes to directories or filenames with space characters.
Perhaps it's caused because they have 1.3.1 patch?
Sometimes, spaces can mess you up, however in the case of a custom story directory, that does not apply. It IS odd though, how it restarts the path after getting to your maps directory.

Code:
custom_stories/The Night I Went Insane/maps/C:/Program Files(x86)/Steam/SteamApps/common/Amnesia The Dark Descent/custom_stories/The Night I Went Insane/maps/p4.map

This is probably the issue. What causes it I am unsure of.
Quote:Failed parsing of XML document D:/Program Files (x86)/Steam/steamapps/common/Amnesia The Dark Descent/custom_stories/The Night I Went Insane/maps/p4.map in line 7733, column 8: Error reading end tag.
what's at that line?

As for the weird path, I think it's probably a concatenation of 3 things. relative path to the maps + absolute path to the maps + map name.

'custom_stories/The Night I Went Insane/maps/C:/Program Files(x86)/Steam/SteamApps/common/Amnesia The Dark Descent/custom_stories/The Night I Went Insane/maps/p4.map'
BRO your map is broken at line 7733, what happened?

[Image: dfgdfgf.png]
^ Yeah. I've seen this path thing before, but I don't know what causes it or how to fix it, but I imagine it's not too difficult.

How is your custom_story_settings.cfg?

Edit: Corrupt saving? I bet you can't even open it in the Level Editor anymore. Salvage what you can and make a new map.
That's the last line. See if you have a copy/backup of that map, the one you uploaded as custom story is the broken one, maybe the other ifc you uploaded is fine.