Page 1 of 1

My SMF/SMT Map Decompiler

Posted: 20 Apr 2009, 15:04
by prodigy
I have made a map decompiler. You can download it here:

http://mapc.googlecode.com/files/mapdeconv.zip

unzip this and put the mapdeconv.exe in your path.

To use it, unzip the sd7 spring map file. For example:

Code: Select all

7z e SmallDivide.sd7
mapdeconv.exe SmallDivide.smf
If all goes well, it will output three files:

heightmap16bit.raw
metalmap.bmp
texture.bmp

Now you can important the height map into another program like L3DT and create a new texture for example to change the climate.

The texture.bmp that is output seems to lose some quality due to the lossy DXT1 compression.

I will add type map and feature map output in the future.

Source code is availble http://code.google.com/p/mapc/source/br ... /mapdeconv

Re: My SMF/SMT Map Decompiler

Posted: 20 Apr 2009, 15:21
by Otherside
nice i will deffo be making remakes of some maps with this programs using l3dt :]

Re: My SMF/SMT Map Decompiler

Posted: 20 Apr 2009, 15:24
by AF
Good work ^_^

Re: My SMF/SMT Map Decompiler

Posted: 21 Apr 2009, 04:41
by prodigy
Using mapdeconv I have got the height map from DeltaSiegeDry and am experimenting with L3DT using that height map.

The only catch with the raw height map is that when saving the project in L3DT, you have to change the heightmap format in the preferences.

Re: My SMF/SMT Map Decompiler

Posted: 22 Apr 2009, 23:42
by Atorpy
Hi Prodigy,
Prodigy wrote: The only catch with the raw height map is that when saving the project in L3DT, you have to change the heightmap format in the preferences.
Oops, I'll fix that for the next release. I apologise for the inconvenience.

For what it's worth, L3DT also includes a map decompiler that loads SD7 files. You can access it from the 'Extensions->L3DTio_Spring->Import->Spring map file' menu option. Please note that this feature was buggy on multi-core systems in previous releases, but this has been fixed in the latest build of L3DT Pro (v2.7 build 8).

Cheerio,
Aaron.

Re: My SMF/SMT Map Decompiler

Posted: 10 May 2017, 00:55
by Senethril
I tested it but i receive theses lines or errors:
Voltic Plateau v2.smf:1: '=' expected near 'map'

Re: My SMF/SMT Map Decompiler

Posted: 10 May 2017, 10:15
by Forboding Angel
jsut use l3dt to unpack them.

Re: My SMF/SMT Map Decompiler

Posted: 14 May 2017, 12:57
by PicassoCT
Can one use svg by now to make maps?