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


Thread Rating:
  • 4 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Full conversion
Thomas Offline
Frictional Games

Posts: 2,634
Threads: 184
Joined: Apr 2006
Reputation: 68
#1
Full conversion

I have been told that some had problems with full conversions but when I tried it out myself all worked as far as I could tell (tried changing values and so on).

The trick is that you need to use the entire relative path as input. For example, to load the default file you would use:
config/main_init.cfg

I tried this with a different file and it seemed to be using the new file, but i might be missing some setting that is not working as it should.

I would use a .bat file with the following contents:

Amnesia.exe config/test_main_init.cfg

(with "config/test_main_init.cfg" being the file you want to use of course.)
Also attaching the file in a zip just so all is clear.

Hope this helps! Else post about problems and i will see what I can do.


Attached Files
.zip   test.zip (Size: 151 bytes / Downloads: 146)
(This post was last modified: 01-17-2011, 06:15 PM by Thomas.)
01-17-2011, 06:14 PM
Find
Tottel Offline
Senior Member

Posts: 307
Threads: 9
Joined: Nov 2010
Reputation: 0
#2
RE: Full conversion

Hello and thanks. Smile

I tried to replicate this, and it still won't work. I do something obvious like changing the player height, speed or intensity of the 'nightvision', but nothing happens.

My structure looks like this:

1. I have a .bat file in the main directory. In it is:
Amnesia.exe config/test_main_init.cfg

2. in my config folder, I have test_main_init.cfg. It's a copy of the original, with the only difference that "Game" points to test_game.cfg in stead of game.cfg

3. In test_game.cfg I did the changes.

4. I load up Amnesia by double-clicking the .bat file (I have the steam version.. is that a problem?)

5. I start up my custom story, and see nothing happening. When I try 'continue' with the Singleplayer, it's the same: No changes.

I have no clue what's wrong. :/
01-17-2011, 06:58 PM
Find
Thomas Offline
Frictional Games

Posts: 2,634
Threads: 184
Joined: Apr 2006
Reputation: 68
#3
RE: Full conversion

Post "hpl.log"

I did not check so the game.cfg was possible to change, so that might be the problem.

EDIT: Checked the code and as far as I can tell it is set through the init file. Gonna try changing it myself.
(This post was last modified: 01-17-2011, 08:57 PM by Thomas.)
01-17-2011, 08:53 PM
Find
Thomas Offline
Frictional Games

Posts: 2,634
Threads: 184
Joined: Apr 2006
Reputation: 68
#4
RE: Full conversion

I tried now and it worked just as it should. I basically did what you did so I am not sure what might be wrong for you.

I have already described how I changed the main_init.cfg file.

What I then did was to rename game.cfg to test_game.cfg

changed
Quote:Game = "config/game.cfg"
in "test_main_init.cfg" to
Quote:Game = "config/test_game.cfg"

And then in test_game.cfg I changed
Quote:FOV = "70"
to
Quote:FOV = "30"

Loaded up a level, and it worked! I had zoom vision Smile
01-17-2011, 09:03 PM
Find
Tottel Offline
Senior Member

Posts: 307
Threads: 9
Joined: Nov 2010
Reputation: 0
#5
RE: Full conversion

OK, I did some further testing and removed the orginal files (main_init.cfg and game.cfg). Now, it won't even start up the game, saying:

ERROR: Unable to open config file 'config/main_init.cfg'! Invalid filepointer returned!

Eventhough I launch it from the .batch file with the new config. :/


.. I can just sense one of those "Omg, how embarrassing, I'm sorry I didn't see that", coming up soon.
01-17-2011, 09:35 PM
Find
xiphirx Offline
Senior Member

Posts: 662
Threads: 16
Joined: Nov 2010
Reputation: 5
#6
RE: Full conversion

Thomas, this seems to be an issue with the steam versions of the game.

01-17-2011, 09:53 PM
Find
Thomas Offline
Frictional Games

Posts: 2,634
Threads: 184
Joined: Apr 2006
Reputation: 68
#7
RE: Full conversion

Tried it, and you are very correct. It is steam problem. They always run the launcher even if you run Amnesia.exe. Thus we need to get the launcher to call with the right commandline or similar.

I will check and see what can be done about it, but cannot promise anything soon.
(This post was last modified: 01-17-2011, 11:10 PM by Thomas.)
01-17-2011, 11:10 PM
Find
xiphirx Offline
Senior Member

Posts: 662
Threads: 16
Joined: Nov 2010
Reputation: 5
#8
RE: Full conversion

(01-17-2011, 11:10 PM)Thomas Wrote: Tried it, and you are very correct. It is steam problem. They always run the launcher even if you run Amnesia.exe. Thus we need to get the launcher to call with the right commandline or similar.

I will check and see what can be done about it, but cannot promise anything soon.

I've tried adding it as a launch option via steam, still didn't quite work...

01-17-2011, 11:31 PM
Find
Tottel Offline
Senior Member

Posts: 307
Threads: 9
Joined: Nov 2010
Reputation: 0
#9
RE: Full conversion

(01-17-2011, 11:31 PM)xiphirx Wrote:
(01-17-2011, 11:10 PM)Thomas Wrote: Tried it, and you are very correct. It is steam problem. They always run the launcher even if you run Amnesia.exe. Thus we need to get the launcher to call with the right commandline or similar.

I will check and see what can be done about it, but cannot promise anything soon.

I've tried adding it as a launch option via steam, still didn't quite work...

I've tried taking one of the valve employees hostage, but that didn't work either. :/

Anyway, if it's a steam issue, and it's something only valve can fix, then we can only hope and wait.
01-17-2011, 11:51 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#10
RE: Full conversion

I've looked into things further (and trying to figure out the "steam voodoo") and I may have found some workarounds and am verifying them with Valve to ensure they will work reliably.

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
01-18-2011, 10:23 PM
Website Find




Users browsing this thread: 1 Guest(s)