Discuss Scratch

TheMobileGames
Scratcher
100+ posts

How can I directly modify a .sb3 file?

Sometimes, Scratch can be very annoying because it limits precise control of many aspects of projects. In my case, it’s something to do with costumes. I have tried many different ways to get what I want to work but I just can’t without some kind of hardcoded yet unnecessary limitation. Is there a way to perhaps manually modify the file data or extract it in some way to do so?
Voxalice
Scratcher
1000+ posts

How can I directly modify a .sb3 file?

Every .sb3 file is really a .zip file with a different file extension, so to start modifying a .sb3 file's contents, you should extract it as a .zip file.

From there, every costume and sound used in the project will be available to modify, although they'll have randomized names.
TheMobileGames
Scratcher
100+ posts

How can I directly modify a .sb3 file?

Voxalice wrote:

Every .sb3 file is really a .zip file with a different file extension, so to start modifying a .sb3 file's contents, you should extract it as a .zip file.

From there, every costume and sound used in the project will be available to modify, although they'll have randomized names.

I just figured this out myself by renaming the file to .zip

Also, can you please help me with either preventing stamped vector images from getting smoothen like this https://cubeupload.com/im/Themobilegames/IMG2412.jpeg

or can you help me inject an .bmp file into a project with a size larger than the default 360 by 280. Maybe like 2000 by 1000 pixels or something.

Last edited by TheMobileGames (May 11, 2024 21:58:05)

TheMobileGames
Scratcher
100+ posts

How can I directly modify a .sb3 file?

TheMobileGames wrote:

an you help me inject an .bmp file into a project with a size larger than the default 360 by 280. Maybe like 2000 by 1000 pixels or something.

Nevermind, I figured it out: https://scratch.mit.edu/projects/1018320173/
holdytherobloxpro
Scratcher
18 posts

How can I directly modify a .sb3 file?

if you convert sb3 to zip you can not convert it back in to a sb3
define 
D: you can not convert zip back in to sb3 :(
redspacecat
Scratcher
1000+ posts

How can I directly modify a .sb3 file?

holdytherobloxpro wrote:

if you convert sb3 to zip you can not convert it back in to a sb3
define 
D: you can not convert zip back in to sb3 :(
Yes you can.

On windows, select all the files in the unzipped folder and do “Send to (compressed) zipped folder”
Then rename the file to change the file extension from .zip to .sb3
MonkeyBean2
Scratcher
500+ posts

How can I directly modify a .sb3 file?

redspacecat wrote:

holdytherobloxpro wrote:

if you convert sb3 to zip you can not convert it back in to a sb3
define 
D: you can not convert zip back in to sb3 :(
Yes you can.

On windows, select all the files in the unzipped folder and do “Send to (compressed) zipped folder”
Then rename the file to change the file extension from .zip to .sb3
it is also worth noting that you can upload the project.json file directly to scratch, which is simpler. If you already had the project in scratch the assets should be on the asset server already.
redspacecat
Scratcher
1000+ posts

How can I directly modify a .sb3 file?

MonkeyBean2 wrote:

it is also worth noting that you can upload the project.json file directly to scratch, which is simpler. If you already had the project in scratch the assets should be on the asset server already.
Oh yeah I forgot about that. It's a very useful feature.
MonkeyBean2
Scratcher
500+ posts

How can I directly modify a .sb3 file?

redspacecat wrote:

MonkeyBean2 wrote:

it is also worth noting that you can upload the project.json file directly to scratch, which is simpler. If you already had the project in scratch the assets should be on the asset server already.
Oh yeah I forgot about that. It's a very useful feature.
yea, but if you want to do a lot of JSON edit testing it is advisable to make a simple editor in a popup window based on vm.toJSON() and vm.loadProject(“insert json here”)
holdytherobloxpro
Scratcher
18 posts

How can I directly modify a .sb3 file?

redspacecat wrote:

holdytherobloxpro wrote:

if you convert sb3 to zip you can not convert it back in to a sb3
define 
D: you can not convert zip back in to sb3 :(
Yes you can.

On windows, select all the files in the unzipped folder and do “Send to (compressed) zipped folder”
Then rename the file to change the file extension from .zip to .sb3
oh ok

Powered by DjangoBB