Page 15 of 18

Re: mapconv

Posted: 04 Mar 2008, 16:48
by user
don't use bmp, tga.

yes this is the newest.

i will remake the first post.

Re: mapconv

Posted: 04 Mar 2008, 23:48
by Ifein
I am using png as image format.

Re: mapconv

Posted: 05 Mar 2008, 01:29
by user
post the batch file parameters.
post the -z file.
post the -w file.

Re: mapconv

Posted: 05 Mar 2008, 05:23
by Ifein
The black map issue is solved. nvdxt.exe was not in the directory.

But the texture still is not correct.
The minimap, as produced by mapconv, shown in lobby and as minimap in spring:
Image
how the map actually looks in spring:
Image

Image

my setup:
mapconv.exe -l -i -x 500 -n 50 -m test-mm.png -a test-hm.png -t test-tm.png -f test-fm.png -c 0.5 -o testab.smf -z test-compressor.txt -w test-special.txt

test-compressor.txt:
nvdxt.exe -file temp\*.png -nmips 5 -dxt1 -box -fadeamount 0

test-special.txt:
keepminimap;
formatpng;
smooth5x5;

Re: mapconv

Posted: 23 Mar 2008, 18:04
by very_bad_soldier
user are you still working on mapConv or is it "final" now for the next time? I would like to do a new version of the MapMaker-GUI to include your new features.

viewtopic.php?f=13&t=9406

Re: mapconv

Posted: 26 Mar 2008, 15:08
by user
later i will make more stuff for it, such as a way to easily make smoothing matrices size without have to code lots of lines.
there are more things i will make, i don't remember all.

i still have to add more defaults for some parameters, and fix some more things.

most of the new things will be filters for the height map, or something like that.

Re: mapconv

Posted: 26 Mar 2008, 17:55
by BrainDamage
is there a place where one could get the sources of the current version? and do you think it would compile under linux?

Re: mapconv

Posted: 26 Mar 2008, 23:48
by user
in SVN you will find the newest, it misses some stuff, from recent editing, i will go check if it is 1.3 source, in the description i made it was 1.2.
it may compile in linux, but i still haven't made support for it, so it probably shouldn't work.

to add linux support, with just a few editing would work.

Re: mapconv

Posted: 27 Mar 2008, 00:02
by user
after looking on SVN a bit, it looks like it is the newest, i haven't released any 1.3 yet, because i haven't made one, i really want to make
the next version of this thing, it will have a new way of smoothing stuff,
and i will try to fix invert y parameter.

Re: mapconv

Posted: 01 Apr 2008, 22:48
by Ifein
viewtopic.php?p=264006#p264006

No one can help?

Re: mapconv

Posted: 01 Apr 2008, 23:01
by user
try using version 1.2 without -w and -z parameters, i mean use this command:

Code: Select all

mapconv.exe -l -i -x 500 -n 50 -m test-mm.png -a test-hm.png -t test-tm.png -f test-fm.png -c 0.5 -o testab.smf
if it doesn't help, post a image showing the texture, so i can see what went wrong.

Re: mapconv

Posted: 01 Apr 2008, 23:50
by Ifein
user wrote:try using version 1.2 without -w and -z parameters, i mean use this command:

Code: Select all

mapconv.exe -l -i -x 500 -n 50 -m test-mm.png -a test-hm.png -t test-tm.png -f test-fm.png -c 0.5 -o testab.smf
Does not change anything.
if it doesn't help, post a image showing the texture, so i can see what went wrong.
Same as in:

viewtopic.php?p=264006#p264006

Re: mapconv

Posted: 01 Apr 2008, 23:54
by user
if it doesn't help, post a image showing the texture, so i can see what went wrong.
i mean the correct texture.

Re: mapconv

Posted: 02 Apr 2008, 00:10
by Ifein

Re: mapconv

Posted: 02 Apr 2008, 01:43
by user
ok, i will be testing it to see if i get the same results.


updated the first post, but it is still not finished.

Re: mapconv

Posted: 02 Apr 2008, 03:10
by user
for me the map works, no weird issues, using:

batch file:

Code: Select all

MapConv.exe -w options.txt -z line.txt -p -k 5 -b 3 -r 8 -u 8 -x 128 -n -127 -i -l -f feature.png -m metal.png -a heightmap.png -t texture.png -y typemap.png -o TestMap.smf -c 0.4 -q 100
pause


options:

Code: Select all

featuretolerance;
keepminimap;
formatpng;
minimap-fast;
smooth3x3;
line:

Code: Select all

nvdxt.exe -file temp\*.png -dxt1 -dither -point -nmips 5
try using the options i posted, if it doesn't works, then post here the messages you get when compiling.

Re: mapconv

Posted: 02 Apr 2008, 03:56
by Ifein
I used your settings, but same result for me.
The output is in test-out.txt.

And there were these (known) minor errors:
- temp directory already exists.
- Could not find ...\Temp*.png.raw

Re: mapconv

Posted: 05 Apr 2008, 01:49
by user
it doesn't finds the tile files, or some thing like that. that was a very common error when testing old development versions.

try moving everything (mapconv and nvdxt executables and the map files) to a new directory in C:\, like C:\mapconv or anything like that.

then try it again, then post here the results you get.

Re: mapconv

Posted: 07 Apr 2008, 22:37
by Ifein
I did that. Now there aren't textures anymore.

With your command line, the height seems somehow a bit broken.

Image

Image

Using my command line, height is okay. But still no textures.

Image

Maybe the other way around:
Can someone provide me the working source files for a sample map and I try to compile that?

Re: mapconv

Posted: 07 Apr 2008, 23:35
by user
that looks like the result of renaming the map files after compilation,
what you must not do is, example:

you have the map files named:

a.smt
a.smf

then you rename them to:

map.smt
map.smf

the textures won't load.