Discuss Scratch

LeoTurnbull
Scratcher
6 posts

Corrupted SB3 file fix?

Hiya everyone,

I have been working on a project for a school assignment (on a version of scratch with alternate aspect ratio options), and recently downloaded it as an SB3, as i wanted to work on it from a different computer. When I tried to re-upload the SB3, I got this error: "The project file that was selected failed to load.

I've tried everything I can possibly think of, like importing it into the official Scratch amongst numerous other things.

The error I get in the browser console is this:
gui {”validationError“:”Could not parse as a valid SB2 or SB3 project.“,”sb2Errors":,“sb3Errors”:[{“keyword”:“pattern”,“dataPath”:".targets.costumes.assetId“,”schemaPath“:”#/definitions/assetId/pattern“,”params“:{”pattern“:”^{32}$“},”message“:”should match pattern \"^{32}$\“”}]}

My assignment is due in a few days, so I really hope someone can help!

- Leo

My browser / operating system: Windows NT 10.0, Chrome 81.0.4044.138, No Flash version detected
Boomer001
Scratcher
1000+ posts

Corrupted SB3 file fix?

Ok, can you send the project file? You can use a file hosting service like mediafire.
LeoTurnbull
Scratcher
6 posts

Corrupted SB3 file fix?

Boomer001 wrote:

Ok, can you send the project file? You can use a file hosting service like mediafire.
Of course! Here it is. Anything you could do would be greatly appreciated!

- Leo
Boomer001
Scratcher
1000+ posts

Corrupted SB3 file fix?

Fixed.

I have replaced some costumes with question marks because they had a really weird asset ID:
pczzpbq844tv5v64bgam
You should change them back like they originally were.
Maximouse
Scratcher
1000+ posts

Corrupted SB3 file fix?

Boomer001 wrote:

I have replaced some costumes with question marks because they had a really weird asset ID:
pczzpbq844tv5v64bgam
So pczzpbq844tv5v64bgam is meant to be a MD5 hash?

Last edited by Maximouse (May 23, 2020 15:04:29)

Boomer001
Scratcher
1000+ posts

Corrupted SB3 file fix?

Maximouse wrote:

Boomer001 wrote:

I have replaced some costumes with question marks because they had a really weird asset ID:
pczzpbq844tv5v64bgam
So pczzpbq844tv5v64bgam is meant to be a MD5 hash?
Yes…
Maximouse
Scratcher
1000+ posts

Corrupted SB3 file fix?

Boomer001 wrote:

Maximouse wrote:

Boomer001 wrote:

I have replaced some costumes with question marks because they had a really weird asset ID:
pczzpbq844tv5v64bgam
So pczzpbq844tv5v64bgam is meant to be a MD5 hash?
Yes…


It looks like this is a bug in the mod @LeoTurnbull used.
LeoTurnbull
Scratcher
6 posts

Corrupted SB3 file fix?

Boomer001 wrote:

Fixed.

I have replaced some costumes with question marks because they had a really weird asset ID:
pczzpbq844tv5v64bgam
You should change them back like they originally were.

Thank you SO much! I really cannot thank you enough!

Maximouse wrote:

It looks like this is a bug in the mod @LeoTurnbull used.

Yes, I won't use that mod again…

Thank you so much guys!
fishprogrammer
Scratcher
3 posts

Corrupted SB3 file fix?

(Excuse my bad English becuase i'm from the Netherlands)

I was trying to load my project again with TurboWarp after i saved it, but then it gives this error message: Error message

Here's the download link for the project file: MediaFire

Last edited by fishprogrammer (Oct. 26, 2022 18:26:25)

fishprogrammer
Scratcher
3 posts

Corrupted SB3 file fix?

I think i found the problem using the project explorer:
A sprite has an invalid position.
But how do i change it?

Last edited by fishprogrammer (Oct. 26, 2022 19:21:47)

GarboMuffin
Scratcher
58 posts

Corrupted SB3 file fix?

fishprogrammer wrote:

I was trying to load my project again with TurboWarp after i saved it, but then it gives this error message:
Somehow the videoState in the project's JSON got set to “sideways” which isn't a valid value, although refusing to load the project is not the ideal way to handle that error. I manually fixed it for you here: https://scratch.mit.edu/projects/751916005/
fishprogrammer
Scratcher
3 posts

Corrupted SB3 file fix?

GarboMuffin wrote:

fishprogrammer wrote:

I was trying to load my project again with TurboWarp after i saved it, but then it gives this error message:
Somehow the videoState in the project's JSON got set to “sideways” which isn't a valid value, although refusing to load the project is not the ideal way to handle that error. I manually fixed it for you here: https://scratch.mit.edu/projects/751916005/

Thank you so much!!! The “Sideways” videostate was caused by a hacked block:
Turn video (sideways)

It already said in the comment it doesn't work but i think i accidentally ran it.

Last edited by fishprogrammer (Oct. 27, 2022 11:23:19)

DlSCUSS
Scratcher
97 posts

Corrupted SB3 file fix?

fishprogrammer wrote:

I was trying to load my project again with TurboWarp after i saved it, but then it gives this error message:
Please create your own topic for questions.
gameplyr09
New Scratcher
2 posts

Corrupted SB3 file fix?

Can anyone fix this:
the file

Last edited by gameplyr09 (Nov. 14, 2022 00:33:19)

gameplyr09
New Scratcher
2 posts

Corrupted SB3 file fix?

Sorry, this is the file:
https://www.mediafire.com/file/7iy3uyh07ca9tix/LPG+-+Copy_Admin.sb3

Powered by DjangoBB