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
Invalid filepointer returned!
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#1
Invalid filepointer returned!

A weird crash when I try to load up my map: The hps file is unaltered and the map appears to load but then when it's supposedly done it crashes and gives me this...

ERROR: Unable to open config file 'C:/Program Files (x86)/Steam/steamapps/common/SOMA/mods/death_arena/death_arena/config/game.cfg'! Invalid filepointer returned!

|--Memory Manager Report-------------------------------|
|
| No memory leaks detected. Memory left: 0
|
|------------------------------------------------------|

I downloaded the public beta, verified caches and deleted caches from my map, any ideas?
10-03-2015, 09:10 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: Invalid filepointer returned!

(10-03-2015, 09:10 AM)TheDoctorPoo Wrote: ERROR: Unable to open config file 'C:/Program Files (x86)/Steam/steamapps/common/SOMA/mods/death_arena/death_arena/config/game.cfg'! Invalid filepointer returned!

Best guess is that you've got a referencing error. See how it's looking for it in /death_arena/death_arena/ ? The problem is probably in your main_init.cfg.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 10-03-2015, 09:14 AM by Romulator.)
10-03-2015, 09:13 AM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#3
RE: Invalid filepointer returned!

(10-03-2015, 09:13 AM)Romulator Wrote:
(10-03-2015, 09:10 AM)TheDoctorPoo Wrote: ERROR: Unable to open config file 'C:/Program Files (x86)/Steam/steamapps/common/SOMA/mods/death_arena/death_arena/config/game.cfg'! Invalid filepointer returned!

Best guess is that you've got a referencing error. See how it's looking for it in /death_arena/death_arena/ ? The problem is probably in your main_init.cfg.

Here's the init file:
Spoiler below!
<ConfigFiles
Resources = "resources.cfg"
Materials = "materials.cfg"
SoundData = "sounddata.cfg"

Game = "config/game.cfg"

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

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

Modules = "config/Modules.cfg"
EntityTypes = "config/EntityTypes.cfg"
Effects = "config/Effects.cfg"
/>

<Directories
MainSaveFolder = "Death Arena"

BaseLanguageFolder = "config/"
GameLanguageFolder = "config/"
/>

<Variables
GameName = "Death Arena"
/>

<MainMenu
File="main_menu.hpm"
Folder="maps/"
Pos=""
/>

<StartMap
File = "reception.hpm"
Folder = "mods/death_arena/maps/"
Pos = "welcome"
/>

And the hpl log:
Spoiler below!
Version 1.03
-------- THE HPL ENGINE LOG ------------
Creating Engine Modules
--------------------------------------------------------
Creating job manager with 3 threads and 1024 jobs
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
Creating script module
Creating lipsync module
--------------------------------------------------------

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

Initializing Graphics Module
--------------------------------------------------------
Init lowlevel graphics: 1440x900 bpp:32 rr: 60 fs:0 ms:0 driver: 0 cap:'Death Arena Loading...' posSad-1x-1)
Available drivers:
(0) - 'windows'
(1) - 'dummy'
Creating window: (-1,-1) 1440 x 900 - 32 bpp flags: 3
Setting display mode: 1440 x 900 - 32 bpp 60 hz
Init Glew...OK
Setting up OpenGL
Vendor: ATI Technologies Inc.
Renderer: AMD Radeon R7 Series + R7 240 Dual Graphics
Version: 4.4.12967 Compatibility Profile Context 14.201.1001.1004
Max texture image units: 32
Max texture coord units: 16
Max texture buffer size: 268435456
Max texture array slices: 2048
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
Texture compression 3DC: 1
Texture sRGB: 1
Geometry Instancing: 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.40
ShaderModel 2: 1
ShaderModel 3: 1
ShaderModel 4: 1
Max vertex uniforms: 16384
Max fragment uniforms: 1024
OGL ATIFragmentShader: 1
Tesselation: 1
MultiBindTex: 1
Initializing DevIL
Vendor String: Abysmal Software
Version String: Developer's Image Library (DevIL) 1.7.8
Version Number: 178
Adding engine materials
Adding engine post effects
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing FMOD.
--------------------------------------------------------

Initializing Game Module
--------------------------------------------------------
Adding engine updates
--------------------------------------------------------

User Initialization
--------------------------------------------------------
--------------------------------------------------------

Game Running
--------------------------------------------------------
Loading keybinds - file version:0
New default keybindings detected - trashing old keybindings.
Loading keybinds - file version:5
Failed parsing of XML document C:/Program Files (x86)/Steam/steamapps/common/SOMA/maps/main_menu/main_menu.voice: file not found
Failed parsing of XML document C:/Program Files (x86)/Steam/steamapps/common/SOMA/maps/main_menu/main_menu.lang: file not found
WARNING: Could not find player start node 'welcome'
ERROR: StartPos 'welcome' does not exist!
ERROR: Skipping map specific voice file 'maps/main_menu.voice', not found!
ERROR: Could not get group with path 'frontend/' in project 'special_fx'. Reason: An invalid parameter was passed to this function.
ERROR: Could not get group with path 'frontend/' in project 'special_fx'. Reason: An invalid parameter was passed to this function.
-------------- SAVE THREAD INIT -----------------
-------------- SAVE THREAD COMPLETED -----------------
ERROR: Could not open binary file 'C:/Program Files (x86)/Steam/steamapps/common/SOMA/mods/death_arena/maps/reception/reception.map_cache'
Map script loading started
Map script loading completed
ERROR: Failed to stream map 'reception'
ERROR: Failed to load map cache when streaming C:/Program Files (x86)/Steam/steamapps/common/SOMA/mods/death_arena/maps/reception/reception.hpm -------- Loading map 'reception.hpm' ---------
Terrain: 0 ms
ERROR: Could not open binary file 'C:/Program Files (x86)/Steam/steamapps/common/SOMA/mods/death_arena/maps/reception/reception.map_cache'
ERROR: Could not map cache file 'C:/Program Files (x86)/Steam/steamapps/common/SOMA/mods/death_arena/maps/reception/reception.hpm'.
MeshEntity Loading: 36 ms
Primitive Loading: 6 ms
Decal Loading: 0 ms
Object Combining: 0 ms
Compilation: 0 ms
Combining: 12 ms
Sorting: 0 ms
Meshes: 10 ms
Bodies: 2 ms
Merging Vertex Buffers: 4 ms
Static Objects: 58 ms
Detail Meshes: 0 ms
ERROR: Texture 'C:/Program Files (x86)/Steam/steamapps/common/SOMA/particles/dust/materials/dust_light_tiny.dds' for material 'particles/dust/materials/dust_light_tiny.mat' lacks MipMaps
Entities: 89 ms
Areas: 0 ms
Billboard: 0 ms
ExposureArea: 0 ms
FogArea: 0 ms
Light: 1 ms
LightMask: 0 ms
ParticleSystem: 0 ms
Sound: 0 ms
LensFlare: 0 ms
Entities: 90 ms

(This post was last modified: 10-03-2015, 10:04 AM by A.M Team.)
10-03-2015, 09:29 AM
Find
Oscar House Offline
Senior Member

Posts: 302
Threads: 3
Joined: Nov 2010
Reputation: 9
#4
RE: Invalid filepointer returned!

Can you also show what your folder structure looks like?

[Image: 2exldzm.png]
(This post was last modified: 10-03-2015, 03:17 PM by Oscar House.)
10-03-2015, 03:12 PM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#5
RE: Invalid filepointer returned!

Nevermind, I found out that the map's corrupted, thankfully I only did a ROOM! Blush
(This post was last modified: 10-03-2015, 03:35 PM by A.M Team.)
10-03-2015, 03:34 PM
Find




Users browsing this thread: 2 Guest(s)