Quick help.


07-15-2003, 11:59 AM
I formated my C: some days ago, and now im setting everything so I can start work again. Im having some problems setting the studimdl and mdldec.
I had these files linked with a bat ( done with a notepad with some setence i cant rember ), then i would go to tools on windows explorer and trough file types, I would add an action ( compile for .qc , and decompile for .mdl ). Then all i had to do would be pressing the right button of the mouse and select compile/decompile.
I learned this by a tuturial written in the old dod forums, the new one doesnt explain how to do this, and im having some troubles. If anyone knows how to do this, or what the hell im talking about please reply.

Tknx.

Genie
07-15-2003, 12:12 PM
I wrote a whole honking tutorial on how to do this recently, so I'll try and do it again.

Setting up right click/compile decompile.

Open up any windows folder (doesnt matter). Click on "tools" than "folder options" Click on "file types" let it load. Then scroll down and select .mdl If it's not there make it. once you got .mdl go to "advanced" In actions click on "new" then type "decompile" Make it so that the program it uses is mdldec. Then go back to the list of file extensions. Find/create .qc. Then do that same thing for .qc except make it use studiomdl and make it say "compile".

Should work for you.

ripa
07-15-2003, 12:13 PM
This one doesn't need a batch file:

Open Windows Explorer and go view --> folder options --> file types --> find "Mdl File" --> Edit

Then add a new action and name it Decompile. Add the following:

yourdrive:\yourpath\mdldec.exe "%1"

of course replace yourdrive and yourpath with correct stuff ;)

Then do the same to "QC file" but name it Compile and type in the following:
yourdrive:\yourpath\studiomdl.exe "%1"

If you don't have "Mdl file" or "QC file", doubleclick on a file of either type and open it with notepad/modelviewer.

07-15-2003, 05:39 PM
Yes that was what I was looking for guys, tknx. But still dunno why i press compile or decompile and simply it opens a msdos windows that closes immediatly and doesnt compile or decompile.
Any idea?

*EDIT* Btw I have Windows 2000 Professional, could this somehow affect the studiomdl or mdldec ?

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.