Using Vmex
Post Reply
Quote
Re: Using Vmex
Posted by $loth on Sun Feb 27th at 8:48am 2005


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:

vmex [options] <mapname.bsp>

First, how do I open up command prompt or a dos box in the folder (the location is C:Documents and SettingsAlex PCDesktopde-compilingvmex092). Thats all, I think the I can do the options and that.

[addsig]




Quote
Re: Using Vmex
Posted by Crono on Sun Feb 27th at 9:13am 2005


start > run > cmd

"C:Documents and SettingsAlex PCDesktopde-compilingvmex092vmex [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. [addsig]




Quote
Re: Using Vmex
Posted by $loth on Sun Feb 27th at 9:30am 2005


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.
[addsig]




Quote
Re: Using Vmex
Posted by Crono on Sun Feb 27th at 9:42am 2005


That's because you don't type [] or <>

I would imagine if you put in:

"C:Documents and SettingsAlex PCDesktopde-compilingvmex092vmex 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 [addsig]




Quote
Re: Using Vmex
Posted by Forceflow on Sun Feb 27th at 9:57am 2005


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
[addsig]




Quote
Re: Using Vmex
Posted by $loth on Sun Feb 27th at 10:17am 2005


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
[addsig]




Quote
Re: Using Vmex
Posted by $loth on Sun Feb 27th at 10:30am 2005


I get an error when loading up the map: file: (map location) line 125198: unexpected end of file Anyone know what this means.
[addsig]




Quote
Re: Using Vmex
Posted by beguiledfoil on Sun Feb 27th at 11:12am 2005


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





Quote
Re: Using Vmex
Posted by $loth on Sun Feb 27th at 11:56am 2005


Thanks dude Help is very much appreciated

PS Change your answer to a answer to the problem so I can mark it.
[addsig]




Quote
Re: Using Vmex
Posted by $loth on Sun Feb 27th at 12:33pm 2005


de_train, de_dust and I think one other required the last entity to be deleted in word. The rest had the last }.
[addsig]




Quote
Re: Using Vmex
Posted by Rof on Sun Feb 27th at 6:58pm 2005


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).
[addsig]




Quote
Re: Using Vmex
Posted by $loth on Sun Feb 27th at 7:06pm 2005


I got it done anyway, I just deleted the last entity like was said.
Got them all de-compiled now anyway.
[addsig]




Quote
Re: Using Vmex
Posted by Gwil on Sun Feb 27th at 8:02pm 2005


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* [addsig]





Post Reply