Map Error? (HPL LOG) - A.M Team - 01-02-2015
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: 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 graphics: 1280x800 disp:0 bpp:32 fs:0 ms:0 gpufmt:2 cap:'Doctor Poo: Neo Loading...' pos:(-1x-1) Setting video mode: 1280 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-stencil: 1 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-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 ***** 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 (2, 1) : ERR : Expected '(' ------- SCRIPT OUTPUT END ---------------------------- ERROR: Global script 'dp_neo/maps/global.hps' could not be created! -------- Loading map 'setteler_hos.map' --------- ERROR: Could not open binary file 'C:/Program Files/Amnesia - The Dark Descent/redist/dp_neo/maps/setteler_hos.map_cache' ERROR: Could not map cache file 'C:/Program Files/Amnesia - The Dark Descent/redist/dp_neo/maps/setteler_hos.map'.ERROR: Couldn'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 (1, 1) : ERR : Unexpected token '<unrecognized token>' ------- SCRIPT OUTPUT END ---------------------------- ERROR: Inventory 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.
RE: Map Error? (HPL LOG) - DnALANGE - 01-02-2015
It trys toload inventory map...
Thats not a map...
Otherwise, you have something wrong coded into your inventory .hps.
Show us your hps please.
RE: Map Error? (HPL LOG) - A.M Team - 01-02-2015
(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?
RE: Map Error? (HPL LOG) - DnALANGE - 01-02-2015
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.
RE: Map Error? (HPL LOG) - PutraenusAlivius - 01-02-2015
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.
RE: Map Error? (HPL LOG) - A.M Team - 01-02-2015
(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: //////////////////////////// // 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); }
RE: Map Error? (HPL LOG) - PutraenusAlivius - 01-03-2015
Give us the hps of the map that is currently having problems.
In other words, give us your setteler_hos.hps please.
RE: Map Error? (HPL LOG) - A.M Team - 01-03-2015
(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: void OnStart () { SetSanityDrainDisabled(true); }
void OnEnter () { PlayMusic("settelers_hostel.ogg", true, 0.5, 2, 1, true); }
void OnLeave () { StopMusic(2, 1); }
RE: Map Error? (HPL LOG) - PutraenusAlivius - 01-04-2015
PHP Code: PlayMusic("settelers_hostel.ogg", true, 0.5, 2, 1, true);
That's the problem. You forgot an [i]f[/i[ at the third argument.
The snippet below is the correct function.
PHP Code: PlayMusic("settelers_hostel.ogg", true, 0.5f, 2, 1, true);
RE: Map Error? (HPL LOG) - Daemian - 01-04-2015
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.
|