Hello MaxwellSalmon!
Before I start, sorry for the lengthiness!!!
After I send my reply, I decided to do a few tests on my own as I am intrigued by the problems that both of us have encountered and I forgot that I put my test level on Pastebin which is the reason I wrote that last paragraph.
I run notepad++ as administrator(this is because I had put my DUGA folder in program files) and press ‘edit in notepad++’ on customLevels.dat.
Next, I go to my Pastebin account and then open the test levels paste. Before I copied the test levels, I decided to copy my customLevels.dat file and put it somewhere on my laptop. Then I copied the test levels data by pressing the copy button on top of the text area and then selecting all of the text by pressing Ctrl + A and then clicking Ctrl + V on the customLevels.dat file in notepad++ and clicking save.
Instead of opening the file in the Level Editor, I decided to play the custom level in DUGA; but I then got an error before the game even run. I have put the crash log here: https://pastebin.com/YfnMaeDD. Intrigued, I then tried to load the levels in the Level Editor using the ‘trick’ and I got the same bug: ‘there are no saved maps of this kind’.
I then decided to copy the new levels that I made from Pastebin (using the same method that I mentioned in paragraph 4) and paste them into the customLevels.dat file and then try to run DUGA again, I did this because I had a hunch of where things go wrong and… DUGA crash again with the aforementioned crash log.
Now, as a final test, I delete the customLevels.dat file in the data folder and then took the customLevels.dat file that I saved earlier in a different folder and put it back in the data folder.
and…
It Works!!!! It ran and I was able to play both levels with no errors or crashes whatsoever.
This means that my hunch was correct. The root of all problems here is Pastebin. Perhaps it’s because Pastebin decided to format the binary data by putting them on different lines or something similar, I don’t have a lot of knowledge in Binary(other than the basics) and the likes so I don’t know what else could be the cause.
Of course, I am not a professional developer such as you so I don’t know if there is something else I’m missing but I thought that if I could help you to find the problem faster it would certainly be easier for you as I don’t want to trouble you.
Well, that is all from me!
Oh! and this is a picture of the crash:
Regards,
CodeSlayerYT.