Frictional Games Forum (read-only)

Full Version: I cannot set up a development environment
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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:
<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.
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)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.
Did you put what map to load?
(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".
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.
(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?
....Yea. That'd do it. Tongue

Under areas in the editor, there's a startpos area. Just put that where you want to start.