Page 1 of 1

A simple Spring map compilation "tool"

Posted: 28 Jan 2014, 17:19
by ismo
Hi all,

I made a small tool, which uses Beherith's mapconv, to make Spring maps fast (fast also means here not so great quality and so far limited control on creation). Fast here does not refer to fast compiling of map, but to minimal amount of input needed. Anyways I found this tool I made in 2009/2010, thus now other people can try it too - in case they want.

Description
A small odd tool to create spring map based on height map and texture map (feature and metal map are created automatically based on uniform random field)

Requirements
- 7-zip installed at c:\program files\7-zip\7z.exe if this is not the case then update last line of make.bat
- Other tool to create height and texture maps (such as L3DT, etc)
- Windows :D
Remark: Beherith's mapconv is "embedded" in the tool (see downloads below). Version might be old one.

Input files (change these to impact map to be created)
- input\map.smd - smd of the map (start positions, etc)
- input\heightmap.bmp - must be of size (512+1) x (512+1) 24-bit BMP for heightmap
- input\texturemap.bmp - must be of size 4096 x 4096 24-bit BMP for texturemap
-> Thus hardcoded to do 8x8 Spring maps for the time being.
Remark: sample input files are included in the downloadable tool.

Usage:
make.bat outputFilename
Example: make.bat TestMap2014

Output Files (created in process)
- featuremap.bmp
- metalmap.bmp
- and map file to newmap folder (.sd7 file)
(- some files in temp folder while compressing textures)

Other
- Rocks do not work yet
- Geos do not work yet
(both are invisible for some reason so far)

Coming
- Support for other map resolutions
- Hopefully fix for rocks and geos
- Better control over creation: number of trees / mexes, etc
- Clustered trees (like they are in nature)
- Source files, once I clean it up "a bit"

Known issues
- Mexes may be generated to positions where they are impossible to use.

Download
Tool: http://filebin.net/4qsc6i3lif (sorry for big download size, includes test texture and height map - jpeg texturemap format not supported yet)
Example map file (does not show trees as taken from mapconv's minimap.bmp): http://springfiles.com/spring/spring-maps/test-map-2014

P.S. I am not responsible if this tool causes you physical or spiritual pain.

Re: A simple Spring map creator "tool"

Posted: 28 Jan 2014, 19:51
by smoth
should change thread to map "COMPILATION tool."

Re: A simple Spring map creator "tool"

Posted: 29 Jan 2014, 01:04
by Forboding Angel
If you would add support for blueprint + SSMF and spring features, you could have randomly generated excellent looking worlds pretty easily.

Re: A simple Spring map compilation "tool"

Posted: 29 Jan 2014, 07:25
by ismo
Smoth, thanks for correction - changed title.

Forbidden Angel, interesting. I have no idea what blueprint is but that ssmf is new map format. I will look those once I progress first otherwise with the tool.

Re: A simple Spring map compilation "tool"

Posted: 29 Jan 2014, 21:44
by PicassoCT
Me and my most tolerant friends think that devWhine beeings develop maps.. this generator plus a random generator is a insult to our faith.
We have a cease and desist order here- plus a wild mob of lawyers :)

Re: A simple Spring map creator "tool"

Posted: 28 Aug 2014, 00:20
by Sereiya
Forboding Angel wrote:If you would add support for blueprint + SSMF and spring features, you could have randomly generated excellent looking worlds pretty easily.
Randomly generated maps - that sounds awesome!
Is there still anyone taking active part on this?