![]() |
Cannot load world 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: Cannot load world file? (/thread-29853.html) |
Cannot load world file? - dailycreepypasta - 04-25-2015 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? RE: Cannot load world file? - Romulator - 04-25-2015 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. RE: Cannot load world file? - Slanderous - 04-25-2015 Perhaps it's caused because they have 1.3.1 patch? RE: Cannot load world file? - Mudbill - 04-25-2015 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. RE: Cannot load world file? - Daemian - 04-26-2015 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' RE: Cannot load world file? - Daemian - 04-26-2015 BRO your map is broken at line 7733, what happened? ![]() RE: Cannot load world file? - Mudbill - 04-26-2015 ^ 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. RE: Cannot load world file? - Daemian - 04-26-2015 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. |