Scratch 1.4 File Format

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
 
Line 19: Line 19:
 
== Other links ==
 
== Other links ==
 
* [http://scratch.mit.edu/ Official Scratch site]
 
* [http://scratch.mit.edu/ Official Scratch site]
 +
 +
[[Category:MIT]]

Latest revision as of 21:33, 18 September 2019

File Format
Name Scratch 1.4 File Format
Ontology
Extension(s) .sb, .sprite

The Scratch 1.4 File Format saves projects in version 1.4 of the Scratch programming language, a language designed to teach programming to young children. Since the program code consists of graphical tiles rather than text-based source code, a binary format was used to save it, along with the associated objects which form part of a program project.

Scratch projects are stored in files with a .sb extension. They start with a 10-byte header containing the ASCII characters ScratchV02. Multi-byte numeric values within the file are stored in big-endian fashion.

A sprite file, with the extension .sprite, stores a sprite along with related variables and lists, in a format similar to the project file but without the header at the start.

Detailed documentation can be found in the Scratch wiki.

The Scratch 2.0 File Format switched to the use of ZIP-compressed JSON.

[edit] Documentation

[edit] Other links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox