mapconv
Moderator: Moderators
Re: mapconv
Oh! One quick question: what should I make the value of -u and -r, if I want to scale the map up? Previously, it failed if I changed those values from 16, 16 for my map...
Re: mapconv
what is the size you want?, and add -b 3, and try using smooth3x3.
smooth5x5 seems to have a problem with big maps.
maybe it is because the amount of floating point operations done, it is very big for 16x16 maps with 5x5 smoothing.
smooth5x5 seems to have a problem with big maps.
maybe it is because the amount of floating point operations done, it is very big for 16x16 maps with 5x5 smoothing.
Last edited by user on 10 Feb 2008, 21:29, edited 1 time in total.
Re: mapconv
Wow you are moving fast.
What is the final goal?
What is the final goal?
Re: mapconv
the current goal, is to make this tool good for mapping.
old mapconv had alot of problems, and nobody wanted to "waste" time fixing it.
i am improving mapconv and fixing its problems , to make it good for mapping.
old mapconv had alot of problems, and nobody wanted to "waste" time fixing it.
i am improving mapconv and fixing its problems , to make it good for mapping.
Re: mapconv
I just wanted to see if I can resize from 16/16 to 32/32, just to test how that works.what is the size you want?
Re: mapconv
you can, but you need alot of memory for it, since rescaling a 10x10 to
16x16 takes about 150mb in the pagefile.
the good thing in rescaling, is that it is faster, and better than rescaling in an image editor, in an image editor, rescaling a 5120x5120 to 8192x8192 takes about 300-400mb or even more in the pagefile, and image editors dont have the mitchell rescaling filter.
does smooth5x5 works for you in a 16x16 map?
for me it crashes when it is starting.
for any other size it does work.
i am looking at it to find what is the problem.
16x16 takes about 150mb in the pagefile.
the good thing in rescaling, is that it is faster, and better than rescaling in an image editor, in an image editor, rescaling a 5120x5120 to 8192x8192 takes about 300-400mb or even more in the pagefile, and image editors dont have the mitchell rescaling filter.
does smooth5x5 works for you in a 16x16 map?
for me it crashes when it is starting.
for any other size it does work.
i am looking at it to find what is the problem.
Re: mapconv
Still getting this 1 error message now.
I've made the changes, it compiles and I get only 1
error now.
Could Not Find D:\Spring-Maps\Tower-map\Build-4\temp\Temp*.png.Raw
Also, my Geos from the feature map isn't creating the
Geos.
I've made the changes, it compiles and I get only 1
error now.
Could Not Find D:\Spring-Maps\Tower-map\Build-4\temp\Temp*.png.Raw
Also, my Geos from the feature map isn't creating the
Geos.
Re: mapconv
Code: Select all
Could Not Find D:\Spring-Maps\Tower-map\Build-4\temp\Temp*.png.Raw
Code: Select all
Could Not Find D:\Spring-Maps\Tower-map\Build-4\temp\Temp*.dds
Re: mapconv
This what I've got in the special.txt
ignoreheight;
keepminimap;
smooth3x3;
featuretolerance;
formatpng;
This waht I've got in the compressor.txt
nvdxt.exe -file temp\*.png -nmips 5 -dxt1 -box -fadeamount 0
An this is whats in the bat file
mapconv.exe -l -i -x 275 -n 53 -m mi-mm10.png -a mi-hm10.png -t T-Delta-Map-1.png -f mi-mf8.png -c 0.5 -o Marble-Isles-V1.4.smf -q 100 -z compressor.txt -w special.txt
ignoreheight;
keepminimap;
smooth3x3;
featuretolerance;
formatpng;
This waht I've got in the compressor.txt
nvdxt.exe -file temp\*.png -nmips 5 -dxt1 -box -fadeamount 0
An this is whats in the bat file
mapconv.exe -l -i -x 275 -n 53 -m mi-mm10.png -a mi-hm10.png -t T-Delta-Map-1.png -f mi-mf8.png -c 0.5 -o Marble-Isles-V1.4.smf -q 100 -z compressor.txt -w special.txt
Re: mapconv
remove ignoreheight and featuretolerance, i will try to find what is the problem.
Re: mapconv
[MAP]
{
stuff
[WATER]
{
other stuff about water
WaterRepeatX=4;
WaterRepeatY=4;
}
}
argh remember this?
is this exactly how it should be done? i tried it and it failed..
{
stuff
[WATER]
{
other stuff about water
WaterRepeatX=4;
WaterRepeatY=4;
}
}
argh remember this?
is this exactly how it should be done? i tried it and it failed..
Re: mapconv
cant you use normal water?
if WaterRepeat doesnt works, i have made a widget that renders water,
and the water can be customized.
if WaterRepeat doesnt works, i have made a widget that renders water,
and the water can be customized.
Re: mapconv
1.2 is done now, but i will wait some time, to see if there arent any bugs.
Re: mapconv
I took out the 2 line from the special.txt file
Here is some of the text output before the error
happens.
Here is some output
calculating map id
map id:7915169397671523391
converting it to something that can be used in spring...
map id:2101408832
saving heightmap...
saving type map...
creating minimap..
version 8.30
Reading mini.png [Processing] Writing .\mini.dds
saving minimap...
Creating tiles 480/1024 0%
.
.
.
.
Creating tiles 70636/112640 100%
Saving metal map...
current metalmap width:1409
current metalmap height:1281
Writing 0 features
Could Not Find D:\Spring-Maps\Tower-map\Buld-4\temp\Temp*.png.raw
Press any key to continue . . .
The only thing I didn't get was the type map statement ...
I'm not using a type map?
Here is some of the text output before the error
happens.
Here is some output
calculating map id
map id:7915169397671523391
converting it to something that can be used in spring...
map id:2101408832
saving heightmap...
saving type map...
creating minimap..
version 8.30
Reading mini.png [Processing] Writing .\mini.dds
saving minimap...
Creating tiles 480/1024 0%
.
.
.
.
Creating tiles 70636/112640 100%
Saving metal map...
current metalmap width:1409
current metalmap height:1281
Writing 0 features
Could Not Find D:\Spring-Maps\Tower-map\Buld-4\temp\Temp*.png.raw
Press any key to continue . . .
The only thing I didn't get was the type map statement ...
I'm not using a type map?
Re: mapconv
cani have the widget to cutomize water please.
and i have to insert the widget into the map?
and i have to insert the widget into the map?
Re: mapconv
does the map loads on spring?,
this will happen if everything is correct, and no errors.
have you added the parameter -y typemap?, is the name correct?
about the widget, i will make a topic on lua scripts forum, it will come with 3 lua files, and the main image.
Code: Select all
Writing 0 features
Could Not Find D:\Spring-Maps\Tower-map\Buld-4\temp\Temp*.png.raw
Press any key to continue . . .
this will happen if everything is correct, and no errors.
have you added the parameter -y typemap?, is the name correct?
about the widget, i will make a topic on lua scripts forum, it will come with 3 lua files, and the main image.
Re: mapconv
The map compiles, but still getting that 1 error. I recompiled it with a type map in it.
Still getting that 1 error statement ...
On the other hand the texture looks much better now ...
New build ... main texture looks better ..


Old build ... main texture NOT so good ...


I will try a few other things ...
Still getting that 1 error statement ...

On the other hand the texture looks much better now ...
New build ... main texture looks better ..


Old build ... main texture NOT so good ...


I will try a few other things ...
Re: mapconv
old one was made using texcompress, nvdxt is much better.
this is not an error, allways happens.
Code: Select all
Could Not Find D:\Spring-Maps\Tower-map\Buld-4\temp\Temp*.png.raw
this is not an error, allways happens.
Re: mapconv
ok.thereis no documentation of all the new features.
Can you please even just post here giving an example compilation files with al the commands and a short explanation about what they do.
CAn you please tell me what else do i need except of what is listed here:
http://spring.clan-sy.com/wiki/Maps:Compiling
all i need is how the old converter worked only without the lines running along the map nothing else
Can you please even just post here giving an example compilation files with al the commands and a short explanation about what they do.
CAn you please tell me what else do i need except of what is listed here:
http://spring.clan-sy.com/wiki/Maps:Compiling
all i need is how the old converter worked only without the lines running along the map nothing else
Re: mapconv
it is all on the readme, if you wait some time, 1.2 will be released, -w -z will be optional.
i will try to make the readme better, argh has made an example compilation file, it is included in the package, he is making some more.
it seems that the mapping wiki is outdated now.
the commands:
-w <text file>
example:
-w options.txt
in the file:
featuretolerance;
ignoreheight;
smooth3x3;
formatpng;
all the possible options for the file are:
featuretolerance;
ignoreheight;
minimap-fast; -new in 1.2
keepminimap;
smooth3x3;
smooth5x5;
smooth7x7; -new in 1.2
formatpng;
formatrgb;
formattif;
formatdds;
formatjpg;
formattga;
formatppm;
formatbmp;
only one of the formats and smooth matrices must be on the file.
-z <text file> example:
-z line.txt
in the file:
nvdxt.exe -file temp\*.png -dither -dxt1 -point -fadeamount 0
-k <number> ,k will only work if -w is being used, and -w must have
one of those options: (k is the number of iterations for smoothing)
smooth3x3;
smooth5x5;
smooth7x7;
the old converter would allways have lines, in this you can choose the compressor.
i will try to make the readme better, argh has made an example compilation file, it is included in the package, he is making some more.
it seems that the mapping wiki is outdated now.
the commands:
-w <text file>
example:
-w options.txt
in the file:
featuretolerance;
ignoreheight;
smooth3x3;
formatpng;
all the possible options for the file are:
featuretolerance;
ignoreheight;
minimap-fast; -new in 1.2
keepminimap;
smooth3x3;
smooth5x5;
smooth7x7; -new in 1.2
formatpng;
formatrgb;
formattif;
formatdds;
formatjpg;
formattga;
formatppm;
formatbmp;
only one of the formats and smooth matrices must be on the file.
-z <text file> example:
-z line.txt
in the file:
nvdxt.exe -file temp\*.png -dither -dxt1 -point -fadeamount 0
-k <number> ,k will only work if -w is being used, and -w must have
one of those options: (k is the number of iterations for smoothing)
smooth3x3;
smooth5x5;
smooth7x7;
the old converter would allways have lines, in this you can choose the compressor.