Added support for parsing feature placement lua files made by the feature placer (available by launching GUNDAM RTS 1.21 in sandbox mode)
Example line format:
Code: Select all
{ name = 'ad0_baobab_2', x = 2184, z = 1976, rot = "0" },
The command line parameter for this option is -k (example: -k featureplacer_export.txt). Note: the definition of rotation is still the same, as well as a rotation of -1 corresponding to random rotation.
-k featureplacement.lua
Mapconv advanced no scanlines version by Beherith. Also CUDA support added..
http://www.springfiles.com/show_file.php?id=2585
three new options added:
-z "string"
Optional parameter. Defines the texture compression method to be used by nvdxt. MUST contain -file at the END!
-r [number 0 to 255]
randomly rotate the first "number" features in featurelist (fs.txt by default).
Since first feature in fs.txt is number 255 red on feature bitmap.
IMPORTANT: ADDED FEATURES TO FS.TXT
You can specify a number between -32768 to 32767 to specify the rotation amount of that feature.
Multiple definitions allowed. 16384 is 90 deg counterclockwise rotatio, 8192 is 45 deg counterclockwise,
-16384 is 90 deg clockwise.
Example fs.txt:
btreeclo-3
btreeclo-3 0
btreeclo-3 8000
btreeclo-3 16000
btreeclo-3 24000
btreeclo-3 32000
btreeclo-3 -8000
btreeclo-3 -16000
btreeclo-3 -24000
btreeclo-3 -32000
btreeclo-3
-nmips 5 -file"
-q -z "string"
Optional, -q Enables CUDA for geforce 8 and higher gpus. Massive speed increase, less compression
options.
Example:
-q -z "-fast -bc1"
mapconv -c 0 -x 1200 -n -245 -o Grts_HarborA_01.smf -f f.bmp -t t.bmp -m metal.bmp -a HEIGHT.raw -q -z
"-fast -bc1"
mapconv -c 0 -x 1200 -n -245 -o Grts_HarborA_01.smf -f f.bmp -t t.bmp -m metal.bmp -a HEIGHT.raw -q
Examples:
Fastest compile, lowest quality:
MapConv -i -c 0 -x 250 -n 25 -o Zion_v1.smf -t t.bmp -a h.raw -m m.bmp -f f.bmp -z "nvdxt.exe -dxt1a
-nmips 4 -quick -file"
Medium speed, good quality: (CUDA version, requires nvidia 8 or higher series gfx card)
MapConv -i -c 0 -x 250 -n 25 -o Zion_v1.smf -t t.bmp -a h.raw -m m.bmp -f f.bmp -q
Slow, great quality:
MapConv -i -c 0 -x 250 -n 25 -o Zion_v1.smf -t t.bmp -a h.raw -m m.bmp -f f.bmp
Slower, best possible quality:
MapConv -i -c 0 -x 250 -n 25 -o Zion_v1.smf -t t.bmp -a h.raw -m m.bmp -f f.bmp -z "nvdxt.exe -dxt1a
-nmips 4 -Sinc -quality_highest -file"
MAY NOT SUPPORT LARGE MAPS OF 32*32 SIZE!!
If you need help, Im reachable at mysterme at gmail dot com