Hi guys ^^. Coming here asking for help once more, I have a pretty big issue u_u.
I have made a map that works perfectly in game but for some off reason it won't open anymore in the levelEditor. The map doesn't contain any MFP assets, it does contain custom assets that are shown in game.
I'm very confused to be honest, I was trying out Custom items when I noticed the bug, so it might have been about me messing with the assets.
If anyone knows what could be wrong I'd love to receive some advice.
If I have to give some sort of log file just tell me what to do and I'll give it to you ^^.
The .map file is intact I guess since it works in game. For some reason there must be an issue between the editor and the .map file. I really never had this issue before, I'm sooo confused...
I am feeling really stupid right now, I can play the map but not edit it :B.
Edit : I did try to reinstall the editor without any improved result. I think there is something in the .map file that crashes the editor, but when it comes to know what it is...
I managed to save my static objects and entities by simply copying the content of those parts of the .map file to another map file ( 5 thousands lines of code to transfer lololol), but anytime I transfer the planes the level won't open anymore.
Some of the planes use custom textures.
Could it be because a texture doesn't have a power of 2 size u_u ? That's the only error/warning I found in the editor log ^^'.
It's still extremely weird because the editor could load the texture like 10 times, it's still working in game too ^^'. I have no clue why it suddenly decided it couldn't load it anymore.
Anyway i'm gonna change the texture as soon as I feel ready to work on this map again, I'll try to keep you guys updated as soon as I get some results ^^ ! Thankserino for the help so far : >.
Could you attach your log file? Perhaps it mentioned something you missed. Otherwise, yeah use pow2 textures. They work without, but not always the way you want (shifting, glitching etc). Manually editing the .map file with a text editor can be risky, cause it likely references a lot of specific variables, which makes it difficult to do without corrupting the file.
Yeah I don't like messing with those text files (pretty sure I fucked up the compounds by doing this) but it was a way to get my statics + entities back x). I still have a backup save of the full map file, for when I find a better solution : >.
WARNING: Texture 'C:/Program Files (x86)/Steam/SteamApps/common/Amnesia The Dark Descent/custom_stories/Test/textures/woodwall/WoodPlanksDirty0100_2_S.jpg' does not have a pow2 size!
It seems like that your WoodPlanksDirty texture doesn't have a pow2 size. And apparently you use JPG.
*facepalm*