Using Vmex

Using Vmex

Re: Using Vmex Posted by $loth on Sun Feb 27th 2005 at 8:48am
$loth
2256 posts
Posted 2005-02-27 8:48am
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
Hi, downloaded and installed everything needed for it but one problem,
I suck at comand line type stuff. On the website it says to do this:

To run VMEX, open a command prompt or DOS box in the folder containing the maps and vmex files. Vmex is run using the command:

<code>vmex [options] <mapname.bsp>

</code>

<code>First, how do I open up command prompt or a dos box in the
folder (the location is C:\Documents and Settings\Alex
PC\Desktop\de-compiling\vmex092). Thats all, I think the I can do the
options and that.

</code>
Re: Using Vmex Posted by Crono on Sun Feb 27th 2005 at 9:13am
Crono
6628 posts
Posted 2005-02-27 9:13am
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
start > run > cmd

"C:\Documents and Settings\Alex PC\Desktop\de-compiling\vmex092\vmex [options go here] <mapname.bsp>"

will sufficiently run it. You can even take that one line with an execute command in a batch file and all you have to do is double click (you have to change the options and map if they're different of course.)

By the way, you DO need the double quotes because there are spaces in the path.
Re: Using Vmex Posted by $loth on Sun Feb 27th 2005 at 9:30am
$loth
2256 posts
Posted 2005-02-27 9:30am
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
I copyed and pasted it in, and tried with de_train.bsp and no options
(AFAIK they are optional). But it came up with is not recognised as an
internal or external command, operable program or batch file.
Re: Using Vmex Posted by Crono on Sun Feb 27th 2005 at 9:42am
Crono
6628 posts
Posted 2005-02-27 9:42am
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
That's because you don't type [] or <>

I would imagine if you put in:

"C:\Documents and Settings\Alex PC\Desktop\de-compiling\vmex092\vmex de_train.bsp"

And, I bet you'll need the full path of the bsp too if it isn't in that "vmex092" directory.

I'm sure you can figure out from here. And, maybe "vmnex" isn't the program name. Maybe it needs ".exe" at the end. I don't know, It's not on my computer so I can't check :razz:
Re: Using Vmex Posted by Forceflow on Sun Feb 27th 2005 at 9:57am
Forceflow
2420 posts
Posted 2005-02-27 9:57am
2420 posts 451 snarkmarks Registered: Nov 6th 2003 Occupation: Engineering Student (CS) Location: Belgium
You can "browse" to a folder in dos like this:

start->run->command

chdir c:

chdir Documents and Settings

chdir Alex PC

chdir Desktop

chdir de-compiling

chdir vmex092

then

vmex de_train.bsp
Re: Using Vmex Posted by $loth on Sun Feb 27th 2005 at 10:17am
$loth
2256 posts
Posted 2005-02-27 10:17am
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
Will try those two thanks for the suggestions crono and FF

Edit: It came up with the same thing crono, but the thing FF suggested seems to have to worked, thanks guys for the help :smile:
Re: Using Vmex Posted by $loth on Sun Feb 27th 2005 at 10:30am
$loth
2256 posts
Posted 2005-02-27 10:30am
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
I get an error when loading up the map: file: (map location) line 125198: unexpected end of file :sad: Anyone know what this means.
Re: Using Vmex Posted by beguiledfoil on Sun Feb 27th 2005 at 11:12am
beguiledfoil
59 posts
Posted 2005-02-27 11:12am
59 posts 6 snarkmarks Registered: Nov 7th 2004 Location: Canaedia
I assume you're still trying to do train, right? VMEX seems to run out of memory or something (notice the last line you get when decompiling train is a blurb about memory allocation in java or something like that) when decompiling the overlays (too many of them? No idea... all I know is that most HL 2 maps Valve uses infodecals rather than overlays, so I think that is, in fact, the problem).

At any rate, you can salvage what the decompiler does decompile by opening up de_train_d.vmf with notepad (or any text editor) and adding a "}" at the end. I deleted the last overlay in the file, because it was incomplete, but I'm not sure if that's neccessary.

I haven't e-mailed the VMEX guy about the problem yet, but somebody should...

edit Typos, and I really wish this forum worked with Opera :sad:
Re: Using Vmex Posted by $loth on Sun Feb 27th 2005 at 11:56am
$loth
2256 posts
Posted 2005-02-27 11:56am
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
Thanks dude :smile: Help is very much appreciated :smile:

PS Change your answer to a answer to the problem so I can mark it.
Re: Using Vmex Posted by $loth on Sun Feb 27th 2005 at 12:33pm
$loth
2256 posts
Posted 2005-02-27 12:33pm
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
de_train, de_dust and I think one other required the last entity to be deleted in word. The rest had the last }.
Re: Using Vmex Posted by Rof on Sun Feb 27th 2005 at 6:58pm
Rof
210 posts
Posted 2005-02-27 6:58pm
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
At the moment, de_train (and maybe de_dust too, I haven't checked),
cause problems with the decompiler due to a bug in the handling of
overlays. You can turn off overlays by using the switch "-v" when
decompiling. e.g.:

vmex -v de_train.bsp

That'll save you having to play around with editing the .vmf file.

I'll release a fix to vmex soon. (It's a simple bug due to the map using a specified render order on their overlays).
Re: Using Vmex Posted by $loth on Sun Feb 27th 2005 at 7:06pm
$loth
2256 posts
Posted 2005-02-27 7:06pm
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
I got it done anyway, I just deleted the last entity like was said.

Got them all de-compiled now anyway.
Re: Using Vmex Posted by Gwil on Sun Feb 27th 2005 at 8:02pm
Gwil
2864 posts
Posted 2005-02-27 8:02pm
Gwil
super admin
2864 posts 315 snarkmarks Registered: Oct 13th 2001 Occupation: Student Location: Derbyshire, UK
I wouldn't, i'm pretty sure that would get you into legal trouble with Valve.

Decompiling should be used for personal research purposes only