decoder error?

Need help with any SMBX game-related issues? Ask your questions here.
jakoS
Goomba
Goomba
Posts: 2
Joined: Tue Jan 12, 2021 12:08 pm

decoder error?

Postby jakoS » Tue Jan 12, 2021 12:14 pm

Has anyone encountered this problem? I'm not very good at the technical side of the editor and I got this dialogue box. Now when I try to test the backgrounds do not load and some floating npc no longer float. There are probably other problems I just haven't found them yet.
Id appreciate a little help. Thanks!:)
Image

User avatar
Hoeloe
Boomerang Bro
Boomerang Bro
Posts: 1309
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

Re: decoder error?

Postby Hoeloe » Wed Jan 13, 2021 3:31 am

Go to your episode folder and find a file named "progress.json". Delete that file, it's been corrupted somehow.

jakoS
Goomba
Goomba
Posts: 2
Joined: Tue Jan 12, 2021 12:08 pm

Re: decoder error?

Postby jakoS » Wed Jan 13, 2021 10:03 am

I’m sorry. That didn’t fix the problem.

User avatar
Hoeloe
Boomerang Bro
Boomerang Bro
Posts: 1309
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

Re: decoder error?

Postby Hoeloe » Wed Jan 13, 2021 4:43 pm

There might also be one in your "data" folder. Delete that too, if there is.

User avatar
stillhavenogoodname
Goomba
Goomba
Posts: 1
Joined: Tue Dec 15, 2020 5:43 pm
Flair: likes eevee

Re: decoder error?

Postby stillhavenogoodname » Mon Jan 18, 2021 5:33 pm

I have the same issue, except it appeared out of nowhere (the levels worked just fine before the issue appeared) and the errors keeps coming back after deleting progress.json and playing levels in my affected episode twice. SMBX2 even throws out the errors when the file only contains "{}". Other episodes are working fine, even with the same progress.json content. Is there a more permanent solution to this?
hello i am new how do i smbx
also i am working on a custom smbx2 beta4 episode i hope it will turn out great

User avatar
Hoeloe
Boomerang Bro
Boomerang Bro
Posts: 1309
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

Re: decoder error?

Postby Hoeloe » Mon Jan 18, 2021 9:33 pm

No, simply because this error literally only occurs because of a corrupt progress.json file. That "parse error" it mentions is loading the progress.json file. From within progress.lua, all it's doing is loading that file and then trying to decode it.

Now, the real question is more "how did the file get corrupted?", and that's something I don't have an obvious answer to. You said certain episodes are causing this, but which? Does the episode utilise achievements or a custom launcher page? If so, how are those set up?

Progress.json only exists to track achievements and custom progress for the launcher. The error pictured in the screenshot is trying to parse that file. I know for a fact this does not happen with an empty progress.json, so that suggests to me that you're not looking at the right progress.json. There will be one for your episode and one in the main game itself - though that one should be empty at all times and can be safely deleted.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 3 guests