HTV04 / funkin-rewritten

Optimized rewrite of Friday Night Funkin' built on LÖVE
GNU General Public License v3.0
109 stars 39 forks source link

XML converter is broken #21

Closed claus296 closed 2 years ago

claus296 commented 2 years ago

I have python installed, I’m not sure what the issue is

GuglioIsStupid commented 2 years ago

Can you say your whole error?

GuglioIsStupid commented 2 years ago

And also if you can, can you say your version of python?

claus296 commented 2 years ago

Can you say your whole error?

Python 3.10 IMG_1235

GuglioIsStupid commented 2 years ago

Have you tried downloading a new converter? And what does the xml look like? (It may be a broken xml)

claus296 commented 2 years ago

Have you tried downloading a new converter? And what does the xml look like? (It may be a broken xml)

I have tried a new converter, here’s the xml

IMG_1238

GuglioIsStupid commented 2 years ago

Idk whats happening cuz I never got this error before. I'll mention @HTV04 because he'll know more than me

HTV04 commented 2 years ago

@claus296 Can you send the XML file? It might be broken

claus296 commented 2 years ago

@claus296 Can you send the XML file? It might be broken here https://www.mediafire.com/file/ylbz7pruhmqhjkt/MarioLand.xml/file

HTV04 commented 2 years ago

@claus296 Can you send the XML file? It might be broken here https://www.mediafire.com/file/ylbz7pruhmqhjkt/MarioLand.xml/file

Can you please upload the file here directly? I'm on my phone right now and it's not letting me download it from MediaFire (it's generally better to avoid MediaFire anyway because they spam people with ads).

You should be able to upload it by renaming the file extension to .txt and dragging it here

HTV04 commented 2 years ago

I have a friend that was facing the same issue with some XMLs from the mod. Instead of just MarioLand.xml, he also reported that another XML was not working correctly with the converter. He sent me the affected XMLs and using a hex editor, I discovered that they have a really weird BOM that threw the XML parser off. Deleting it fixed the issue for both XML files.

Here are the fixed XMLs: Fixed-XMLs.zip

If you have any other weird XMLs, let me know.