Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fix for replacement items (like the flashlight) when doing conversion mods
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#1
Fix for replacement items (like the flashlight) when doing conversion mods

So I thought of an easy fix that might work and prevent overwriting files. In the main dir of Amnesia, there's a cfg file called resources. It specifies what folders, well, have resources in them. For conversions, you could specify a different folder for, say, the models folder for the flashlight. It's probably possible to specify subdir's too if you want something specific. Anyone working on a conversion mod wanna test this out? (wink wink nudge nudge Tanshaydar)
05-01-2011, 04:45 PM
Find Reply
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: Fix for replacement items (like the flashlight) when doing conversion mods

Well, I should explain in depth how I did since winks shows me Big Grin

I created two folders in main directory called wn_config and wn_models. wn stands for White Night.

Then I copied all the cfg files from config folder into wn_config. I also copied resources.cfg into wn_config folder.

I extracted everything from flashlight into wn_models and opened resources.cfg in the wn_config folder and edited the line:

<Directory Path="/models" AddSubDirs="true" />
to
<Directory Path="/wn_models" AddSubDirs="true" />

and saved. Then opened main_init.cfg file inside wn_config folder and edited the line:

<ConfigFiles
    Resources = "resources.cfg"

to

<ConfigFiles
    Resources = "wn_config/resources.cfg"

Now, open your Amnesia with the main_init.cfg file inside wn_config folder.

Now you have a full conversion without changing any actual game file.

Here's the video: http://www.youtube.com/watch?v=iBtS6l_CtxM

(This post was last modified: 05-01-2011, 05:11 PM by Tanshaydar.)
05-01-2011, 05:11 PM
Website Find Reply
Mofo Offline
Member

Posts: 71
Threads: 4
Joined: Sep 2010
Reputation: 2
#3
RE: Fix for replacement items (like the flashlight) when doing conversion mods

I take my hat off to you, good sir. Big Grin
05-01-2011, 05:54 PM
Find Reply
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#4
RE: Fix for replacement items (like the flashlight) when doing conversion mods

Oh, you did this before?
05-01-2011, 07:59 PM
Find Reply
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#5
RE: Fix for replacement items (like the flashlight) when doing conversion mods

Me?
Actually I was working on a full conversion because the reaction I took from this was not good and decided to use the flashlight Xiphirx already made despite its bugs.
Since I saw you managed to export animations from Maya and seem to be capable of doing animations, I kept poking you Tongue

You saved a custom story Angel

05-01-2011, 08:17 PM
Website Find Reply
xiphirx Offline
Senior Member

Posts: 662
Threads: 16
Joined: Nov 2010
Reputation: 5
#6
RE: Fix for replacement items (like the flashlight) when doing conversion mods

Your mod looks awesome! Shows that Amnesia isn't just oriented towards 1800 century settings.

05-01-2011, 08:20 PM
Find Reply
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#7
RE: Fix for replacement items (like the flashlight) when doing conversion mods

Well, that's thanks to all of your efforts. A simple flashlight can change a lot and I think this is a milestone for Amnesia modding history.

05-01-2011, 09:11 PM
Website Find Reply
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#8
RE: Fix for replacement items (like the flashlight) when doing conversion mods

Oh no, I meant to ask if you set up the replacement thing that I mentioned before or not, lol. Just curious if you had it set up already before I made this thread.

And I'm honored to have saved your custom story. =D
(This post was last modified: 05-01-2011, 09:31 PM by MrBigzy.)
05-01-2011, 09:30 PM
Find Reply
ricky horror Offline
Member

Posts: 54
Threads: 8
Joined: Apr 2011
Reputation: 0
#9
RE: Fix for replacement items (like the flashlight) when doing conversion mods

(05-01-2011, 05:11 PM)Tanshaydar Wrote: Well, I should explain in depth how I did since winks shows me Big Grin

I created two folders in main directory called wn_config and wn_models. wn stands for White Night.

Then I copied all the cfg files from config folder into wn_config. I also copied resources.cfg into wn_config folder.

I extracted everything from flashlight into wn_models and opened resources.cfg in the wn_config folder and edited the line:

<Directory Path="/models" AddSubDirs="true" />
to
<Directory Path="/wn_models" AddSubDirs="true" />

and saved. Then opened main_init.cfg file inside wn_config folder and edited the line:

<ConfigFiles
    Resources = "resources.cfg"

to

<ConfigFiles
    Resources = "wn_config/resources.cfg"

Now, open your Amnesia with the main_init.cfg file inside wn_config folder.

Now you have a full conversion without changing any actual game file.

Here's the video: http://www.youtube.com/watch?v=iBtS6l_CtxM

Now when you say "main directory", do you mean the actual game's main directory where the original config and models folders are, or the main directory for your custom story? Because I've done both, and neither way gets the flashlight into the custom story. :/

Amnesia: Ricky's Horror - Full Conversion
05-02-2011, 01:23 AM
Find Reply
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#10
RE: Fix for replacement items (like the flashlight) when doing conversion mods

Where your Amnesia.exe is, because flashlight won't work in a custom_story.

05-02-2011, 01:52 AM
Website Find Reply




Users browsing this thread: 1 Guest(s)