Frictional Games Forum (read-only)
Why does my bat file crash when I launch it - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Why does my bat file crash when I launch it (/thread-17028.html)

Pages: 1 2


Why does my bat file crash when I launch it - kartanonperuna - 07-16-2012

I click it screen blackens for a second then it crashes and says:


"A crash has occured.Please wait while gathering system information."


I dont see anything wrong in the custom main init either:



<ConfigFiles
Resources = "resources.cfg"
Materials = "materials.cfg"

Game = "config/game.cfg"
Menu = "config/menu.cfg"
PreMenu = "config/pre_menu.cfg"
Demo = "config/demo.cfg"

DefaultMainSettings = "config/default_main_settings.cfg"

DefaultMainSettingsLow = "launcher/default_main_settings_low.cfg"
DefaultMainSettingsMedium = "launcher/default_main_settings_medium.cfg"
DefaultMainSettingsHigh = "launcher/default_main_settings_high.cfg"


DefaultUserSettings = "config/default_user_settings.cfg"
DefaultUserKeys = "config/default_user_keys.cfg"

DefaultBaseLanguage = "base_english.lang"
DefaultGameLanguage = "english.lang"
/>

<Directories
MainSaveFolder = "Main"

BaseLanguageFolder = "config/"
GameLanguageFolder = "config/rise_ashes_lang/"

CustomStoryPath = "custom_stories"
/>

<Variables
GameName = "Amnesia - The Dark Descent -"
/>

<StartMap
File = "rfa.map"
Folder = "maps/rise_ashes/"
Pos = "bedstart"
/>


RE: Why does my bat file crash when I launch it - kartanonperuna - 07-17-2012

Um...anyone?


RE: Why does my bat file crash when I launch it - Your Computer - 07-17-2012

If there was anything wrong with the configuration or if the file path to the configuration was wrong, the game would tell you that it couldn't load the configuration. It is possible that the main menu map has something wrong with it, or that you set up your (default_)main_settings.cfg in a way that makes the game crash, or something "random."


RE: Why does my bat file crash when I launch it - kartanonperuna - 07-17-2012

Well I dont have custom main menu yet.


But heres the default main settings i have



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


RE: Why does my bat file crash when I launch it - Your Computer - 07-17-2012

What's the contents of the BAT file?


RE: Why does my bat file crash when I launch it - kartanonperuna - 07-17-2012

Amnesia.exe config/rise_ashes_main_init.cfg


RE: Why does my bat file crash when I launch it - Your Computer - 07-17-2012

You have a special case, then.


RE: Why does my bat file crash when I launch it - kartanonperuna - 07-17-2012

So...what can I do?


RE: Why does my bat file crash when I launch it - Your Computer - 07-18-2012

Not sure. Maybe the hpl.log can provide insight on the issue.


RE: Why does my bat file crash when I launch it - kartanonperuna - 07-18-2012

Whats that again?Sorry cant remember the stuff.Where can i see the hpl.log?