Frictional Games Forum (read-only)
Full conversion not working - 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: Full conversion not working (/thread-11902.html)

Pages: 1 2


RE: Full conversion not working - Your Computer - 12-18-2011

Okay, that explains everything. You missed out or misunderstood crucial steps of my tutorial.

Try this for your main_init.cfg file:

Code:
<ConfigFiles
Resources = "Medusas Den/md_config/resources.cfg"
Materials = "materials.cfg"

Game = "Medusas Den/md_config/game.cfg"
Menu = "Medusas Den/md_config/menu.cfg"
PreMenu = "Medusas Den/md_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 = "Medusas_Den"

BaseLanguageFolder = "Medusas Den/md_config/"
GameLanguageFolder = "Medusas Den/md_config/lang/"

CustomStoryPath = "custom_stories"
/>

<Variables
GameName = "Medusas Den - An Amnesia: The Dark Descent Mod"
/>

<StartMap
File = "00_intro.map"
Folder = "Medusas Den/maps/"
Pos = "PlayerStartArea_1"
/>



RE: Full conversion not working - SilentStriker - 12-19-2011

(12-18-2011, 10:41 PM)Your Computer Wrote: Okay, that explains everything. You missed out or misunderstood crucial steps of my tutorial.

Try this for your main_init.cfg file:

Code:
<ConfigFiles
Resources = "Medusas Den/md_config/resources.cfg"
Materials = "materials.cfg"

Game = "Medusas Den/md_config/game.cfg"
Menu = "Medusas Den/md_config/menu.cfg"
PreMenu = "Medusas Den/md_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 = "Medusas_Den"

BaseLanguageFolder = "Medusas Den/md_config/"
GameLanguageFolder = "Medusas Den/md_config/lang/"

CustomStoryPath = "custom_stories"
/>

<Variables
GameName = "Medusas Den - An Amnesia: The Dark Descent Mod"
/>

<StartMap
File = "00_intro.map"
Folder = "Medusas Den/maps/"
Pos = "PlayerStartArea_1"
/>
Thanks man i guess i missunderstood it Smile but now the problem is this..

hpl.log

Spoiler below!
Version 1.20 - s0-539
-------- THE HPL ENGINE LOG ------------
Engine build ID 20101021192547

Creating Engine Modules
--------------------------------------------------------
Creating graphics module
Creating system module
Creating resource module
Creating input module
Creating sound module
Creating physics module
Creating ai module
Creating gui module
Creating generate module
Creating haptic module
Creating scene module
--------------------------------------------------------

Initializing Resources Module
--------------------------------------------------------
Creating loader handlers
Creating resource managers
Adding loaders to handlers
--------------------------------------------------------

Initializing Graphics Module
--------------------------------------------------------
Init lowlevel graphics: 1024x768 bpp:32 fs:1 ms:0 gpufmt:2 cap:'Medusas Den - An Amnesia: The Dark Descent Mod Loading...' posSad-1x-1)
Setting video mode: 1024 x 768 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: NVIDIA Corporation
Renderer: GeForce GTX 560 Ti/PCI/SSE2
Version: 4.2.0
Max texture image units: 32
Max texture coord units: 8
Max user clip planes: 8
Two sided stencil: 1
Vertex Buffer Object: 1
Anisotropic filtering: 1
Max Anisotropic degree: 16
Multisampling: 1
Texture compression: 1
Texture compression S3TC: 1
Auto generate MipMaps: 1
Render to texture: 1
Max draw buffers: 8
Max color render targets: 8
Packed depth-stencil: 1
Texture float: 1
GLSL Version: 4.20 NVIDIA via Cg compiler
ShaderModel 2: 1
ShaderModel 3: 1
ShaderModel 4: 1
OGL ATIFragmentShader: 0
Setting up G-Bugger: type: 0 texturenum: 3
Adding engine materials
Initializing DevIL
Vendor String: Abysmal Software
Version String: Developer's Image Library (DevIL) 1.6.8pre Aug 12 2006
Version Number: 168
Adding engine post effects
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
Available OpenAL devices:
0. Generic Software on Speakers (2- Realtek High Definition Audio)(OpenAL default)
1. Generic Software on Speakers (2- Logitech G35 Headset)
Trying to open device 'Generic Software on Speakers (2- Realtek High Definition Audio)'... Success!
Number of mono sources: 32
Streaming setup: 4 Buffers x 262144 bytes each
--------------------------------------------------------

Initializing Game Module
--------------------------------------------------------
Adding engine updates
Initializing script functions
--------------------------------------------------------

User Initialization
--------------------------------------------------------
ERROR: Couldn't load image 'hud_crosshair_default.tga'
ERROR: Could not load image 'hud_crosshair_default.tga'!
ERROR: Couldn't load image 'hud_crosshair_active.tga'
ERROR: Could not load image 'hud_crosshair_active.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_grab.tga'
ERROR: Could not load image 'hud_crosshair_over_grab.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_push.tga'
ERROR: Could not load image 'hud_crosshair_over_push.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_ignite.tga'
ERROR: Could not load image 'hud_crosshair_over_ignite.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_pick.tga'
ERROR: Could not load image 'hud_crosshair_over_pick.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_leveldoor.tga'
ERROR: Could not load image 'hud_crosshair_over_leveldoor.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_ladder.tga'
ERROR: Could not load image 'hud_crosshair_over_ladder.tga'!
ERROR: Couldn't load image 'hud_crosshair_default.tga'
ERROR: Could not load image 'hud_crosshair_default.tga'!
ERROR: Couldn't load image 'hud_crosshair_active.tga'
ERROR: Could not load image 'hud_crosshair_active.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_grab.tga'
ERROR: Could not load image 'hud_crosshair_over_grab.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_push.tga'
ERROR: Could not load image 'hud_crosshair_over_push.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_ignite.tga'
ERROR: Could not load image 'hud_crosshair_over_ignite.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_pick.tga'
ERROR: Could not load image 'hud_crosshair_over_pick.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_leveldoor.tga'
ERROR: Could not load image 'hud_crosshair_over_leveldoor.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_ladder.tga'
ERROR: Could not load image 'hud_crosshair_over_ladder.tga'!
ERROR: Couldn't load image 'hud_crosshair_default.tga'
ERROR: Could not load image 'hud_crosshair_default.tga'!
ERROR: Couldn't load image 'hud_crosshair_active.tga'
ERROR: Could not load image 'hud_crosshair_active.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_grab.tga'
ERROR: Could not load image 'hud_crosshair_over_grab.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_push.tga'
ERROR: Could not load image 'hud_crosshair_over_push.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_ignite.tga'
ERROR: Could not load image 'hud_crosshair_over_ignite.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_pick.tga'
ERROR: Could not load image 'hud_crosshair_over_pick.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_leveldoor.tga'
ERROR: Could not load image 'hud_crosshair_over_leveldoor.tga'!
ERROR: Couldn't load image 'hud_crosshair_over_ladder.tga'
ERROR: Could not load image 'hud_crosshair_over_ladder.tga'!
ERROR: Couldn't load image 'hud_crosshair_default.tga'
ERROR: Could not load image 'hud_crosshair_default.tga'!
ERROR: Couldn't load image 'hud_crosshair_active.tga'
ERROR: Could not load image 'hud_crosshair_active.tga'!
ERROR: Couldn't load image 'hud_crosshair_default.tga'
ERROR: Could not load image 'hud_crosshair_default.tga'!
ERROR: Couldn't load image 'hud_crosshair_active.tga'
ERROR: Could not load image 'hud_crosshair_active.tga'!
ERROR: Couldn't load image 'hud_crosshair_default.tga'
ERROR: Could not load image 'hud_crosshair_default.tga'!
ERROR: Couldn't load image 'hud_crosshair_active.tga'
ERROR: Could not load image 'hud_crosshair_active.tga'!
ERROR: Couldn't load image 'hud_crosshair_default.tga'
ERROR: Could not load image 'hud_crosshair_default.tga'!
ERROR: Couldn't load image 'hud_crosshair_active.tga'
ERROR: Could not load image 'hud_crosshair_active.tga'!
ERROR: Couldn't load image 'hud_crosshair_default.tga'
ERROR: Could not load image 'hud_crosshair_default.tga'!
ERROR: Couldn't load image 'hud_crosshair_active.tga'
ERROR: Could not load image 'hud_crosshair_active.tga'!
ERROR: Couldn't load image 'hud_crosshair_default.tga'
ERROR: Could not load image 'hud_crosshair_default.tga'!
ERROR: Couldn't load image 'hud_crosshair_active.tga'
ERROR: Could not load image 'hud_crosshair_active.tga'!
ERROR: Couldn't load image 'hud_crosshair_default.tga'
ERROR: Could not load image 'hud_crosshair_default.tga'!
ERROR: Couldn't load image 'hud_crosshair_active.tga'
ERROR: Could not load image 'hud_crosshair_active.tga'!
ERROR: Couldn't texture 'hud_hurt_noise00.dds'
ERROR: Could not load texture 'hud_hurt_noise00.dds'!
ERROR: Couldn't texture 'hud_hurt_noise01.dds'
ERROR: Could not load texture 'hud_hurt_noise01.dds'!
ERROR: Couldn't texture 'hud_hurt_noise02.dds'
ERROR: Could not load texture 'hud_hurt_noise02.dds'!
ERROR: Couldn't texture 'hud_hurt_noise03.dds'
ERROR: Could not load texture 'hud_hurt_noise03.dds'!
ERROR: Couldn't texture 'hud_hurt_noise04.dds'
ERROR: Could not load texture 'hud_hurt_noise04.dds'!
ERROR: Couldn't texture 'hud_hurt_noise05.dds'
ERROR: Could not load texture 'hud_hurt_noise05.dds'!
ERROR: Couldn't texture 'hud_hurt_noise06.dds'
ERROR: Could not load texture 'hud_hurt_noise06.dds'!
ERROR: Couldn't texture 'hud_hurt_noise07.dds'
ERROR: Could not load texture 'hud_hurt_noise07.dds'!
ERROR: Couldn't load image 'insanity_bug01.tga'
ERROR: Could not load image 'insanity_bug01.tga'!
ERROR: Couldn't load image 'insanity_bug01.tga'
ERROR: Could not load image 'insanity_bug01.tga'!
ERROR: Couldn't load image 'insanity_bug01.tga'
ERROR: Could not load image 'insanity_bug01.tga'!
ERROR: Couldn't load image 'hud_quest_added.tga'
ERROR: Could not load image 'hud_quest_added.tga'!
Failed parsing of XML document Medusas Den/md_config/pre_menu.cfg in line 1, column 1:





RE: Full conversion not working - Your Computer - 12-19-2011

The image errors are due to your resources.cfg not listing the directory where those images can be found at. As for pre-menus, my tutorial is written to not make use of them and therefore includes directions to disable them. Pre-menus are unnecessary and just prolong the user from reaching the main menu. If your full conversion really cannot do without a pre-menu, then i would suggest that you point to the original pre_menu.cfg in your main_init.cfg until you learn how to make your own pre-menu. Study the original pre_menu.cfg and learn to write XML.


RE: Full conversion not working - SilentStriker - 12-19-2011

(12-19-2011, 02:49 PM)Your Computer Wrote: The image errors are due to your resources.cfg not listing the directory where those images can be found at. As for pre-menus, my tutorial is written to not make use of them and therefore includes directions to disable them. Pre-menus are unnecessary and just prolong the user from reaching the main menu. If your full conversion really cannot do without a pre-menu, then i would suggest that you point to the original pre_menu.cfg in your main_init.cfg until you learn how to make your own pre-menu. Study the original pre_menu.cfg and learn to write XML.
So how do i make it work if i don't want a pre_menu and just to get this started and working. right now i have no custom stuff so i just want the bat to start the game normally pretty much

Sorry for being such a pain .. x)



RE: Full conversion not working - Your Computer - 12-19-2011

Code:
PreMenu = "config/pre_menu.cfg"



RE: Full conversion not working - SilentStriker - 12-19-2011

(12-19-2011, 05:46 PM)Your Computer Wrote:
Code:
PreMenu = "config/pre_menu.cfg"
Fixed that but it's still crashing and this is starting to get annoying Undecided


RE: Full conversion not working - SilentStriker - 12-20-2011

I now got it working Smile i just needed to change the resources.cfg in main_init to the default Smile thanks for the help Your Computer! Smile