Frictional Games Forum (read-only)
I cannot set up a development environment - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: I cannot set up a development environment (/thread-7503.html)



I cannot set up a development environment - phern - 04-19-2011

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

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.


RE: I cannot set up a development environment - nkmol - 04-19-2011

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.


RE: I cannot set up a development environment - phern - 04-19-2011

(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.


RE: I cannot set up a development environment - MrBigzy - 04-19-2011

Did you put what map to load?


RE: I cannot set up a development environment - phern - 04-19-2011

(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".


RE: I cannot set up a development environment - MrBigzy - 04-20-2011

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.


RE: I cannot set up a development environment - phern - 04-20-2011

(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?


RE: I cannot set up a development environment - MrBigzy - 04-20-2011

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

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