Discuss Scratch

290Scratcher
Scratcher
1000+ posts

Editing .sb, .sb2 and .sb3

Hello.

I was wondering how to manually edit these files without using the graphical Scratch editor. I am mainly going to focus on .sb.

Thanks.
R4356th
Scratcher
1000+ posts

Editing .sb, .sb2 and .sb3

They all can be edited by renaming them to .zip and editing them with a text editor. Here is a tutorial on the Scratch Wiki.
Boomer001
Scratcher
1000+ posts

Editing .sb, .sb2 and .sb3

R4356th wrote:

They all can be edited by renaming them to .zip and editing them with a text editor. Here is a tutorial on the Scratch Wiki.
.SB files not. They are built differently.
__init__
Scratcher
1000+ posts

Editing .sb, .sb2 and .sb3

i would normally say your best bet for reading .sb files is the kurt Python library, but upon looking at it again it hasn't been updated since 2017 and only supports Python 2 (yikes)
R4356th
Scratcher
1000+ posts

Editing .sb, .sb2 and .sb3

__init__ wrote:

i would normally say your best bet for reading .sb files is the kurt Python library, but upon looking at it again it hasn't been updated since 2017 and only supports Python 2 (yikes)
Which version of Python 2.0?
Maximouse
Scratcher
1000+ posts

Editing .sb, .sb2 and .sb3

R4356th wrote:

__init__ wrote:

i would normally say your best bet for reading .sb files is the kurt Python library, but upon looking at it again it hasn't been updated since 2017 and only supports Python 2 (yikes)
Which version of Python 2.0?
The page __init__ linked to says:
Requires Python 2.7. Doesn't support Python 3.
290Scratcher
Scratcher
1000+ posts

Editing .sb, .sb2 and .sb3

Alright, that's my question answered. Thank you, I forgot about the tutorial.

Powered by DjangoBB