Quote:
Originally Posted by billbo911
Yep, working like a champ now!
Bongle,
Can I ask you a favor? Can you please make a single post describing all the command line options? I've been using this awesome little tool for a few seasons now and really love it. The problem is, my PC took a dive last fall and I lost all my batch files I used as templates. So, I need to start from scratch and I am, well, a bit lazy and don't want to read through 16+ pages of posts to find all the tricks I used to generate the data I used to use.
Thanks!
|
Here's the bat file I used for the week 1 regionals:
Code:
oprnet gg 2012 bridge r q > allopr-bridge.txt
oprnet stx 2012 bridge r q >> allopr-bridge.txt
oprnet sdc 2012 bridge r q >> allopr-bridge.txt
oprnet nh 2012 bridge r q >> allopr-bridge.txt
oprnet kc 2012 bridge r q >> allopr-bridge.txt
oprnet tn 2012 bridge r q >> allopr-bridge.txt
oprnet migl 2012 bridge r q >> allopr-bridge.txt
oprnet pah 2012 bridge r q >> allopr-bridge.txt
oprnet gg 2012 teleop r q > allopr-teleop.txt
oprnet stx 2012 teleop r q >> allopr-teleop.txt
oprnet sdc 2012 teleop r q >> allopr-teleop.txt
oprnet nh 2012 teleop r q >> allopr-teleop.txt
oprnet kc 2012 teleop r q >> allopr-teleop.txt
oprnet tn 2012 teleop r q >> allopr-teleop.txt
oprnet migl 2012 teleop r q >> allopr-teleop.txt
oprnet pah 2012 teleop r q >> allopr-teleop.txt
oprnet gg 2012 hybrid r q > allopr-hybrid.txt
oprnet stx 2012 hybrid r q >> allopr-hybrid.txt
oprnet sdc 2012 hybrid r q >> allopr-hybrid.txt
oprnet nh 2012 hybrid r q >> allopr-hybrid.txt
oprnet kc 2012 hybrid r q >> allopr-hybrid.txt
oprnet tn 2012 hybrid r q >> allopr-hybrid.txt
oprnet migl 2012 hybrid r q >> allopr-hybrid.txt
oprnet pah 2012 hybrid r q >> allopr-hybrid.txt
Let's take one line:
"oprnet nh 2012 hybrid r q >> allopr-hybrid.txt"
Broken down:
oprnet - you need this part to start the program
nh - indicates you care about the new hampshire regional
2012 - indicates you want results for 2012
hybrid - indicates the statistic you want to print (other options for 2012: opr, teleop, hybrid, bridge)
r - sort teams by ranking (as opposed to 't', which sorts them by team number)
q - quiet mode: makes it not print out status data. Also changes the output format so it's easier to copy/paste into excel. If you want loud mode from the command line for whatever reason, just omit the q.
>> - tells DOS to append all output from oprnet to a text file. The single greater-than ('>') tells it to clear out the file and start over.
allopr-hybrid.txt - which file you want to output to.
The q is optional, and the ">> blah.txt", being a DOS command, is also optional. If you don't have the ">> blah.txt", it'll just spit to your command-line window.
Note that because I'm lazy and because I doubt there's that much use nowadays of the more esoteric parameters like SAA, PM, or DPR, I don't really support them and if the app crashes when you try to use one, I am not that bothered. In 2013, I'm likely to not care very much if the bridge/teleop/hybrid feature gets broken as well.