Frictional Games Forum (read-only)
[CONFIG] Mod Error - 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: [CONFIG] Mod Error (/thread-14790.html)

Pages: 1 2 3 4


RE: Mod Error - jessehmusic - 04-14-2012

(04-14-2012, 09:51 PM)Your Computer Wrote: Not sure if a forward slash is required in front of every path, but your resources.cfg file doesn't list the original gui folder. I highly doubt you created your own gui, so that could be one of the reasons why the game is crashing.
i copied

here is the rar

http://www.mediafire.com/?3vkokyzltbptsyw



RE: Mod Error - Your Computer - 04-14-2012

The issue is that you don't have the original gui and graphics folder listed in your resources.cfg file.


RE: Mod Error - jessehmusic - 04-14-2012

(04-14-2012, 10:14 PM)Your Computer Wrote: The issue is that you don't have the original gui and graphics folder listed in your resources.cfg file.
so what i have to do?


RE: Mod Error - SilentStriker - 04-14-2012

Something tells me you renamed things in the resource.cfg right? You are supposed to add lines not rename them except maps and some more things.



RE: Mod Error - jessehmusic - 04-14-2012

(04-14-2012, 10:19 PM)SilentStriker Wrote: Something tells me you renamed things in the resource.cfg right? You are supposed to add lines not rename them except maps and some more things.
still error


<Resources>
<Directory Path="/_temp" AddSubDirs="true" />
<Directory Path="/fonts" AddSubDirs="false" />
<Directory Path="/maps" AddSubDirs="true" />
<Directory Path="/test_mod/maps" AddSubDirs="true" />
<Directory Path="/textures" AddSubDirs="true" />
<Directory Path="/models" AddSubDirs="true" />
<Directory Path="/gui" AddSubDirs="true" />
<Directory Path="/test_mod/gui" AddSubDirs="true" />
<Directory Path="/static_objects" AddSubDirs="true" />
<Directory Path="/test_mod/static_objects" AddSubDirs="true" />
<Directory Path="/sounds" AddSubDirs="true" />
<Directory Path="/test_mod/sounds" AddSubDirs="true" />
<Directory Path="/main_menu" AddSubDirs="true" />
<Direcatry Path="/test_mod/main_menu" AddSubDirs="true" />
<Directory Path="/shaders" AddSubDirs="true" />
<Directory Path="/lights" AddSubDirs="true" />
<Directory Path="/billboards" AddSubDirs="true" />
<Directory Path="/entities" AddSubDirs="true" />
<Directory Path="/test_mod/entities" AddSubDirs="true" />
<Directory Path="/graphics" AddSubDirs="true" />
<Directory Path="/test_mod/graphics" AddSubDirs="true" />
<Directory Path="/viewer" AddSubDirs="true" />
<Directory Path="/particles" AddSubDirs="true" />
<Directory Path="/models" AddSubDirs="true" />
<Directory Path="/music" AddSubDirs="true" />
<Directory Path="/test_mod/music"AddSubDirs="true" />
<Directory Path="/flashbacks" AddSubDirs="true" />
<Directory Path="/test_mod/flashbacks" AddSubDirs="true" />
<Directory Path="/textures" AddSubDirs="true" />
<Directory Path="/test_mod/textures" AddSubDirs="true" />
<Directory Path="/misc" AddSubDirs="true" />
<Directory Path="/commentary" AddSubDirs="true" />
<Directory Path="/test_mod/commentary" AddSubDirs="true" />

</Resources>


RE: Mod Error - Cranky Old Man - 04-14-2012

(04-14-2012, 09:49 PM)jessehmusic Wrote:
(04-14-2012, 09:47 PM)Cranky Old Man Wrote: http://wiki.frictionalgames.com/hpl2/amnesia/devenvguide
"8. In order to avoid running into “File index out of bounds” errors when
designing your custom story in the level editor, edit the file resources.cfg located in the root the directory of Amnesia (i.e. where Amnesia is installed) and add the custom_stories directory to the list."
what you mean?
This is how my resources.cfg looks:

Spoiler below!
Code:
<Resources>
  <Directory Path="/_temp" AddSubDirs="true" />
  <Directory Path="/fonts" AddSubDirs="false" />
  <Directory Path="/maps" AddSubDirs="true" />
  <Directory Path="/textures" AddSubDirs="true" />
  <Directory Path="/models" AddSubDirs="true" />
  <Directory Path="/gui" AddSubDirs="true" />
  <Directory Path="/static_objects" AddSubDirs="true" />
  <Directory Path="/sounds" AddSubDirs="true" />
  <Directory Path="/main_menu" AddSubDirs="true" />
  <Directory Path="/shaders" AddSubDirs="true" />
  <Directory Path="/lights" AddSubDirs="true" />
  <Directory Path="/billboards" AddSubDirs="true" />
  <Directory Path="/entities" AddSubDirs="true" />
  <Directory Path="/graphics" AddSubDirs="true" />
  <Directory Path="/viewer" AddSubDirs="true" />
  <Directory Path="/particles" AddSubDirs="true" />
  <Directory Path="/models" AddSubDirs="true" />
  <Directory Path="/music" AddSubDirs="true" />
  <Directory Path="/flashbacks" AddSubDirs="true" />
  <Directory Path="/textures" AddSubDirs="true" />    
  <Directory Path="/misc" AddSubDirs="true" />
  <Directory Path="/commentary" AddSubDirs="true" />
  <Directory Path="/custom_stories" AddSubDirs="true" />
</Resources>




First:
I already told you to add this line - do it:
Code:
<Directory Path="/custom_stories" AddSubDirs="true" />

Second:
"Direcatry"


(04-14-2012, 10:19 PM)SilentStriker Wrote: Something tells me you renamed things in the resource.cfg right? You are supposed to add lines not rename them except maps and some more things.
He only added the following lines:
Spoiler below!

<Directory Path="/test_mod/maps" AddSubDirs="true" />
<Directory Path="/test_mod/gui" AddSubDirs="true" />
<Directory Path="/test_mod/static_objects" AddSubDirs="true" />
<Directory Path="/test_mod/sounds" AddSubDirs="true" />
<Direcatry Path="/test_mod/main_menu" AddSubDirs="true" />
<Directory Path="/test_mod/entities" AddSubDirs="true" />
<Directory Path="/test_mod/graphics" AddSubDirs="true" />
<Directory Path="/test_mod/music"AddSubDirs="true" />
<Directory Path="/test_mod/flashbacks" AddSubDirs="true" />
<Directory Path="/test_mod/textures" AddSubDirs="true" />
<Directory Path="/test_mod/commentary" AddSubDirs="true" />


The only folder missing is the custom_stories folder which he forgot to add.


Also, instead of all these new directory paths, why don't you just add this line?
Code:
<Directory Path="/test_mod" AddSubDirs="true" />




RE: Mod Error - jessehmusic - 04-14-2012

(04-14-2012, 10:35 PM)Cranky Old Man Wrote:
(04-14-2012, 09:49 PM)jessehmusic Wrote:
(04-14-2012, 09:47 PM)Cranky Old Man Wrote: http://wiki.frictionalgames.com/hpl2/amnesia/devenvguide
"8. In order to avoid running into “File index out of bounds” errors when
designing your custom story in the level editor, edit the file resources.cfg located in the root the directory of Amnesia (i.e. where Amnesia is installed) and add the custom_stories directory to the list."
what you mean?
This is how my resources.cfg looks:

Spoiler below!




First:
I already told you to add this line - do it:

Second:
"Direcatry"


(04-14-2012, 10:19 PM)SilentStriker Wrote: Something tells me you renamed things in the resource.cfg right? You are supposed to add lines not rename them except maps and some more things.
He only added the following lines:
Spoiler below!





TTYTYTYTYTYTYTY +REP FOR THAT!!!








The only folder missing is the custom_stories folder which he forgot to add.


Also, instead of all these new directory paths, why don't you just add this line?

















RE: Mod Error - Cranky Old Man - 04-15-2012

(04-14-2012, 11:54 PM)jessehmusic Wrote: TTYTYTYTYTYTYTY +REP FOR THAT!!!
Oh, thank you. Smile


RE: Mod Error - jessehmusic - 04-15-2012

(04-15-2012, 12:09 AM)Cranky Old Man Wrote:
(04-14-2012, 11:54 PM)jessehmusic Wrote: TTYTYTYTYTYTYTY +REP FOR THAT!!!
Oh, thank you. Smile
But now i get error when i change settings :S like sound from 10 to 5 any clue`?


RE: Mod Error - Cranky Old Man - 04-15-2012

(04-15-2012, 12:24 AM)jessehmusic Wrote: But now i get error when i change settings :S like sound from 10 to 5 any clue`?
Sorry, went to bed. I also don't know anything about changing the sound settings. Do you mean changing them in-game, or some map property in the editor?