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
Configuration Files Help Map Error? (HPL LOG)
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#1
Map Error? (HPL LOG)

Yet again, the start up fails. It seems that the game menu is fine but then when I enter a 'new game' it loads up normally, then when its done it crashes.

HPL LOG:
PHP Code: (Select All)
Version 1.20 

-------- 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 graphics1280x800 disp:0 bpp:32 fs:0 ms:0 gpufmt:2 cap:'Doctor Poo: Neo Loading...' pos:(-1x-1)
 
Setting video mode1280 x 800 32 bpp
 Init Glew
...OK
 Setting up OpenGL
  Vendor
NVIDIA Corporation
  Renderer
GeForce 8800 GT/PCIe/SSE2
  Version
3.3.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
-stencil1
  Texture float
1
  GLSL Version
3.30 NVIDIA via Cg compiler
  ShaderModel 2
1
  ShaderModel 3
1
  ShaderModel 4
1
  OGL ATIFragmentShader
0
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
  ***** WARNING *****
  Expecting IL version 178 and found version 168
  Cube Maps may not load correctly in this version and will not render correctly in game
  Please use the included version of libIL and not a custom build if you have issues
  ***** WARNING *****
 Adding engine post effects
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
 Initializing OpenAL
  Available OpenAL devices:
   0. Generic Software on Speakers (High Definition Audio Device)(OpenAL default)
   1. Generic Software on Digital Audio (S/PDIF) (High Definition Audio Device)
   2. Speakers (High Definition Audio Device)
   3. Digital Audio (S/PDIF) (High Definition Audio Device)
  Trying to open device '
Generic Software on Speakers (High Definition Audio Device)'... 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: Could not find language file entry '
Continue'
--------------------------------------------------------

Game Running
--------------------------------------------------------
 -------- Loading map '
dp_menu_bg_dp.map' ---------
ERROR: Could not open binary file '
C:/Program Files/Amnesia The Dark Descent/redist/dp_neo/main_menu/dp_menu_bg_dp.map_cache'
ERROR: Could not map cache file '
C:/Program Files/Amnesia The Dark Descent/redist/dp_neo/main_menu/dp_menu_bg_dp.map'.    MeshEntity Loading: 1410 ms
    Primitive Loading: 0 ms
    Decal Loading: 0 ms
    Object Combining: 0 ms
    Compilation: 2 ms
    Combining: 496 ms
     Sorting: 248 ms
     Meshes: 3 ms
     Bodies: 245 ms
  Static Objects: 1909 ms
  Entities: 2395 ms
  Compilation: 0 ms
  Total: 4320 ms
  Meshes created: 8
  Bodies created: 2
 -------- Loading complete ---------
ERROR: Sampler aGoboMap does not exist, could not bind it to unit 5
 Setting profile: '
Aidan' Path: 'C:\Users\AM\Documents/Amnesia/DPNeo/Aidan/'
ERROR: Couldn'
t build script 'C:/Program Files/Amnesia - The Dark Descent/redist/dp_neo/maps/global.hps'!
------- 
SCRIPT OUTPUT BEGIN --------------------------
main (21) : ERR  Expected '('
------- SCRIPT OUTPUT END ----------------------------
ERROR: Global script 'dp_neo/maps/global.hps' could not be created!
 -------- 
Loading map 'setteler_hos.map' ---------
ERRORCould not open binary file 'C:/Program Files/Amnesia - The Dark Descent/redist/dp_neo/maps/setteler_hos.map_cache'
ERRORCould not map cache file 'C:/Program Files/Amnesia - The Dark Descent/redist/dp_neo/maps/setteler_hos.map'.ERRORCouldn't find 0-face '../../../../_pos_x', for cubemap '../../../../' in path: '../../../../'
    MeshEntity Loading: 5650 ms
    Primitive Loading: 137 ms
    Decal Loading: 0 ms
    Object Combining: 0 ms
    Compilation: 27 ms
    Combining: 1832 ms
     Sorting: 303 ms
     Meshes: 78 ms
     Bodies: 1451 ms
  Static Objects: 7649 ms
  Entities: 5439 ms
  Compilation: 22 ms
  Total: 13201 ms
  Meshes created: 63
  Bodies created: 52
 -------- Loading complete ---------
ERROR: Couldn'
t build script 'C:/Program Files/Amnesia - The Dark Descent/redist/dp_neo/maps/inventory.hps'!
------- 
SCRIPT OUTPUT BEGIN --------------------------
main (11) : ERR  Unexpected token '<unrecognized token>'
------- SCRIPT OUTPUT END ----------------------------
ERRORInventory script 'dp_neo/maps/inventory.hps' not found

I think it has something to do with global and inventory.hps files. Can anyone help me explain the situation and if you can help me fix the problem. This has been the 3rd time my config files have stopped working and I'm getting pretty sick of it. Angry
01-02-2015, 12:24 AM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#2
RE: Map Error? (HPL LOG)

It trys toload inventory map...
Thats not a map...
Otherwise, you have something wrong coded into your inventory .hps.
Show us your hps please.
01-02-2015, 12:49 AM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#3
RE: Map Error? (HPL LOG)

(01-02-2015, 12:49 AM)DnALANGE Wrote: Show us your hps please.

Now you see, can you explain to me what global and inventory .hps are?
01-02-2015, 12:54 AM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#4
RE: Map Error? (HPL LOG)

Inventory.hps is a seperate file for combining items.
Global.hps is for global script, witch means a script that can work in EVERY MAP.
For example, a door in lvl 3 is stuck, you can add a scriptfunction like IF HAS ITEM,the door in lvl can be unlocked. And you can put that script called ...addglobalvar getglobalvar setglobalvar... like normal vars except this needs to be added as well in your global.hps in lvl 1 2 or 3.
Check the main games global.hps to see how it looks there.
(This post was last modified: 01-02-2015, 01:28 AM by DnALANGE.)
01-02-2015, 01:26 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#5
RE: Map Error? (HPL LOG)

Looks like an error in your scripting, like Lange said. Go to the folder where you place your maps and you should find these files with an .hps extension. Open it using NotePad and then copy-paste the contents here.

Oh, and if you find a map_cache file inside your map folder, delete it.

"Veni, vidi, vici."
"I came, I saw, I conquered."
01-02-2015, 05:27 AM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#6
RE: Map Error? (HPL LOG)

(01-02-2015, 05:27 AM)Julius Caesar Wrote: Looks like an error in your scripting, like Lange said. Go to the folder where you place your maps and you should find these files with an .hps extension. Open it using NotePad and then copy-paste the contents here.

Oh, and if you find a map_cache file inside your map folder, delete it.

Well if you want to know, it seems to only affect ONE level 'setteler_hos.map'. If you must know there are TWO levels with thalers in them but only this map is affected.

Heres my GLOBAL hps:
PHP Code: (Select All)
////////////////////////////
// Run at the start of the game.
void OnGameStart()
{
    
//The current random chatter for levell 21 and 26
        
BlockHint("SanityAdd");
    
BlockHint("LanternNoItem");
    
BlockHint("LanternNoOil");
    
BlockHint("LeanHint");
    
BlockHint("PushHint");
    
BlockHint("ThrowHint");
    
BlockHint("DefaultDeath");
    
BlockHint("HintHint");
    
BlockHint("EntityWheel");
    
BlockHint("EntityGrab01");
    
BlockHint("EntityGrab02");
    
BlockHint("EntityPush");
    
BlockHint("EntitySlide");
    
BlockHint("EntitySwingDoor");
    
BlockHint("EntityLever");
    
BlockHint("DarknessDecrease");
    
BlockHint("SanityHit");
    
BlockHint("SanityLow");
    
BlockHint("PickSanityPotion");
    
BlockHint("PickCoin");
    
BlockHint("PickHealthPotion");
    
BlockHint("PickOil");
    
BlockHint("PickLantern");
    
BlockHint("PickTinderbox");
    
BlockHint("EnemySeen");
    
BlockHint("StickyArea");
    
BlockHint("HideHint");
    
BlockHint("EnemyTip01");
    
BlockHint("EnemyTip02");
    
BlockHint("CombineHint");
    
BlockHint("RunHint");
    
//BlockHint("QuestAdded");
    
BlockHint("RecentlyReadText");
    
SetGlobalVarInt("Thalers",0);     

(This post was last modified: 01-02-2015, 04:26 PM by A.M Team.)
01-02-2015, 03:36 PM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#7
RE: Map Error? (HPL LOG)

Give us the hps of the map that is currently having problems.

In other words, give us your setteler_hos.hps please.

"Veni, vidi, vici."
"I came, I saw, I conquered."
01-03-2015, 05:12 AM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#8
RE: Map Error? (HPL LOG)

(01-03-2015, 05:12 AM)Julius Caesar Wrote: Give us the hps of the map that is currently having problems.

In other words, give us your setteler_hos.hps please.

PHP Code: (Select All)
void OnStart ()
{
    
SetSanityDrainDisabled(true);
}

void OnEnter ()
{
    
PlayMusic("settelers_hostel.ogg"true0.521true);
}

void OnLeave ()
{
    
StopMusic(21);

01-03-2015, 11:15 PM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#9
RE: Map Error? (HPL LOG)

PHP Code: (Select All)
PlayMusic("settelers_hostel.ogg"true0.521true); 

That's the problem. You forgot an [i]f[/i[ at the third argument.

The snippet below is the correct function.
PHP Code: (Select All)
PlayMusic("settelers_hostel.ogg"true0.5f21true); 

"Veni, vidi, vici."
"I came, I saw, I conquered."
01-04-2015, 07:33 AM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#10
RE: Map Error? (HPL LOG)

Yes but that shouldn't crash the game.
Try this; Move your script files away from your maps, including inventory.hps and global.hps.
Then remove the skybox from your initial level, (the one map that starts when you hit Start Game.)
Cause I read some cubemap/skybox problem in your log. Then try your game again.

If it works fine then, start including what you removed, scripts, skybox, inventory.hps, etc.
And see which one crashes the game.
In case there's no visible error, I would reinstall the game on another directory, apply the updates and then continue working there.
Remember when you reinstall you need both game and editor updates.

01-04-2015, 05:13 PM
Find




Users browsing this thread: 1 Guest(s)