Page 1 of 1
SPring map files (smt and the other)
Posted: 12 Sep 2009, 11:31
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

)
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
Re: SPring map files (smt and the other)
Posted: 12 Sep 2009, 11:53
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
Re: SPring map files (smt and the other)
Posted: 12 Sep 2009, 11:57
by MelTraX
There is also a nice map editor. Afaik it's open source so you can also look there.
Re: SPring map files (smt and the other)
Posted: 12 Sep 2009, 17:36
by Karotte
oh no, i dont want to read the source (but i can code C++)
Re: SPring map files (smt and the other)
Posted: 12 Sep 2009, 17:52
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.
Re: SPring map files (smt and the other)
Posted: 14 Sep 2009, 18:04
by Karotte
thx, and have someone the COMPELTE source of mothersmap Conv?