Frictional Games Forum (read-only)
[CONFIG] Changing The Main Logo in a Full Conversion - 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: [CONFIG] Changing The Main Logo in a Full Conversion (/thread-15767.html)



Changing The Main Logo in a Full Conversion - Linus Ågren - 06-01-2012

So I gave a shot at making a full conversion today, and I got everything to work fine, except changing the Amnesia Logo. It just remains invisible.

Here's what I have on the config file:
PHP Code:
MenuLogo "S&S.png" 

And I have the image in the folder:
PHP Code:
F:/Program Files (x86)/Steam/steamapps/common/amnesia the dark descent/lang/eng/graphics/main_menu/S&S.png 

I did try multiple other methods to fix this and have spent hours trying to fix it, but with no luck.
Any ideas?


RE: Changing The Main Logo in a Full Conversion - Your Computer - 06-01-2012

What does the log say?


RE: Changing The Main Logo in a Full Conversion - Linus Ågren - 06-01-2012

I'm not getting any crash or anything, it's just that there is no image.

Anyway, I'm not sure if it's the correct log, but here it is.
PHP Code:
Version 1.20 s26ADEE0-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 graphics1024x768 bpp:32 fs:0 ms:0 gpufmt:2 cap:'Sinners And Sanity - A Young Amnesian Loading...' pos:(-1x-1)
 
Setting video mode1024 x 768 32 bpp
 Init Glew
...OK
 Setting up OpenGL
  Vendor
ATI Technologies Inc.
  
RendererAMD Radeon HD 6800 Series
  Version
4.2.11631 Compatibility Profile Context
  Max texture image units
16
  Max texture coord units
16
  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
-stencil1
  Texture float
1
  GLSL Version
4.20
  ShaderModel 2
1
  ShaderModel 3
1
  ShaderModel 4
1
  OGL ATIFragmentShader
1
Setting up G
-Buggertype0 texturenum3
 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 Högtalare (VIA High Definition Audio)(OpenAL default)
   1. Generic Software on SPDIF Interface (TX1) (VIA High Definition Audio)
   2. Generic Software on HD Audio HDMI out (VIA High Definition Audio)
  Trying to open device '
Generic Software on Högtalare (VIA 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
--------------------------------------------------------
WARNING: No resources element found in '
sinners_and_sanity/config/lang/english.lang'
ERROR: Could not load XML document '
sounds/EnemySounds.dat'
ERROR: Couldn'
t load XML file 'sounds/EnemySounds.dat'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_active.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_over_push.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_over_pick.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_over_ladder.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_active.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_over_push.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_over_pick.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_over_ladder.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_active.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_over_push.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_over_pick.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_over_ladder.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_active.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_active.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_active.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_active.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_active.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_active.tga'!
ERRORCouldn'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'
ERRORCould not load image 'hud_crosshair_active.tga'!
ERRORCouldn't texture 'hud_hurt_noise00.dds'
ERROR: Could not load texture '
hud_hurt_noise00.dds'!
ERROR: Couldn'
t texture 'hud_hurt_noise01.dds'
ERRORCould not load texture 'hud_hurt_noise01.dds'!
ERRORCouldn't texture 'hud_hurt_noise02.dds'
ERROR: Could not load texture '
hud_hurt_noise02.dds'!
ERROR: Couldn'
t texture 'hud_hurt_noise03.dds'
ERRORCould not load texture 'hud_hurt_noise03.dds'!
ERRORCouldn't texture 'hud_hurt_noise04.dds'
ERROR: Could not load texture '
hud_hurt_noise04.dds'!
ERROR: Couldn'
t texture 'hud_hurt_noise05.dds'
ERRORCould not load texture 'hud_hurt_noise05.dds'!
ERRORCouldn't texture 'hud_hurt_noise06.dds'
ERROR: Could not load texture '
hud_hurt_noise06.dds'!
ERROR: Couldn'
t texture 'hud_hurt_noise07.dds'
ERRORCould not load texture 'hud_hurt_noise07.dds'!
ERRORCouldn't load image 'insanity_bug01.tga'
ERROR: Could not load image '
insanity_bug01.tga'!
ERROR: Couldn'
t load image 'insanity_bug01.tga'
ERRORCould not load image 'insanity_bug01.tga'!
ERRORCouldn't load image 'insanity_bug01.tga'
ERROR: Could not load image '
insanity_bug01.tga'!
ERROR: Couldn'
t load image 'hud_quest_added.tga'
ERRORCould not load image 'hud_quest_added.tga'!
Failed parsing of XML document sinners_and_sanity/config/pre_menu.cfg in line 1column 1



RE: Changing The Main Logo in a Full Conversion - Your Computer - 06-01-2012

Looks like your resources.cfg was constructed improperly.


RE: Changing The Main Logo in a Full Conversion - Linus Ågren - 06-01-2012

Hmm.. I just used the one from Amnesia. The FC seems to work fine dispite this though. I can start a new game and everything, and the models are working.


RE: Changing The Main Logo in a Full Conversion - Statyk - 06-01-2012

(06-01-2012, 10:37 PM)junkfood2121 Wrote: Hmm.. I just used the one from Amnesia. The FC seems to work fine dispite this though. I can start a new game and everything, and the models are working.
You need a FC resources.cfg to load everything in your full conversion folders.


RE: Changing The Main Logo in a Full Conversion - Linus Ågren - 06-02-2012

Hmm, alright, I made a resources file and linked it together with the FC, but I still cannot see any image. It should not be any problem, since it just places the .png file inside of the "\lang\eng\graphics\main_menu".

I have structed the files so that they are placed inside of amnesia's regular places (example entities/sinners_and_sanity) so the resources file has the line:
PHP Code:
<Directory Path="/entities" AddSubDirs="true" /> 

Doesn't the "AddSubDirs="true" mean that it includes all subdirs inside of that, making the sinners_and_sanity folder get included aswell?



The logo file is structed the exact same way.