![]() |
HPL Level editor crashing when opening a certain map - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html) +--- Forum: Technical Support - Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-31.html) +--- Thread: HPL Level editor crashing when opening a certain map (/thread-7789.html) |
HPL Level editor crashing when opening a certain map - lordmestari - 05-03-2011 Hello, I have a very frustrating problem I've been working on this custom map for a month now, and it's coming along nicely. EXCEPT the editor refuses to open the map for some reason. this started a few days ago. Every other map in the game or other people's custom stories can be opened in the editor, but not my specific map. Does anyone have a solution to this? (This is the error log, sorry for the wall of text) Number of Processors: 2 Processor Type: Intel Pentium Windows OS: Windows 2000 Version 6.0001 Build Number 7600 Current Memory Load: 58 Total Physical Memory: 2146557952 bytes Available Physical Memory: 881496064 bytes Total Virtual Memory: 2147352576 bytes Available Virtual Memory: 1688059904 bytes EAX=1487D624 EBX=00000000 ECX=FFFFFFFF EDX=1487D628 ESI=1493E250 EDI=0BE010A0 EBP=0018FFEC ESP=0018FFDC EIP=773C9ED5 FLG=00010286 CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B EAX=1487D624 EBX=00000000 ECX=FFFFFFFF EDX=1487D628 ESI=1493E250 EDI=0BE010A0 EBP=0018FFEC ESP=0018FFDC EIP=773C9ED5 FLG=00010286 CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B 0023:004D3BFF LevelEditor.exe, hpl::cMeshEntity::UpdateLogic()+1711 byte(s), d:\hpl_2\core\sources\scene\meshentity.cpp, line 0600 0023:004AD950 LevelEditor.exe, hpl::cWorld::Update()+0144 byte(s), d:\hpl_2\core\sources\scene\world.cpp, line 0208+0035 byte(s) 0023:004A1A05 LevelEditor.exe, hpl::cScene: ![]() 0023:004C12C4 LevelEditor.exe, hpl::iUpdateable::RunMessage()+0084 byte(s), d:\hpl_2\core\include\engine\updateable.h, line 0074 0023:004C1576 LevelEditor.exe, hpl::cUpdater::RunMessage()+0038 byte(s), d:\hpl_2\core\sources\engine\updater.cpp, line 0067+0014 byte(s) 0023:00496628 LevelEditor.exe, hpl::cEngine::Run()+0264 byte(s), d:\hpl_2\core\sources\engine\engine.cpp, line 0418 0023:0048A96F LevelEditor.exe, hplMain()+0207 byte(s), d:\hpl_2\tools\editors\leveleditor\leveleditormain.cpp, line 0038 0023:004ABF3D LevelEditor.exe, WinMain()+0029 byte(s), d:\hpl_2\core\sources\impl\lowlevelsystemsdl.cpp, line 0052+0029 byte(s) 0023:0058D4B9 LevelEditor.exe, WinMainCRTStartup()+0389 byte(s), f:\vs70builds\3077\vc\crtbld\crt\src\crtexe.c, line 0390+0027 byte(s) 0023:75D43677 kernel32.dll, BaseThreadInitThunk()+0018 byte(s) 0023:773C9F02 ntdll.dll, RtlInitializeExceptionChain()+0099 byte(s) 0023:773C9ED5 ntdll.dll, RtlInitializeExceptionChain()+0054 byte(s) System, PID: 4 smss, PID: 256 csrss, PID: 392 csrss, PID: 460 wininit, PID: 468 services, PID: 536 winlogon, PID: 544 lsass, PID: 572 lsm, PID: 584 svchost, PID: 692 svchost, PID: 772 atiesrxx, PID: 816 svchost, PID: 892 svchost, PID: 936 svchost, PID: 984 svchost, PID: 576 svchost, PID: 1104 atieclxx, PID: 1152 spoolsv, PID: 1328 svchost, PID: 1368 svchost, PID: 1468 WLIDSVC, PID: 1584 WLIDSVCM, PID: 1904 svchost, PID: 1960 taskhost, PID: 1272 dwm, PID: 2004 explorer, PID: 196 RAVCpl64, PID: 2192 SetPoint, PID: 2408 MOM, PID: 2432 AdobeARM, PID: 2480 E:\Amnesia\Amnesia - The Dark Descent\redist\wrap_oal.dll RE: HPL Level editor crashing when opening a certain map - lordmestari - 05-04-2011 Bump I want answers! Please help RE: HPL Level editor crashing when opening a certain map - Simpanra - 05-04-2011 What was the last thing you did on your map before this happened? RE: HPL Level editor crashing when opening a certain map - lordmestari - 05-04-2011 I was adding some floor and walls, finishing off a short hallway. RE: HPL Level editor crashing when opening a certain map - Simpanra - 05-04-2011 Is it possible there are too many items in the map so it simply can't load? I have an idea, send me the map and i will see if i can open it =) RE: HPL Level editor crashing when opening a certain map - Apjjm - 05-04-2011 If you have any custom entities or models that you have changed since the map last worked, then it is possible that they aren't configured properly and that is causing the crash. RE: HPL Level editor crashing when opening a certain map - lordmestari - 05-04-2011 Well yes, I've got some custom models in my map. It might cause the crash, it's just that I cant remove them from my level now. ![]() Just to add: I can play the map in Amnesia just fine, no problems whatsoever. RE: HPL Level editor crashing when opening a certain map - Apjjm - 05-06-2011 Maps are stored in an xml format - so it should be possible to just remove those entities from your map file by hand in notepad or some other editor. I must stress though, that you should 100% absolutely back up your map files before doing this, and always work on a copy - never the original. This is probably an unreasonable thing to try until you know it is your entities causing the problem, and that you can't fix the entities. To find this out create a map and add 1 of each custom entity to it - after adding a new entity save, exit and re-load. If the map no longer loads, you have just found your problem entity. It is first worth attempting (after backing up the entity) to change the settings in it until it loads (Try making the item static to start with; as stating a non existing physics body as the main body I think does crash the level editor). It is possible that more than one entity has a problem, so after fixing one entity continue on with the testing until you know every single custom entity works. If this still doesn't fix your problem, i suggest looking at the xml in the map file. It isn't impossible that the map file has become corrupted and the game is running off of the .cmap file - as opposed to the one you edit? Anyway if this is the case, you may be best taking the hit and starting the map again if the whole file is damaged or even if you just cannot figure out the problem (it may take longer to work it out and fix it than to do the map again - as you shouldn't have to redo the script, and know exactly what goes where this time!) - After 1 hard disk failure screwing over a day of scripting, I always back up my current projects after i finish working on them for that session. RE: HPL Level editor crashing when opening a certain map - lordmestari - 05-06-2011 Thanks for the helpful reply, I really appreciate it! I opened the map file with Notepad++, deleted the custom entities but it still doesn't fix the crash. After hours of frustration, I have decided to give up. I guess I'll have to start all over again ![]() ![]() |