Re: [article] Batch File Compiling for Beginners
Posted by Crono on
Wed Sep 22nd 2004 at 11:11am
Posted
2004-09-22 11:11am
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
To make it a little more automated, you could put a call command (to the batch file with the map name) from Hammer, and then the next command could be calling HL to load up the map.
Or you could put that part in the batch file and taskkill hammer before beginning the compile.
That would automate it, which is the only reason most people compile with hammer anyway.
Nice overall.
Re: [article] Batch File Compiling for Beginners
Posted by Tracer Bullet on
Wed Sep 22nd 2004 at 5:51pm
2271 posts
445 snarkmarks
Registered:
May 22nd 2003
Occupation: Graduate Student (Ph.D)
Location: Seattle WA, USA
Orph- It is long. Much more so than I had intended. However, I think it is better to explain to people not only what to do and how to do it, but also why each step is needed. Especially for beginners, I felt it was best not to assume any knowledge of BAT files. I myself only just learned to do this, and I was trying to cover all the questions I had in figuring it all out.
Also, no hard feelings about the rating. 8/10 is a perfectly respectable score, and anyway, what would be the point of a rating system if everything was rated 10/10?
Crono - I didn't think of automating it through hammer. And since I was using steam (yes I know I was using WON file paths) I discarded the idea of automatic startup. Is there a way to do that in Steam?
Good ideas though, you obviously know allot more about it than I do. As I said, this was my second batch file ever so I'm not well versed in what all is possible.
Re: [article] Batch File Compiling for Beginners
Posted by omegaslayer on
Thu Sep 23rd 2004 at 4:26am
2481 posts
595 snarkmarks
Registered:
Jan 16th 2004
Occupation: Sr. DevOPS Engineer
Location: Seattle, WA
Well I thought it was a 10/10
Re: [article] Batch File Compiling for Beginners
Posted by Crono on
Thu Sep 23rd 2004 at 6:07am
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
Steam is the exact same as non-steam in this regard. Just, instead of saying "halflife.exe" you say "steam.exe"
That's pretty much it, almost everything in steam can be executed through the 'applaunch' argument.
The only problem I've come across is how to do the whole command line argument to a batch file thing. That and Hammer's executable abilities are rather limited, but I'm sure it's easy. I'll write something up once I get it going properly.
[EDIT]
By the way, to use spaces you put the path inside double quotes
[/EDIT]
Re: [article] Batch File Compiling for Beginners
Posted by fokker on
Sun Oct 3rd 2004 at 4:54am
39 posts
263 snarkmarks
Registered:
Jun 16th 2003
Location: Washington State, USA
Very handy, though it was long I think it was necessary to explain exactly what needs to be done (it doesn't leave anyone asking any more questions).
Re: [article] Batch File Compiling for Beginners
Posted by Cash Car Star on
Wed Oct 6th 2004 at 9:07pm
1260 posts
345 snarkmarks
Registered:
Apr 7th 2002
Occupation: post-student
Location: Connecticut (sigh)
Whoa, new rating system. Or not new and I just haven't looked at a tutorial in half a year. Either way, batch compiling = win. Things like putting the words on 3D boxes in your schematics diagram amuse me, but it's common practice in presentations.
Re: [article] Batch File Compiling for Beginners
Posted by Foxpup on
Wed Dec 29th 2004 at 1:47am
Foxpup
member
380 posts
38 snarkmarks
Registered:
Nov 26th 2004
Occupation: Student
Location: the Land of Oz
There's a lot more info on this in the Worldcraft/VHE manual...