资 源 简 介
SM2 map compiler/decompiler
A Spring SM2 map compiler and decompiler that uses lua as data description language for specifying maps and libsquish for dxt1 texture compression.
It is otherwise the original mapconv source code.
mapconv
To use mapconv, create a Lua map description like the example.map included:
mapc.exe mymap.map
To reduce the amount time this program takes, dither the texture first to reduce the number of colors. This can be done with GIMP, for example to reduce to 256 colors:
1) Image->Mode->Indexed, then Generate Optimum palette 256 colors, Dithering: Floyd-steinberg. OK.
2) Image->Mode->RGB to get the image back to RGB format
3) Save as BMP, 24-bit.
mapdeconv
To use mapdeconv, unzip the sd7 spring map file. For example:
7z e SmallDivide.sd7mapdeconv.exe SmallDivide.smf
If all goes well, it will output three files: