My SMF/SMT Map Decompiler

My SMF/SMT Map Decompiler

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

Moderator: Moderators

Post Reply
prodigy
Posts: 14
Joined: 19 Apr 2009, 04:58

My SMF/SMT Map Decompiler

Post by prodigy » 20 Apr 2009, 15:04

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
1 x

User avatar
Otherside
Posts: 2296
Joined: 21 Feb 2006, 14:09

Re: My SMF/SMT Map Decompiler

Post by Otherside » 20 Apr 2009, 15:21

nice i will deffo be making remakes of some maps with this programs using l3dt :]
0 x

User avatar
AF
AI Developer
Posts: 20669
Joined: 14 Sep 2004, 11:32

Re: My SMF/SMT Map Decompiler

Post by AF » 20 Apr 2009, 15:24

Good work ^_^
0 x

prodigy
Posts: 14
Joined: 19 Apr 2009, 04:58

Re: My SMF/SMT Map Decompiler

Post by prodigy » 21 Apr 2009, 04:41

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.
0 x

Atorpy
Posts: 41
Joined: 11 May 2006, 08:57

Re: My SMF/SMT Map Decompiler

Post by Atorpy » 22 Apr 2009, 23:42

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.
0 x

Senethril
Posts: 39
Joined: 04 Oct 2013, 18:20

Re: My SMF/SMT Map Decompiler

Post by Senethril » 10 May 2017, 00:55

I tested it but i receive theses lines or errors:
Voltic Plateau v2.smf:1: '=' expected near 'map'
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14601
Joined: 17 Nov 2005, 02:43

Re: My SMF/SMT Map Decompiler

Post by Forboding Angel » 10 May 2017, 10:15

jsut use l3dt to unpack them.
0 x

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10238
Joined: 24 Jan 2006, 21:12

Re: My SMF/SMT Map Decompiler

Post by PicassoCT » 14 May 2017, 12:57

Can one use svg by now to make maps?
0 x

Post Reply

Return to “Map Creation”