If you were to unzip a Scratch project file, you would find:
for file in os.listdir('.'): if file.endswith('.zip'): zip_to_sb3(file)
Open the folder containing your Scratch project assets ( project.json , sounds, images). convert zip to sb3
To understand how the conversion works, it helps to know what is happening under the hood of a Scratch project.
Now that we've covered the why, let's move on to the how. There are a few ways to convert a ZIP file to SB3: If you were to unzip a Scratch project
When the prompt asks if you want to keep .zip or use .sb3 , click . Method 3: Using Third-Party Utilities (7-Zip or WinRAR)
If you unzipped a Scratch project, edited the project.json file or changed some costumes, and now want to turn it back into an .sb3 file, follow these steps. There are a few ways to convert a
project.json : A text file containing all the blocks, variables, and logic of your code.