#Tilesets Not Appearing in Lonn

1 messages · Page 1 of 1 (latest)

acoustic bramble
#
[WARNING] Loading custom background tile XML failed: [string "autotiler.lua"]:341: bad argument #1 to 'ipairs' (table expected, got nil)```
#

This is in my lonn's run.log

brisk granite
#

looking into this

acoustic bramble
#

Thank you

brisk granite
#

okay this is gonna be really difficult

acoustic bramble
#

Oh no, what do I need to do

brisk granite
#

im not sure whats wrong myself but i suspect an encoding issue

acoustic bramble
#

Encoding?

brisk granite
#

wait a sec maybe its the encoding?

#

wait what am i saying

#

i think the problem is the BOM

#

<@&683773388321456184> how does lönn handle the BOM

#

is it fine or does it get offended if you give it a BOM

brisk granite
acoustic bramble
#

Ctrl+S

brisk granite
#

...well, yes, but, what editor

acoustic bramble
#

Notepad

brisk granite
#

iiim not sure if regular notepad is a good idea to edit xmls
but either way

#

can you ctrl+shift+s for me real quick

#

the save as dialogue should open up

#

in the bottom right there's "Encoding"

#

does it say UTF-8-BOM?

acoustic bramble
#

Yes

brisk granite
#

pick UTF-8

#

without BOM

#

then just save it in the same place

#

do the same thing for bgtiles

acoustic bramble
#

Done, will restart game and lonn now

#

Nah, still not working

brisk granite
#

hm

acoustic bramble
brisk granite
#

do all the tilesets show up on the right side

acoustic bramble
#

No

#

Only vanilla

brisk granite
#

its probably an encoding issue then hmmmm

#

or

#

check your paths

acoustic bramble
acoustic bramble
brisk granite
#

like, check the paths to the xmls in map metadata

acoustic bramble
#

Yeah, they're still the usual paths

#

Remember, Celeste still loads them just fine

brisk granite
#

idk maybe theres some typo or someth- right

#

i think we'll have to wait for the lönn team for that one

acoustic bramble
#

Is there a limit on how many tilesets one xml can have

brisk granite
#

63 487

acoustic bramble
#

63k??

#

Okay so it's not that

#

Haha

brisk granite
acoustic bramble
#

Oooh it could be a meaning in xml

#

I used various symbols from all over the place

brisk granite
acoustic bramble
#

That would also explain them being present in both

#

Interesting

#

So we are just waiting for the lonn team then? No leads?

brisk granite
#

pretty sure its some encoding fuckery

acoustic bramble
#

Ahh

#

Would they know how to fix it

brisk granite
#

well, they made lönn

acoustic bramble
#

True true

#

I am just a little panicked because I don't want to delay the pack from releasing by too much and this basically prevents me from doing lobby work

brisk granite
#

yeahhh i know

#

i'm sorry

acoustic bramble
#

It's not your fault, I appreciate your help

#

Just sucks it's happening haha

loud minnow
#

is this valid xml

#

that line is in both of them

#

@acoustic bramble

#

try removing that line

brisk granite
#

oh my god

#

i got scammed by the xml validator

loud minnow
#

the evil xmlvalidator

meager flame
#

ohh yea lönn's xml parser was written ages ago and doesn't support text like that

acoustic bramble
#

Will do it right now

brisk granite
meager flame
#

i think it's valid xml but the parser is just jank

brazen pivot
#

the parser is lönn-compliant

acoustic bramble
#

YES

#

It worked!

#

Thanks so much!

brisk granite
#

oh my god it was just that

#

phew

brazen pivot
brisk granite
#

yeah

brazen pivot
#

no way right

brisk granite
#

it's character data

brazen pivot
#

oh right it's just text in xml

loud minnow
#

no validator complains

brazen pivot
#

flat text

brisk granite
loud minnow
#

probably

acoustic bramble
#

I had no idea that # wasn't valid in XML

brazen pivot
#

cursed

acoustic bramble
#

Good to know

brisk granite
#

the thing is

brazen pivot
#

it is plaintext

acoustic bramble
#

It's a lonn thing?

brisk granite
#

yep

brazen pivot
#

which no part of the tileset XML uses

acoustic bramble
#

Interesting

#

Thanks for letting me know

#

I really appreciate all of your help

brisk granite
#

did i ever write a tileset schema

#

i dont think so

#

oh wait no i did

brazen pivot
#

comments in XML are like this

<!-- hi -->
#

if you want to make them