Game Development Community

Map2dif

by Ari J · in Torque Game Engine · 10/18/2004 (7:12 am) · 42 replies

Ok so i got my .map file... i drag it onto map2dif, there pops up a black window for 0.5 seconds and then....

Then what? where did it export the file to!?!?
Page «Previous 1 2 3 Last »
#1
10/18/2004 (7:31 am)
Look in the directory where map2dif is located. Also look in the directory you're dragging it from.

You should really use map2dif from the command line rather than the windows interface. It will allow you much more customization. Start->Run CMD for 2000/XP, or Command for 9x/ME. Start a terminal window on the Mac or Linux.
#2
10/18/2004 (8:02 am)
It seems that Run CMD doesn't locate the map2dif
#3
10/18/2004 (8:13 am)
Well, you'll have to go to the directory that map2dif is in or else add it to your path.
#4
10/18/2004 (9:12 am)
Well i did, but it still didn't work, can I load it up in MSYS?
#5
10/18/2004 (9:53 am)
You probably could, but you're adding a layer of complexity by doing that. I've never had a problem running it from a command prompt. Try copying it to the root of C and see if the problem is that the directory information is longer than 255 characters or something.
#6
10/18/2004 (10:43 am)
Still no results :(
#7
10/18/2004 (2:27 pm)
Are you getting a "file not found" error?
#8
10/19/2004 (8:52 am)
Figure it out yet, Ari? I'm concentrating on map2dif right now in what I'm doing, feel free to keep posting if you can't get it to work. It shouldn't be the thing that slows you down!
#9
10/20/2004 (3:59 am)
Haha thanks.

I just can't run the damn thing!
#10
10/20/2004 (5:30 am)
Could you tell us exactly what you are doing when you're trying to run it?
I do something like this:
Windows - Run
I enter "cmd"
In the console window I first type cd C:\
then cd tge
then cd example
then cd data
then cd interiors
and last I typ map2dif

Are you doing anything in a different way?
#11
10/20/2004 (9:49 am)
I always cd to the torque tools for windows folder where the map2dif exe is located :S
#12
10/20/2004 (9:51 am)
Hey, would you look at that, I solved the problem on my own :D sry for bothering you guys, and thank you anyways. :)
#13
10/24/2004 (1:07 am)
So what is the full command line to type at the prompt, once you're in the torque/tools directory, and does the map. file have to be in there as well? thanks.
#14
10/24/2004 (1:12 am)
@Ari:

Share your solution incase others have the same problem and look in this thread in the future.

@Robert:

Easiest is indeed having both the tool and the map in the same folder if you're running from the command prompt.

Start CMD via Start/Run (Windows)
Map2Dif *****.map

Where ***** is the name of the map.
You can add alot of keys to the parse, but it'll be more complex.

Incase you're curious, just type Map2dif and it will give you it's list of commands and variables.
#15
10/24/2004 (1:47 am)
Thanks for the quick reply Stefan :) I figured it out by trial and error, and ended up doing exactly what you suggested. If I can push my luck a tad, the textures for one of my map.files are in the same folder as the map, but I got an error about not being able to find a particular texture, even though they are all there. I tried a second small map, and got the following error :"Parsing map file...error processing entity on or near line: orc_tower.map: 2error parsing map file:orc_tower.map" Any idea what I'm doing wrong? Thanks again for any replies.
#16
10/24/2004 (2:04 am)
You got the newest Map2Dif?

Are you sure the texture's filename doesn't contain spaces or odd characters that might make it fail?

Did you place any entities that do not belong to Torque?
#17
10/24/2004 (10:31 am)
You might also want to look at this resource: Map2dif GUI Interface for map2dif.exe


Makes it a little easier than dealing with dos commands if you aren't compiling it from within Quark or some other editor.
#18
10/24/2004 (11:03 am)
Stefan: I downloaded the latest engine version 1-3-0, so I assume the latest version of map2dif is included. You could be right about the filename, I know at least 1 texture has a elongated name. And there are no entities included in either map, just the respective buildings, no lights, no anything. Would a detail brush affect the conversion like this?

Scott: Thanks for the link, I'm gonna give that a shot and see if it eases the load. I would happily use hammer (3.4) to do this, but I can't get it to open any wad files when I start it up.

Cheers.
#19
10/24/2004 (11:43 am)
@Robert:

Detail brushes are part of Torque.. shouldn't be any problems.
If you want to upload the interior object somewhere, me or someone else can take a look at it or just test it ourselves.
#20
10/24/2004 (10:27 pm)
Thanks for the offer Stefan, I'll see about getting it uploaded....I am tempted to try rebuilding it, and see if that makes any difference. Thanks again.
Page «Previous 1 2 3 Last »