Error When Loading Level In Editor

Need help with any SMBX game-related issues? Ask your questions here.
JacobHeverly
Goomba
Goomba
Posts: 4
Joined: Thu Feb 28, 2019 1:44 pm

Error When Loading Level In Editor

Postby JacobHeverly » Thu Feb 28, 2019 1:59 pm

I'm using the most recent beta (As of February 28th, 2019) of SMBX 2, and made a level in it just to test it out. About 5 minutes ago, I reloaded it in the same version but got this error.

"Bad file format
File: C:/Users/Jacob/Desktop/SMBX 2/data/worlds/worldname/level.lvl
Sectio [] is not closed
Line Number: 0"

I put "worldname" and "level.lvl" because I get this error whenever I load any world or level no matter what. Any ideas?

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Error When Loading Level In Editor

Postby Enjl » Thu Feb 28, 2019 2:52 pm

Can you put the contents of the lvl file on pastebin and post a link to that here?

PixelPest
Raccoon Mario
Raccoon Mario
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: Error When Loading Level In Editor

Postby PixelPest » Thu Feb 28, 2019 2:54 pm

I've seen this issue happen recently and I believe it involves shutting down/unplugging/restarting your computer with the level editor open which causes the file to be corrupted (however it could have resulted from something different)

JacobHeverly
Goomba
Goomba
Posts: 4
Joined: Thu Feb 28, 2019 1:44 pm

Re: Error When Loading Level In Editor

Postby JacobHeverly » Thu Feb 28, 2019 6:14 pm

Enjl wrote:
Thu Feb 28, 2019 2:52 pm
Can you put the contents of the lvl file on pastebin and post a link to that here?
You mean like if I open it as a .txt or something like that?

PixelPest
Raccoon Mario
Raccoon Mario
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: Error When Loading Level In Editor

Postby PixelPest » Thu Feb 28, 2019 6:17 pm

JacobHeverly wrote:
Thu Feb 28, 2019 6:14 pm
Enjl wrote:
Thu Feb 28, 2019 2:52 pm
Can you put the contents of the lvl file on pastebin and post a link to that here?
You mean like if I open it as a .txt or something like that?
Yes. Open it in Notepad, Notepad++, etc. and copy it to pastebin, then copy the link to the upload here

JacobHeverly
Goomba
Goomba
Posts: 4
Joined: Thu Feb 28, 2019 1:44 pm

Re: Error When Loading Level In Editor

Postby JacobHeverly » Thu Feb 28, 2019 6:18 pm

PixelPest wrote:
Thu Feb 28, 2019 6:17 pm
JacobHeverly wrote:
Thu Feb 28, 2019 6:14 pm
Enjl wrote:
Thu Feb 28, 2019 2:52 pm
Can you put the contents of the lvl file on pastebin and post a link to that here?
You mean like if I open it as a .txt or something like that?
Yes. Open it in Notepad, Notepad++, etc. and copy it to pastebin, then copy the link to the upload here
When I do that it is blank, but it says that the .lvl is 76 KB.

Also sorry for quoting multiple of your comments at once.

TheNightingale
Charged Spiny
Charged Spiny
Posts: 1971
Joined: Fri Apr 20, 2018 9:28 pm
Flair: And here comes the last great american dynasty
Pronouns: he/him
Contact:

Re: Error When Loading Level In Editor

Postby TheNightingale » Thu Feb 28, 2019 9:06 pm

JacobHeverly wrote:
Thu Feb 28, 2019 6:18 pm
PixelPest wrote:
Thu Feb 28, 2019 6:17 pm
JacobHeverly wrote:
Thu Feb 28, 2019 6:14 pm


You mean like if I open it as a .txt or something like that?
Yes. Open it in Notepad, Notepad++, etc. and copy it to pastebin, then copy the link to the upload here
When I do that it is blank, but it says that the .lvl is 76 KB.

Also sorry for quoting multiple of your comments at once.
What do you mean exactly?

Also there's nothing wrong with quoting like that
Last edited by TheNightingale on Thu Feb 28, 2019 9:16 pm, edited 1 time in total.

JacobHeverly
Goomba
Goomba
Posts: 4
Joined: Thu Feb 28, 2019 1:44 pm

Re: Error When Loading Level In Editor

Postby JacobHeverly » Thu Feb 28, 2019 9:11 pm

VanillaDude wrote:
Thu Feb 28, 2019 9:06 pm
JacobHeverly wrote:
Thu Feb 28, 2019 6:18 pm
PixelPest wrote:
Thu Feb 28, 2019 6:17 pm

Yes. Open it in Notepad, Notepad++, etc. and copy it to pastebin, then copy the link to the upload here
When I do that it is blank, but it says that the .lvl is 76 KB.

Also sorry for quoting multiple of your comments at once.
What do you mean exactly?

Also there's nothing wrong with quoting like that
Usually if something has data in it (as you know) and you open it in a text program there should be text as far as I know. The .lvl says it has 76kb of data, but it doesn't show anything when I open it in Notepad++.

TheNightingale
Charged Spiny
Charged Spiny
Posts: 1971
Joined: Fri Apr 20, 2018 9:28 pm
Flair: And here comes the last great american dynasty
Pronouns: he/him
Contact:

Re: Error When Loading Level In Editor

Postby TheNightingale » Thu Feb 28, 2019 9:16 pm

JacobHeverly wrote:
Thu Feb 28, 2019 9:11 pm
VanillaDude wrote:
Thu Feb 28, 2019 9:06 pm
JacobHeverly wrote:
Thu Feb 28, 2019 6:18 pm


When I do that it is blank, but it says that the .lvl is 76 KB.

Also sorry for quoting multiple of your comments at once.
What do you mean exactly?

Also there's nothing wrong with quoting like that
Usually if something has data in it (as you know) and you open it in a text program there should be text as far as I know. The .lvl says it has 76kb of data, but it doesn't show anything when I open it in Notepad++.
Have you tried with other text editor?

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Error When Loading Level In Editor

Postby Enjl » Thu Feb 28, 2019 9:43 pm

VanillaDude wrote:
Thu Feb 28, 2019 9:16 pm
Have you tried with other text editor?
How would that yield any different results? The level isn't gonna be corrupted differently depending on what program you view it through. PixelPest probably responded with the cause immediately.
PixelPest wrote:
Thu Feb 28, 2019 2:54 pm
I've seen this issue happen recently and I believe it involves shutting down/unplugging/restarting your computer with the level editor open which causes the file to be corrupted (however it could have resulted from something different)
Next time you save a level in the editor, double-check the filesize and contents of the level file after it was saved.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 1 guest