Since NeoLemmix Editor 1.45, if a level with more than one terrain piece is saved, each subsequent $TERRAIN group in the NXLV will be indented two extra characters, which accumulates the more terrain pieces there are in the level.
For example, this:
...becomes this:
ONLY the Terrain pieces section has this issue. Objects and Rulers are formatted properly.
While this doesn't prevent the level from loading or playing normally in the NeoLemmix Player or in the Editor itself, it can make levels explode in file size. After opening the level these examples are from, making no changes, and immediately saving, the file size went from 26KB to 566KB!
For example, this:
Code Select
# Terrain pieces
# -----------------------------
$TERRAIN
STYLE orig_crystal
PIECE bar_04
X 507
Y 65
ONE_WAY
$END
$TERRAIN
STYLE orig_crystal
PIECE clump_01
X 38
Y 109
ONE_WAY
$END
$TERRAIN
STYLE orig_crystal
PIECE clump_02
X -8
Y 115
ONE_WAY
$END
...
...becomes this:
Code Select
# Terrain pieces
# -----------------------------
$TERRAIN
STYLE orig_crystal
PIECE bar_04
X 507
Y 65
ONE_WAY
$END
$TERRAIN
STYLE orig_crystal
PIECE clump_01
X 38
Y 109
ONE_WAY
$END
$TERRAIN
STYLE orig_crystal
PIECE clump_02
X -8
Y 115
ONE_WAY
$END
...
ONLY the Terrain pieces section has this issue. Objects and Rulers are formatted properly.
While this doesn't prevent the level from loading or playing normally in the NeoLemmix Player or in the Editor itself, it can make levels explode in file size. After opening the level these examples are from, making no changes, and immediately saving, the file size went from 26KB to 566KB!


I need to learn to step back from the keyboard for a bit when I get frustrated.



