MapConvNG: Difference between revisions
From Spring
Jump to navigationJump to search
looked up the options to mapconvng and added them here nicely formatted. |
m forgot about 80 column word wrap |
||
| Line 44: | Line 44: | ||
Feature file: | Feature file: | ||
Each line is a feature instance and has the fields in the following order [tdfname] [xpos] [ypos] [zpos] [rotation yaxis] | Each line is a feature instance and has the fields in the following order | ||
If you specify less than -490000 as ypos , it will calculate ypos depending on terrain height | [tdfname] [xpos] [ypos] [zpos] [rotation yaxis] | ||
Please do not leave whitespaces at the end or it will give errors. | |||
If you specify less than -490000 as ypos , it will calculate ypos | |||
depending on terrain height | |||
noclamp: | noclamp: | ||
disables heightmap clamping to max-min values , you should avoid using that , cause you lose precision, if you want less high landscape use maxh and minh | disables heightmap clamping to max-min values , you should avoid using that, | ||
cause you lose precision, if you want less high landscape use maxh and minh | |||
Compression Type: | Compression Type: | ||
1: No compression | 1: No compression | ||
2: Fast compression , compare tile with last -ccount tiles , take first which difference is below -th | 2: Fast compression , compare tile with last -ccount tiles , take first | ||
3: Insane Compression: compare each tile with whole map , it is very SLOW, not recomended | which difference is below -th | ||
4: High quality Fast compression: Slightly slower than 2 , it searchs for less different tile in last -ccount tiles | 3: Insane Compression: compare each tile with whole map , it is very SLOW, | ||
not recomended | |||
4: High quality Fast compression: Slightly slower than 2 , it searchs for | |||
less different tile in last -ccount tiles | |||
</pre></code> | </pre></code> | ||
[[Category:Map_tools]] | [[Category:Map_tools]] | ||
Revision as of 08:04, 19 May 2012
MapConvNG is a complete rewrite of MapConv to work flawlessly on linux and on windows (But it doesn't yet). It also contains smfdecompiler.
Download
- Win32
- Win64
- debian package
- Ubuntu ppa
- Forum Thread: http://springrts.com/phpbb/viewtopic.php?f=13&t=26669
Sources
git clone git://github.com/tizbac/SpringMapConvNG.git
https://github.com/tizbac/SpringMapConvNG
What the help output should look like
Usage:
springMapConvNG [options…] -t <texturemap> -o <output filename>
General Options:
-h help
-o <string> output file name
Map Options:
-features <string> features file
-minimap <string> minimap image
-maxh <float> white height value
-minh <float> black height value
-noclamp Disables height map clamping, explained below.
-smooth Smooth
Texture Map Inputs:
-h <string> height map
-m <string> metal map
-t <string> texture map
-v <string> vegetation map
-z <string> type map
Compilation Options:
-ct <integer> compression type 1,2,3 or 4 explained below.
-ccount <integer> compare_tilecount
-th <float> compression level
Feature file:
Each line is a feature instance and has the fields in the following order
[tdfname] [xpos] [ypos] [zpos] [rotation yaxis]
Please do not leave whitespaces at the end or it will give errors.
If you specify less than -490000 as ypos , it will calculate ypos
depending on terrain height
noclamp:
disables heightmap clamping to max-min values , you should avoid using that,
cause you lose precision, if you want less high landscape use maxh and minh
Compression Type:
1: No compression
2: Fast compression , compare tile with last -ccount tiles , take first
which difference is below -th
3: Insane Compression: compare each tile with whole map , it is very SLOW,
not recomended
4: High quality Fast compression: Slightly slower than 2 , it searchs for
less different tile in last -ccount tiles