Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cant launch my mod
Nocturnal Offline
Member

Posts: 96
Threads: 14
Joined: Dec 2014
Reputation: 0
#21
RE: Cant launch my mod

Ok so I got a lot less errors now so it looks like this now:

Version 1.31

-------- THE HPL ENGINE LOG ------------
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: 1280x720 disp:0 bpp:32 fs:0 ms:0 gpufmt:2 cap:'Desperation Loading...' pos:(-1x-1)
Setting video mode: 1280 x 720 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: NVIDIA Corporation
Renderer: GeForce GTX 550 Ti/PCIe/SSE2
Version: 4.5.0 NVIDIA 358.91
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.50 NVIDIA
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.7.8
Version Number: 178
Adding engine post effects
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
Available OpenAL devices:
0. Generic Software on Speakers (Logitech G930 Headset)(OpenAL default)
1. Generic Software on Realtek Digital Output (Realtek High Definition Audio)
Trying to open device 'Generic Software on Speakers (Logitech G930 Headset)'... 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
--------------------------------------------------------
Failed parsing of XML document Desperation/config/resources.cfg in line 1, column 1:
ERROR: Couldn't load XML file 'Desperation/config/resources.cfg'!
ERROR: Couldn't create font 'font_default.fnt'
ERROR: Couldn't texture 'colorconv_sepia.tga'
(This post was last modified: 07-27-2016, 10:12 PM by Nocturnal.)
07-27-2016, 10:12 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#22
RE: Cant launch my mod

Well there you go, it tells you there's an issue with the resources.cfg file. Post it?
Might simply be the formatting of the file that is incorrect though.

07-27-2016, 11:16 PM
Find
Nocturnal Offline
Member

Posts: 96
Threads: 14
Joined: Dec 2014
Reputation: 0
#23
RE: Cant launch my mod

(07-27-2016, 11:16 PM)Mudbill Wrote: Well there you go, it tells you there's an issue with the resources.cfg file. Post it?
Might simply be the formatting of the file that is incorrect though.

Here we go, getting this troubleshooted one step at a time!

<Resources>
<Directory Path="/Desperation" AddSubDirs="true" />
<Directory Path="/commentary" AddSubDirs="true" />
<Directory Path="/Desperation_entities" AddSubDirs="true" />
<Directory Path="/Desperation_sounds" AddSubDirs="true" />
<Directory Path="/Depseration_static_objects" AddSubDirs="true" />
<Directory Path="/Desperation_textures" AddSubDirs="true" />
<Directory Path="/_temp" AddSubDirs="true" />
<Directory Path="/fonts" AddSubDirs="false" />
<Directory Path="/maps" AddSubDirs="true" />
<Directory Path="/models" AddSubDirs="true" />
<Directory Path="/gui" AddSubDirs="true" />
<Directory Path="/main_menu" AddSubDirs="true" />
<Directory Path="/lights" AddSubDirs="true" />
<Directory Path="/billboards" AddSubDirs="true" />
<Directory Path="/graphics" AddSubDirs="true" />
<Directory Path="/viewer" AddSubDirs="true" />
<Directory Path="/particles" AddSubDirs="true" />
<Directory Path="/music" AddSubDirs="true" />
<Directory Path="/flashbacks" AddSubDirs="true" />
<Directory Path="/shaders" AddSubDirs="true" />
</Resources>
08-01-2016, 08:43 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#24
RE: Cant launch my mod

Quote:<Directory Path="/Desperation_entities" AddSubDirs="true" />
<Directory Path="/Desperation_sounds" AddSubDirs="true" />
<Directory Path="/Depseration_static_objects" AddSubDirs="true" />
<Directory Path="/Desperation_textures" AddSubDirs="true" />
You don't have to replace the original entries, just add yours.

08-02-2016, 02:56 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#25
RE: Cant launch my mod

Yes, yes, you shouldn't edit the original contents of the file because if you do, the game will lose access to those folders. It still needs to be able to access the default entities and static objects. If you have your own folders with custom entities and static objects, you must instead ADD those above the original folders. This way the game will search for your files first before the original files. If it cannot find it within your mod, it will search the original afterwards (in which case it's most likely a default file).

Exact same issue is presented in this thread:
https://www.frictionalgames.com/forum/th...age-2.html

(This post was last modified: 08-02-2016, 08:52 AM by Mudbill.)
08-02-2016, 08:52 AM
Find
Nocturnal Offline
Member

Posts: 96
Threads: 14
Joined: Dec 2014
Reputation: 0
#26
RE: Cant launch my mod

I dont know if it wont say anything other than this now, but it keeps saying this no matter what:

Version 1.31

-------- THE HPL ENGINE LOG ------------
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: 1280x720 disp:0 bpp:32 fs:0 ms:0 gpufmt:2 cap:'Desperation Loading...' posSad-1x-1)
Setting video mode: 1280 x 720 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: NVIDIA Corporation
Renderer: GeForce GTX 550 Ti/PCIe/SSE2
Version: 4.5.0 NVIDIA 358.91
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.50 NVIDIA
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.7.8
Version Number: 178
Adding engine post effects
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
Available OpenAL devices:
0. Generic Software on Speakers (Logitech G930 Headset)(OpenAL default)
1. Generic Software on Realtek Digital Output (Realtek High Definition Audio)
2. Generic Software on Speakers (Realtek High Definition Audio)
Trying to open device 'Generic Software on Speakers (Logitech G930 Headset)'... 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
--------------------------------------------------------
Failed parsing of XML document Desperation/config/resources.cfg in line 1, column 1:
ERROR: Couldn't load XML file 'Desperation/config/resources.cfg'!
ERROR: Couldn't create font 'font_default.fnt'
ERROR: Couldn't texture 'colorconv_sepia.tga'
08-03-2016, 08:24 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#27
RE: Cant launch my mod

There's still something wrong with your resources.cfg then. I'm assuming it's in your config folder?

Perhaps you haven't got a closing ">" somewhere, or you have a misplaced quotation mark somewhere? If you have Notepad++, open up your resources.cfg in that and set the Encoding to XML. If there's an error with your formatting, the colours will help you point it out. Otherwise, it's still to do with the resources you are loading.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
08-03-2016, 09:17 PM
Find
Nocturnal Offline
Member

Posts: 96
Threads: 14
Joined: Dec 2014
Reputation: 0
#28
RE: Cant launch my mod

(08-03-2016, 09:17 PM)Romulator Wrote: There's still something wrong with your resources.cfg then. I'm assuming it's in your config folder?

Perhaps you haven't got a closing ">" somewhere, or you have a misplaced quotation mark somewhere? If you have Notepad++, open up your resources.cfg in that and set the Encoding to XML. If there's an error with your formatting, the colours will help you point it out. Otherwise, it's still to do with the resources you are loading.

I cant find any errors, no missing anything.
08-04-2016, 07:17 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#29
RE: Cant launch my mod

Could you post that file regardless? It's hard to prove without anything to look to.

08-04-2016, 11:30 PM
Find
Nocturnal Offline
Member

Posts: 96
Threads: 14
Joined: Dec 2014
Reputation: 0
#30
RE: Cant launch my mod

(08-04-2016, 11:30 PM)Mudbill Wrote: Could you post that file regardless? It's hard to prove without anything to look to.

<Resources>
<Directory Path="/Desperation_entities" AddSubDirs="true"/>
<Directory Path="/Desperation_sounds" AddSubDirs="true"/>
<Directory Path="/Desperation_static_objects" AddSubDirs="true"/>
<Directory Path="/Desperation_textures" AddSubDirs="true"/>
<Directory Path="/commentary" AddSubDirs="true"/>
<Directory Path="/entities" AddSubDirs="true"/>
<Directory Path="/sounds" AddSubDirs="true"/>
<Directory Path="/static_objects" AddSubDirs="true"/>
<Directory Path="/textures" AddSubDirs="true"/>
<Directory Path="/_temp" AddSubDirs="true"/>
<Directory Path="/fonts" AddSubDirs="false"/>
<Directory Path="/maps" AddSubDirs="true"/>
<Directory Path="/models" AddSubDirs="true"/>
<Directory Path="/gui" AddSubDirs="true"/>
<Directory Path="/main_menu" AddSubDirs="true"/>
<Directory Path="/lights" AddSubDirs="true"/>
<Directory Path="/billboards" AddSubDirs="true"/>
<Directory Path="/graphics" AddSubDirs="true"/>
<Directory Path="/viewer" AddSubDirs="true"/>
<Directory Path="/particles" AddSubDirs="true"/>
<Directory Path="/music" AddSubDirs="true"/>
<Directory Path="/flashbacks" AddSubDirs="true"/>
<Directory Path="/shaders" AddSubDirs="true"/>
</Resources>
08-06-2016, 04:34 AM
Find




Users browsing this thread: 2 Guest(s)