Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 103

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Defines.php on line 187

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 115

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 134

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 137

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 139

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 144

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 145

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 153

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 150

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Setup.php on line 381

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Setup.php on line 382

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Setup.php on line 383

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Setup.php on line 384

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/includes/WebStart.php:103) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/includes/WebStart.php:103) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: include(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/resourceloader/ResourceLoader.php on line 201

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007
Scratch 1.4 File Format - Just Solve the File Format Problem

Scratch 1.4 File Format

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |subcat=Source code |extensions={{ext|sb}}, {{ext|sprite}} }} The '''Scratch 1.4 File Format''' saves projects in version 1.4 of the Scratch programming lang...")
 
 
(5 intermediate revisions by one user not shown)
Line 6: Line 6:
 
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.
 
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''.
+
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 [[Endianness|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.
 
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.
 
Detailed documentation can be found in the Scratch wiki.
 +
 +
The [[Scratch 2.0 File Format]] switched to the use of [[ZIP]]-compressed [[JSON]].
  
 
== Documentation ==
 
== Documentation ==
−
* [http://wiki.scratch.mit.edu/wiki/Scratch_File_Format Scratch File Format]
+
* [http://wiki.scratch.mit.edu/wiki/Scratch_File_Format_%281.4%29 Scratch 1.4 File Format]
  
 
== 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

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/includes/WebStart.php:103) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/includes/WebStart.php:103) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/includes/WebStart.php:103) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007