Compiling without Steam?

psihomir

L4: Comfortable Member
Mar 17, 2008
192
32
So, as I've said elsewhere, I want to use my laptop to compile my map, but I can't since it doesn't have saved login details for Steam.

Can I somehow compile without having to run Steam? The 4 compile programs are just regular exe's that take parameteres, surely someone has thought of a way to run them with a batch script or something? :)
 
Dec 25, 2007
566
439
Yes, you don't need a steam login for it. You will need to set up some environment variables if you're not running the Source SDK launcher. Go to a command prompt when you have Source SDK open and run "set" to see the currently set environment variables; and compare that to the output from "set" when Source SDK is closed to see what it's setting up (my PC is off or I'd have done this myself just now). If all else fails, you can just set steam to run in offline mode.

More info might be found here, or here; and google is your friend as well.

edit: This might be a handy tool, too
 
Last edited:

psihomir

L4: Comfortable Member
Mar 17, 2008
192
32
Ok, I tried making a batch file, but when I run it, every one of the compiler executables - vbsp, vvis, vrad - gives me the error "The local Steam service is not running"

I started Steam and when it gave me the message about not being able to connect, I ran the batch file again without clicking Ok on the message - I hoped that it would fool the compiler that it was running... but then vbsp said "Couldn't load MaterialSystem.dll"

:/