(Redirected from Scratch 1.4 File Format)

Archive.png This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective.
This article or section documents an outdated version of Scratch (version 1.4). For this article in the current version, see Scratch File Format. For this article in Scratch 2.0, see Scratch File Format (2.0).

The Scratch file format is the format with which a Scratch file, .sb (Scratch project) or .sprite (exported sprite) file, is encoded.

Scratch needs to save all the information and media — stage, sprites, scripts, sounds, images — in a Scratch project or script to a single file. This means the format for encoding that information is rather complicated.

For a technical description of the file format, start with Project File or Sprite File.

Libraries

SandCastleIcon.png This section has links to websites or programs not trusted by Scratch or hosted by Wikipedia. Remember to stay safe while using the internet, as we cannot guarantee the safety of other websites.

Other than using Scratch program or modifications of Scratch's source code, there are the following libraries for reading/writing Scratch project files:

  • Kurt, written in Python. Supports scripts, variables, lists, colors. Can read all the scripts in a project file and output Block Plugin code. It nearly supports images but not sounds.
  • sb.js


Cookies help us deliver our services. By using our services, you agree to our use of cookies.