SPring map files (smt and the other)

SPring map files (smt and the other)

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
User avatar
Karotte
Posts: 72
Joined: 03 Aug 2009, 17:30

SPring map files (smt and the other)

Post by Karotte »

I want to know the structure of the map files, how they work (smd is easy but the other) because i want to write a script (top secret 8))

So i need how they were building (the .smt and sm ... dont know)
Where there are the inforamtion about height texture feature and so on and where can i read in and how can i compile it
User avatar
thesleepless
Posts: 417
Joined: 24 Oct 2007, 04:49

Re: SPring map files (smt and the other)

Post by thesleepless »

if you know C++, read the source code for loading maps, it'll step you through the file one chunk at a time
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Re: SPring map files (smt and the other)

Post by MelTraX »

There is also a nice map editor. Afaik it's open source so you can also look there.
User avatar
Karotte
Posts: 72
Joined: 03 Aug 2009, 17:30

Re: SPring map files (smt and the other)

Post by Karotte »

oh no, i dont want to read the source (but i can code C++)
Frostregen
Posts: 179
Joined: 17 Jul 2007, 00:52

Re: SPring map files (smt and the other)

Post by Frostregen »

Then you are out of luck ;)

I had no other choice to read it too.
But it is not very complex, and documented quite well inside the source files.

Just look here:
http://github.com/spring/spring/blob/2e ... /mapfile.h

and maybe here too:
http://github.com/spring/spring/blob/2e ... apFile.cpp

Maybe if I get bored at work I'll create an overview image ;)

EDIT:
Done, maybe this helps a little:
HTML Version: http://saddam.ath.cx/mapfile.html
Or see attached images.
Attachments
smtformat.png
(7.03 KiB) Downloaded 16 times
smfformat.png
(59.55 KiB) Downloaded 13 times
User avatar
Karotte
Posts: 72
Joined: 03 Aug 2009, 17:30

Re: SPring map files (smt and the other)

Post by Karotte »

thx, and have someone the COMPELTE source of mothersmap Conv?
Post Reply

Return to “Map Creation”