Frictional Games Forum (read-only)
Fatal Error when trying to start amnesia - 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: Fatal Error when trying to start amnesia (/thread-14727.html)

Pages: 1 2


Fatal Error when trying to start amnesia - emppo - 04-12-2012

I decided to make a Amnesia Custom Story. I followed the guide on this site: http://wiki.frictionalgames.com/hpl2/start . I did everything that they told me to do in the "Setting up Development Environment" and then i tried to start the game as they say in the text but i got " Fatal Error: Could not load world file 'MyMaps/my_map.map' "
What is wrong?



RE: Fatal Error when trying to start amnesia - JetlinerX - 04-12-2012

Make sure the directory to your custom_stories folder is correct. I've never seen it showing to "MyMaps"

Mine is set to:
Code:
<Map File="" Folder="" StartPos="" />

Go ahead and post your user_settings.cfg so we can help you more.



RE: Fatal Error when trying to start amnesia - emppo - 04-13-2012

<Game ShowCommentary="false" ShowCrossHair="true" FocusIconStyle="Default" ShowDeathHints="true" ShowSubtitles="true" ShowEffectSubtitles="false" ShowHints="true" />

<Debug AllowQuickSave="true" ShowFPS="false" ShowSoundPlaying="false" ShowPlayerInfo="false" ShowEntityInfo="false" SaveCheckPointOnMapLoad="false" ShowDebugMessages="false" UseProgLog="false" ScriptDebugOn="true" InspectionMode="false" DisableFlashBacks="false" DrawPhysics="false" />

<Input InvertMouse="false" SmoothMouse="true" MouseSensitivity="1.000000" />

<Map File="my_map.map" Folder="MyMaps/" StartPos="" />



RE: Fatal Error when trying to start amnesia - Linus Ågren - 04-13-2012


You must have your CS folder in the redist/maps folder in order for it to load.



RE: Fatal Error when trying to start amnesia - emppo - 04-13-2012

So I have to move the custom_stories folder from redist to redist/maps?



RE: Fatal Error when trying to start amnesia - Cranky Old Man - 04-13-2012

(04-13-2012, 07:08 PM)emppo Wrote: So I have to move the custom_stories folder from redist to redist/maps?
Absolutely not. He must have written something wrong. The "custom_stories\" folder should be in "redist\".

(04-13-2012, 12:58 PM)emppo Wrote: <Map File="my_map.map" Folder="MyMaps/" StartPos="" />
I have no idea why the manual says that. Change it to this:
<Map File="" Folder="" StartPos="" />




RE: Fatal Error when trying to start amnesia - Linus Ågren - 04-14-2012

What I meant was the folder of YOUR custom story, not the actual custom stories folder. Smile
Example:
My folder is called The Dark Treasure and is located in "maps\The Dark Treasure" (I use steam version so I don't have a redist folder)

My user_settings.cfg looks like this at the bottom: "<Map File="06_burial_grounds.map" Folder="The Dark Treasure\" StartPos="PlayerStartArea_7" />"

It will load 06_burial_grounds.map and look for it in "The Dark Treasure" folder.


RE: Fatal Error when trying to start amnesia - Cranky Old Man - 04-14-2012

(04-14-2012, 04:05 PM)junkfood2121 Wrote: What I meant was the folder of YOUR custom story, not the actual custom stories folder. Smile
Example:
My folder is called The Dark Treasure and is located in "maps\The Dark Treasure" (I use steam version so I don't have a redist folder)

My user_settings.cfg looks like this at the bottom: "<Map File="06_burial_grounds.map" Folder="The Dark Treasure\" StartPos="PlayerStartArea_7" />"

It will load 06_burial_grounds.map and look for it in "The Dark Treasure" folder.
7? You have seven starting positions in your map? ...or is it supposed to say "1" and you just typed it wrong? ...because that would explain the crash.




RE: Fatal Error when trying to start amnesia - DRedshot - 04-14-2012

(04-14-2012, 04:22 PM)Cranky Old Man Wrote: 7? You have seven starting positions in your map? ...or is it supposed to say "1" and you just typed it wrong? ...because that would explain the crash.
As far as I'm aware there is no limit to how many start positions the player can have. I have ~5 start positions in my hub map, this will probably be 7-8 when my story is complete. Remember, start positions can be used for more than just entering maps, they can be used for checkpoints, or even just playtesting an area without having to go through 10 minutes of map every time. (I have a few debug mode start positions on my maps Tongue)




RE: Fatal Error when trying to start amnesia - Linus Ågren - 04-14-2012

(04-14-2012, 04:22 PM)Cranky Old Man Wrote:
(04-14-2012, 04:05 PM)junkfood2121 Wrote: What I meant was the folder of YOUR custom story, not the actual custom stories folder. Smile
Example:
My folder is called The Dark Treasure and is located in "maps\The Dark Treasure" (I use steam version so I don't have a redist folder)

My user_settings.cfg looks like this at the bottom: ""

It will load 06_burial_grounds.map and look for it in "The Dark Treasure" folder.
7? You have seven starting positions in your map? ...or is it supposed to say "1" and you just typed it wrong? ...because that would explain the crash.
It's just for testing. I'm not the one with the crash problem by the way. Wink