Trouble with map2dif_plus
by Kenneth Armstrong · in Artist Corner · 03/04/2006 (4:51 pm) · 2 replies
OK, I'm building my .map file in Milkshape, because, well, I can not stand Hammer or QuArK (I am used to GTKRadient, and I haven't seen any support for it with Torque). Anyways, I build my building model in Milkshape, export it using Generic Map->Torque in the "Export" menu. I place my .map file into C:\Torque\SDK\Tools (since that is where my map2dif_plus.exe is) along with my "generic.jpg" (just to test with). Here is a portion of my .map file showing that my texture is named in the file itself:
"// Brush Name: arch1
// Material Name: generic.jpg
{
( 14 21 0 ) ( 12 21 0 ) ( 14 21 28 ) generic.jpg 0 0 0 1 1
( 31 26 0 ) ( 36 26 0 ) ( 31 26 28 ) generic.jpg 0 0 0 1 1
( 36 21 43 ) ( 36 26 0 ) ( 36 21 0 ) generic.jpg 0 0 0 1 1"
Now, I've tried to use the program from the command line, using this:
C:\Torque\SDK\tools>map2dif -h -o c:\torque\sdk\tools -t c:\torque\sdk\tools chu
rch_new.map
Successfully opened map file: church_new.map
Parsing mapfile...
Then I get a Windows Message box stating that it can not find my generic.jpg texture.
So then I tried this:
C:\Torque\SDK\tools>map2dif -h -o c:\torque\sdk\tools -t c:\torque\sdk\tools\ge
eric.jpg church_new.map
Successfully opened map file: church_new.map
Parsing mapfile...
Then again, the same messagebox error.
I even tried:
C:\Torque\SDK\tools>map2dif -s -h -e -o c:\torque\sdk\tools church_new.map
Successfully opened map file: church_new.map
Parsing mapfile...
Still no luck.
What am I doing wrong? And is there a way to use GTKRadient with Torque? I tried loading my .map files from Milkshape into QuArK and Hammer, and both programs either screw the model up, or it can't load it at all.
Any help would be greatly appreciated.
"// Brush Name: arch1
// Material Name: generic.jpg
{
( 14 21 0 ) ( 12 21 0 ) ( 14 21 28 ) generic.jpg 0 0 0 1 1
( 31 26 0 ) ( 36 26 0 ) ( 31 26 28 ) generic.jpg 0 0 0 1 1
( 36 21 43 ) ( 36 26 0 ) ( 36 21 0 ) generic.jpg 0 0 0 1 1"
Now, I've tried to use the program from the command line, using this:
C:\Torque\SDK\tools>map2dif -h -o c:\torque\sdk\tools -t c:\torque\sdk\tools chu
rch_new.map
Successfully opened map file: church_new.map
Parsing mapfile...
Then I get a Windows Message box stating that it can not find my generic.jpg texture.
So then I tried this:
C:\Torque\SDK\tools>map2dif -h -o c:\torque\sdk\tools -t c:\torque\sdk\tools\ge
eric.jpg church_new.map
Successfully opened map file: church_new.map
Parsing mapfile...
Then again, the same messagebox error.
I even tried:
C:\Torque\SDK\tools>map2dif -s -h -e -o c:\torque\sdk\tools church_new.map
Successfully opened map file: church_new.map
Parsing mapfile...
Still no luck.
What am I doing wrong? And is there a way to use GTKRadient with Torque? I tried loading my .map files from Milkshape into QuArK and Hammer, and both programs either screw the model up, or it can't load it at all.
Any help would be greatly appreciated.
About the author
Torque Owner Charles Andrew