mapconv - Page 15

mapconv

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: mapconv

Post by user »

don't use bmp, tga.

yes this is the newest.

i will remake the first post.
Ifein
Posts: 56
Joined: 23 Mar 2006, 00:44

Re: mapconv

Post by Ifein »

I am using png as image format.
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: mapconv

Post by user »

post the batch file parameters.
post the -z file.
post the -w file.
Ifein
Posts: 56
Joined: 23 Mar 2006, 00:44

Re: mapconv

Post 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;
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: mapconv

Post 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
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: mapconv

Post 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.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: mapconv

Post 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?
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: mapconv

Post 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.
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: mapconv

Post 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.
Ifein
Posts: 56
Joined: 23 Mar 2006, 00:44

Re: mapconv

Post by Ifein »

viewtopic.php?p=264006#p264006

No one can help?
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: mapconv

Post 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.
Ifein
Posts: 56
Joined: 23 Mar 2006, 00:44

Re: mapconv

Post 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
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: mapconv

Post 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.
Ifein
Posts: 56
Joined: 23 Mar 2006, 00:44

Re: mapconv

Post by Ifein »

user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: mapconv

Post 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.
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: mapconv

Post 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.
Ifein
Posts: 56
Joined: 23 Mar 2006, 00:44

Re: mapconv

Post 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
Attachments
test-out.txt
(19.4 KiB) Downloaded 128 times
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: mapconv

Post 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.
Ifein
Posts: 56
Joined: 23 Mar 2006, 00:44

Re: mapconv

Post 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?
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: mapconv

Post 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.
Post Reply

Return to “Map Creation”