Closed renefreund closed 3 years ago
Added a tm2020-editor screenshot from a converted map as example.
btw. no openplanet present in my client.
This sounds like a map built in either an unusual version or the newest TMNF. Weird
to be clear. all my mapfiles BEFORE
if its edgecases.. pls close. but i think mars attack map should be okay to debug.
Try re-saving the maps (with a different name, of course), then converting it
Converter should recognize every Stadium map correctly, so I don't count resaving as the definite solution. I will look at this issue once I get through the priorities.
Hello, after a long time, I figured out the issue. Maps can get sunk to the ground because they were made at the game release date. Back then, it likely used to happen that the chunk 0x03043052 (decoration height chunk) didn't appear in maps most of the time. This chunk gives a property DecoBaseHeightOffset likely determining that the blocks are shifted up by 8 units by default. This wasn't included back then, and the block Y started at 0.
This bug has been fixed in two commits: 32a03534aff2dd5b53d0c53b4d7117a5bec1a219 85bd24cfb50fd8281c0c26b1dc13b7599e82eb1e
Hi,
very nice tool. But somehow version 1.0.0 convertes all maps with a negative Z-index (height), so ground-layered items are 1-3 heights under the grass if i open them in tm2020.
tried about 40 maps from tmnf and tm2 stadium.
i added a (source-files)
greetings.