Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

.nodemc File Format Specified

This specification is valid for SN versions <= 423.

:: warning The .nodemc format is compressed when saved and decompressed when loaded to reduce its file size. It is compressed and decompressed using the GZIP compression and decompression algorithms with a buffer size of 4096. The following information assumes that the .nodemc file is in its uncompressed state.

::

Metadata

Data TypeVersionsBuildsDescription
32-bit signed int big-endianAnyAnyStick Nodes version number
32-bit signed int big-endian>=402AnyBuild number
32-bit signed int big-endianAnyAnyA = Length of movieclip name (prob causes weird behavior or error if length of movieclip name length is <= 0)
sequence with size of A of text bytesAnyAnyMovieclip name

Options

Data TypeVersionsBuildsDescription
32-bit signed int big-endianAnyAnyB = Number of frames
32-bit signed int big-endianAnyAnyC = Number of stickfigures
32-bit signed int big-endian>=400AnyD = Number of sprites
32-bit signed int big-endianAnyAnyE = Number of sounds
32-bit signed int big-endianAnyAnyF = Preview frame count
32-bit signed int big-endianAnyAnyW = Preview resolution width
32-bit signed int big-endianAnyAnyH = Preview resolution height
sequence with size of (W * H * F) of RGBA8888AnyAnyPreview image data
32-bit signed int big-endianAnyAnyFPS
32-bit signed int big-endianAnyAnyNumber of tweened frames
8-bit unsigned byteAnyAnyTweening enabled boolean
8-bit unsigned byteAnyAnyTween loop protection enabled boolean
32-bit signed int big-endianAnyAnyUnique figure ID

Stickfigure Library

Data TypeVersionsBuildsDescription
sequence of size C of Stickfigure HeaderAnyAnySee Stickfigure Header for more information.

Stickfigure Header

Data TypeVersionsBuildsDescription
32-bit signed int big-endianAnyAnyG = Length of stickfigure name
sequence with size of G of text bytesAnyAnyStickfigure name
Stickfigure DataAnyAnySee Stickfigure Data for more information.

Sprite Library

Data TypeVersionsBuildsDescription
sequence with size of D of Sprite Header>=400AnySee Sprite Header for more information

Sprite Header

Data TypeVersionsBuildsDescription
8-bit unsigned byte>=400Anyif 1:
H = sprite group source
else if 0:

H = sprite source
32-bit signed int big-endian>=400AnyI = Length of sprite name
sequence with size of I of text bytes>=400AnySprite name
32-bit signed int big-endian>=400AnySprite ID?
if H == sprite group source:
Sprite Group Library Data
else if H == sprite source:
Sprite Library Data
>=400AnySee Sprite Group Library Data or Sprite Library Data for more information.

Sound Library

Data TypeVersionsBuildsDescription
sequence with size of E of Sound HeaderAnyAnySee Sound Header for more information.

Sound Header

Data TypeVersionsBuildsDescription
32-bit signed int big-endianAnyAnyJ = Length of sound name
sequence with size of J of text bytesAnyAnySound name

Frames

Data TypeVersionsBuildsDescription
sequence of Movieclip Frame of length FAnyAnySee Movieclip Frame for more information.