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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I cannot set up a development environment
phern Offline
Junior Member

Posts: 4
Threads: 1
Joined: Apr 2011
Reputation: 0
#1
I cannot set up a development environment

Hello everyone. I got an issue with setting up dev environment using tutorial from http://wiki.frictionalgames.com/hpl2/amn...evenvguide.

I did everything exactly as said, and game crashes at the beginning says that "Failed to load config file!"

This is my main_settings.cfg file:

PHP Code: (Select All)
<Main ShowMenu="false" ExitMenuDirectly="true" SaveConfig="false" DefaultProfileName="dev_user" StartLanguage="polish.lang" UpdateLogActive="false" LoadDebugMenu="true" ScreenShotExt="jpg" ShowPreMenu="false" />
<
Graphics TextureQuality="0" TextureFilter="2" TextureAnisotropy="16.000000" Gamma="1.000000" Shadows="1" SSAOActive="true" SSAOSamples="8" GBufferType="0" NumOfGBufferTextures="3" SSAOResolution="0" WorldReflection="true" Refraction="true" ShadowsActive="true" ShadowQuality="2" ShadowResolution="2" ParallaxQuality="0" ParallaxEnabled="true" EdgeSmooth="false" ForceShaderModel3And4Off="false" PostEffectBloom="true" PostEffectImageTrail="true" PostEffectSepia="true" PostEffectRadialBlur="true" PostEffectInsanity="true" />
<
Engine LimitFPS="true" SleepWhenOutOfFocus="true" />
<
Screen Width="1920" Height="1200" FullScreen="true" Vsync="true" />
<
Physics PhysicsAccuracy="2" UpdatesPerSec="60.000000" />
<
MapLoad FastPhysicsLoad="false" FastStaticLoad="false" FastEntityLoad="false" />
<
Sound Device="0" Volume="1.000000" MaxChannels="32" StreamBuffers="4" StreamBufferSize="262144" /> 

Can anyone tell me what is wrong with it?
Thank you in advance.
04-19-2011, 09:42 PM
Find
nkmol Offline
Senior Member

Posts: 252
Threads: 19
Joined: Feb 2011
Reputation: 4
#2
RE: I cannot set up a development environment

u only changed the main_settings.cfg (My Documents/Amnesia/Main) ?

u could test the command 1 by 1, to see at what command the problem is Tongue
so change 1 command and test the game, again change 1 command, test the game, etc.
04-19-2011, 09:57 PM
Find
phern Offline
Junior Member

Posts: 4
Threads: 1
Joined: Apr 2011
Reputation: 0
#3
RE: I cannot set up a development environment

(04-19-2011, 09:57 PM)nkmol Wrote: u only changed the main_settings.cfg (My Documents/Amnesia/Main) ?

u could test the command 1 by 1, to see at what command the problem is Tongue
so change 1 command and test the game, again change 1 command, test the game, etc.

I already did. It starts crashing when I change ShowMenu="false".

And no, main settings are not the only thing I did, I also changed user settings inside dev_user folder, just like they said on wikia.
(This post was last modified: 04-19-2011, 10:01 PM by phern.)
04-19-2011, 10:01 PM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#4
RE: I cannot set up a development environment

Did you put what map to load?
04-19-2011, 10:54 PM
Find
phern Offline
Junior Member

Posts: 4
Threads: 1
Joined: Apr 2011
Reputation: 0
#5
RE: I cannot set up a development environment

(04-19-2011, 10:54 PM)MrBigzy Wrote: Did you put what map to load?

Yes, I did, although I don't really know if I should leave startpos empty.
Now it looks like this:
<Map File=“my_map.map” Folder=“MyMaps/” StartPos="" />

I inserted MyMaps folder into map folder, as said on wikia and also created a map named "my_map.map".
04-19-2011, 11:29 PM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#6
RE: I cannot set up a development environment

That seems okay then. No need to put a StartPos.

Remember, if you put it to showmenu=false, you can only load maps from the main maps folder, not your custom folder. So your maps would have to be under maps/MyMaps in the main amnesia directory as opposed to custom_stories/MyMaps.
(This post was last modified: 04-20-2011, 01:43 AM by MrBigzy.)
04-20-2011, 01:42 AM
Find
phern Offline
Junior Member

Posts: 4
Threads: 1
Joined: Apr 2011
Reputation: 0
#7
RE: I cannot set up a development environment

(04-20-2011, 01:42 AM)MrBigzy Wrote: That seems okay then. No need to put a StartPos.

Remember, if you put it to showmenu=false, you can only load maps from the main maps folder, not your custom folder. So your maps would have to be under maps/MyMaps in the main amnesia directory as opposed to custom_stories/MyMaps.

I had my map in maps/MyMaps and its not working.

Maybe I need to set some kind of spawn point on a map?
04-20-2011, 10:18 AM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#8
RE: I cannot set up a development environment

....Yea. That'd do it. Tongue

Under areas in the editor, there's a startpos area. Just put that where you want to start.
(This post was last modified: 04-20-2011, 12:41 PM by MrBigzy.)
04-20-2011, 12:40 PM
Find




Users browsing this thread: 1 Guest(s)