Mapdev:SMT format

From Spring
Revision as of 18:30, 5 October 2013 by Enetheru (talk | contribs) (Finally got around to creating this page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

SMF(Spring Map File) Reference

SMF is a binary format

File location

maparchive.sd7/maps/mymapname.smf

Data Map

  • smu = spring map unit, the size you see when in the lobby. roughly between 2 and 64.
Header
Bytes Type Description
16 char[] Magic number; "spring tilefile\0"
4 int Version; 1
4 int Number of tiles
4 int Size of the tiles; 32
4 int Compression Type; 1(DXT1)
+ Tiles
Bytes Type Description
680 char[] Raw DXT1 compressed 32x32 pixel tiles.