#My ForegroundTiles.xml file will not load in Loenn

1 messages · Page 1 of 1 (latest)

fresh girder
#

I am creating a custom tileset and recieve error [WARNING] Loading custom foreground tile XML failed: [string "lib/xml2lua/xml2lua.lua"]:92: Unbalanced Tag (/Tileset) [char=3779] when I load it through Loenn. While there is a high probability this is the result of a typo, I am specifically asking if Loenn is capable of parsing tilesets using filtered masks (eg <define id="A" filter="1,4" ignore="false"/>; I am not certain of a name for this feature), to ensure I am not wasting my time searching for the typo. Alternatively, I would appreciate help looking for the typo, but I am not concerned if I do not get help with that specifically.

TLDR; would the line <define id="A" filter="1,4" ignore="false"/> prevent Loenn from parsing a tileset xml?

craggy shale
#

ping @ lönn ahorn team

slender glacier
#

not really sure how it'd handle the masks tho :/

fresh girder
#

as long as Lonn allows me to place the tiles, i can see how they load ingame. even if the parsing failed i could use a fake xml without the features while editing tiles :)

#

rn im just trying to get this to load ingame to ensure ive set it up correctly

slender glacier
fresh girder
#

i noticed the issue a while ago trying to make tilesets blend for SJ lobbies xD. talked it over with coloursofnoise and afaik there is no solution without manually defining priority in the mask

#

by my knowledge only padding and center tiles take priority over any tiles that are completely surrounded, but maybe i didnt test extensively enough

#

my hope is that lack of padding and center definitions do not crash the game anymore and a catchall xxx-x1x-xxx mask would suffice

slender glacier
fresh girder
#

fwiw ive found one typo :) ill test it now. wish me luck, Lonn has a tendency to BSOD my PC cause my GPU is dying lmao

slender glacier
#

was it this one?

fresh girder
#

yes

#

good spotting :) that was fast

#

after the fix it doesnt seem to load, getting an error

slender glacier
fresh girder
#

[WARNING] Loading custom foreground tile XML failed: [string "lib/xml2lua/xml2lua.lua"]:92: Unbalanced Tag (/Tileset) [char=3779]

#

same as before

#

there is a typo same line one sec

#

it parses :)

craggy shale
fresh girder
#

ill show you how it loads give me a second :)

#

oop i didnt define the AnimatedTiles xml

#

WOOOOO

#

not at all as intended but it does load

#

game crashed with a critical error as i took the screenshot aswell this is very jank