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


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

Posts: 616
Joined: Mar 2011
Reputation: 8
Post: #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 all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,085
Joined: Mar 2009
Reputation: 67
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
Mofo Offline
Member

Posts: 71
Joined: Sep 2010
Reputation: 2
Post: #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 all posts by this user Quote this message in a reply
MrBigzy Offline
Senior Member

Posts: 616
Joined: Mar 2011
Reputation: 8
Post: #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 all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,085
Joined: Mar 2009
Reputation: 67
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
xiphirx Offline
Senior Member

Posts: 662
Joined: Nov 2010
Reputation: 5
Post: #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 all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,085
Joined: Mar 2009
Reputation: 67
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
MrBigzy Offline
Senior Member

Posts: 616
Joined: Mar 2011
Reputation: 8
Post: #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 all posts by this user Quote this message in a reply
ricky horror Offline
Member

Posts: 54
Joined: Apr 2011
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,085
Joined: Mar 2009
Reputation: 67
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)