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
Cannot load world file?
dailycreepypasta Offline
Junior Member

Posts: 32
Threads: 18
Joined: Aug 2014
Reputation: 0
#1
Cannot load world file?

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?


Attached Files
.log   hpl.log (Size: 10.7 KB / Downloads: 155)

Creator of "The Night I Went Insane".

http://www.moddb.com/mods/the-night-i-went-insane
04-25-2015, 09:04 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: Cannot load world file?

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.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
04-25-2015, 02:30 PM
Find
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#3
RE: Cannot load world file?

Perhaps it's caused because they have 1.3.1 patch?
04-25-2015, 06:45 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Cannot load world file?

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.

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.

(This post was last modified: 04-25-2015, 07:12 PM by Mudbill.)
04-25-2015, 07:12 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#5
RE: Cannot load world file?

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'

(This post was last modified: 04-26-2015, 03:16 PM by Daemian.)
04-26-2015, 03:06 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#6
RE: Cannot load world file?

BRO your map is broken at line 7733, what happened?

[Image: dfgdfgf.png]

04-26-2015, 04:16 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#7
RE: Cannot load world file?

^ 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.

(This post was last modified: 04-26-2015, 04:17 PM by Mudbill.)
04-26-2015, 04:16 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#8
RE: Cannot load world file?

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.

04-26-2015, 04:22 PM
Find




Users browsing this thread: 1 Guest(s)