home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / personal / bpe_100.zip / BPE.DOC < prev    next >
Text File  |  1993-06-12  |  25KB  |  449 lines

  1.           
  2.                            Baseball Player Evaluator
  3.  
  4.                           Version 1.0, Copyright 1993
  5.  
  6.                                by Rich Heimlich
  7.  
  8.           SHAREWARE LINGO SECTION.
  9.  
  10.           Baseball Player Evaluator is distributed as SHAREWARE.  You 
  11.           have the right to use this software for a reasonable period 
  12.           so you can evaluate it in relation to your needs.  I'm 
  13.           defining a reasonable period as 30 days.  If after this 
  14.           time, you still want to use BPE for any reason, you are 
  15.           required to send $10 (check or money order will do) to 
  16.           Rich Heimlich at the address listed at the end of this 
  17.           document, or cease using BPE FOREVER!  That's a stiff 
  18.           sentence to incur over ten bucks.  What do you get for your 
  19.           $10?  BPE and a clean conscience.  Also, I'd be very keen 
  20.           on listening to input from paying customers about features 
  21.           they'd like to see in future versions of BPE.  
  22.  
  23.           
  24.           WHAT IS THIS PIECE OF GARBAGE I JUST DOWNLOADED?
  25.  
  26.           Baseball Player Evaluator (or BPE) is the result of a 
  27.           program I wished I had in order to help me during the 
  28.           trials and tribulations of my Rotisserie baseball league.  
  29.           During the season you're often called upon to improve your 
  30.           team by adding a new player to the mix of players you 
  31.           already own.  You can trade, and that's the most fun, but 
  32.           often it just doesn't work out, so you go the free agent 
  33.           route and pick up an un-owned player.  Most likely, you 
  34.           want a new player for one of two reasons, to replace a 
  35.           currently injured player or to replace a less productive 
  36.           player.  In either case, you usually have a specific goal 
  37.           in mind like "I need to improve my stolen bases to make up 
  38.           lost ground".  
  39.  
  40.           In the past, I would dig through the papers and stat files 
  41.           I had and compare all the players looking for just the 
  42.           right player, but, this data doesn't help you in any way to 
  43.           quickly find what it is you're specifically looking for.  
  44.           That's where BPE comes in.  BPE, once configured and fed 
  45.           the appropriate stats, can help you find just the player 
  46.           you're looking for.  If you need to improve in stolen bases 
  47.           change the current BPE data field to Stolen Bases and every 
  48.           batter in the league is sorted by Stolen Bases.  Simply go 
  49.           down the list and find the first un-owned stolen base 
  50.           leader for consideration.  You'd be surprised how often 
  51.           this comes in handy.  I've used it to find little gems that 
  52.           no one else in our league, including myself, considered 
  53.           worthy of even mentioning let alone actually signing.  It 
  54.           works equally well for hitters or pitchers and is limited 
  55.           only by the data you supply it. 
  56.  
  57.           You can also get good use out of this if you're just a 
  58.           baseball stat fanatic and want to know who's on top of 
  59.           numerous categories.  I'm just fairly sure most people 
  60.           using this will be Fantasy Baseball owners.
  61.  
  62.           
  63.           WHAT DO I NEED?
  64.  
  65.           A computer. Hint: If YOU downloaded this program 
  66.           personally, then there stands a very good chance that you 
  67.           already meet this criteria and can go on to the next 
  68.           paragraph.  BPE should work on almost any computer system 
  69.           but as it's rather new, I suspect it might choke on a few 
  70.           oddities I hadn't anticipated. 
  71.  
  72.           BPE requires two specific items, configuration files and 
  73.           stat files.  I've included samples to get you started but 
  74.           you'll want to supply your own stats at some point, of 
  75.           course.  
  76.  
  77.           From time-to-time I'll add new .DAT files within the .ZIP 
  78.           file as I get information on differing stat services but 
  79.           for example sake I'll refer to a specific pair of .DAT 
  80.           files. They'll work just fine with every service under the 
  81.           sun just as long as that service happens to be QUICK-STATS. 
  82.           (Sorry, couldn't resist)  Don't be concerned if you don't 
  83.           get your stats from QUICK-STATS or don't even know what it 
  84.           is, any stat service will do as long as they can provide 
  85.           stats separated by hitters and pitchers (which includes 
  86.           virtually every stat service I've encountered such as USA 
  87.           Today and Computer Sports World). 
  88.  
  89.           In fact, even if your stat service provides only a single 
  90.           file of stats, it's most likely that what you really have 
  91.           are two files just combined into one.  All you'll need to 
  92.           do is separate that file into Hitter and Pitcher files 
  93.           before using them.  CompuServe Fantasy Baseball stats work 
  94.           this way.
  95.  
  96.           The .DAT files (for instance, QSSH.DAT, which is a QUICK-
  97.           STATS SERVICE HITTERS config file) are very simple ASCII 
  98.           text files and can be created or edited with little effort. 
  99.           So, in only a few minutes you can create a set of .DAT 
  100.           files (one each for hitters and pitchers) that define your 
  101.           stat service so that BPE understands its specific format. 
  102.  
  103.           
  104.           WHAT'S THE STRUCTURE OF THE .DAT FILES? 
  105.           (skip a bit if you don't care about this right now)
  106.  
  107.           The first line of the .DAT file MUST always be as it 
  108.           appears in the samples, that is, it must start with the 
  109.           word "Header" (just LIKE that!) and then give a number as 
  110.           to how many header lines to skip before the real data 
  111.           starts.  Most stat services have a line or two of header 
  112.           information that describes all the columns of data.  What 
  113.           we're looking for is the first line of real data like the 
  114.           line the first player is on.  (If you want an example of a 
  115.           real header, look at any of the sample stat files)  Blank 
  116.           lines at the beginning of stat files should also be counted 
  117.           as part of the Header.
  118.  
  119.           On the next line of the .DAT file you MUST place the Name 
  120.           field; what column that data starts at; how long it runs 
  121.           and if the field should be sorted Ascending (A) or 
  122.           Descending (D).  Name fields MUST sorted in ascending order 
  123.           but that only makes sense and applies to no other field.
  124.           The line:
  125.  
  126.           Name 1 15 A
  127.  
  128.           would say that you want to call the Name field Name (you 
  129.           could call it anything you like); that names begin in the 
  130.           1st column and continue for 15 spaces and should be sorted 
  131.           in Ascending order.  
  132.  
  133.           A word about spacing.  You can use as many spaces between 
  134.           items as you see fit, BUT, there can be NO spaces in the 
  135.           name of a field.
  136.  
  137.           Player Name 1 15 A         (Incorrect; space between name)
  138.           Player_Name 1 25 A         (correct)
  139.           HitterName 1 14 A          (correct)
  140.           RICH_PAINS  1   12     A   (correct, and maybe accurate)
  141.  
  142.           What comes after the name field is entirely up to you as 
  143.           long as you follow the above rules.  The first QSS .DAT 
  144.           samples I include (called QSSH.DAT and QSSP.DAT) include 
  145.           instructions to define every single stat QUICK-STAT offers.  
  146.           You don't have to include every stat and if there is one 
  147.           you don't like or want, simply don't define it in your .DAT 
  148.           file (oh, did I forget to mention that you should use the 
  149.           extension .DAT for your .DAT files?  For instance, if you 
  150.           wanted to create new .DAT files for USA Today you might try 
  151.           calling them USAH.DAT and USAP.DAT or something similar as 
  152.           long as it ends in .DAT, which only makes it easier for you 
  153.           once you get into the program and want to pick new ones as 
  154.           my .DAT file picker defaults to .DAT extensions.  Wow, what 
  155.           a wordy bunch of text in a set of parenthesis 'eh?).
  156.  
  157.           What I'm saying is that if you don't want Games Saved to 
  158.           appear as an option under BPE, just forget it's even there 
  159.           and don't define it.  Since BPE looks only at where a field 
  160.           begins (in what column) and how long that field is, as 
  161.           described by the .DAT files, it simply won't pay any 
  162.           attention to any field you don't define. 
  163.  
  164.           Oh, another good tip.  Think about each field before you 
  165.           define it.  Most people will start their .DAT files very 
  166.           early in the season so they'll see that Vince Coleman has 5 
  167.           stolen bases in the first week of the season (if he isn't 
  168.           actually injured again) and theorize that since the 5 is 
  169.           listed in column 50 that you should define StolenBases as 
  170.           starting at column 50.  Wrong.  In a week or two, when 
  171.           people go over 10 stolen bases your data will be all wrong 
  172.           since it's trimming the tens field right off.  12 becomes 
  173.           2, etc.  Since it's possible for someone to steal 100 bases 
  174.           (or more) you need to prepare for that.  In the example 
  175.           above, stolen bases wouldn't start at column 50, but 
  176.           actually at column 48.
  177.  
  178.           
  179.           THINK ABOUT IT.
  180.  
  181.           I've also included a SLIGHTLY modified version of .DAT 
  182.           files called QSSH2.DAT and QSSP2.DAT (quite original).  I 
  183.           included these just to take up slightly more disk space. 
  184.           Well, actually, I also threw them in there to show you a 
  185.           small example of creative .DAT files.  The original .DAT 
  186.           files for the QSS service are quite fine as they are, but, 
  187.           if you try them out you'll notice one thing that a friend 
  188.           of mine noticed and complained about (and he's a whining 
  189.           pain anyway but I had to shut him up or go nuts so).  Each 
  190.           player gets listed along with his appropriate stats, but my 
  191.           friend thought it would be nice if the players' team was 
  192.           listed next to him all the time as well.  Hmmmm... I must 
  193.           admit, it's not a bad idea.  So, a little cheating and I 
  194.           had the answer.  QSS and most services list players names 
  195.           right before their respective team names.  Okay, what if I 
  196.           defined NAME a little creatively.  In the new files I've 
  197.           defined it as lasting 21 characters, not the standard 15.  
  198.           Those 6 additional characters overlap the TEAM data for 
  199.           each player.  So now, each players name actually contains 
  200.           his name and his team.  So now you may want to change the 
  201.           name of the NAME field from NAME to something like 
  202.           Player&Team or something similar.  Now the really neat part 
  203.           (actually it's as neat as these things get and would be 
  204.           quite dull if viewed on its own merit).  
  205.  
  206.           This change works quite nicely except one small problem.  
  207.           Since I included the team name in along with the name I 
  208.           could no longer sort by Team Name.  Not that you'd really 
  209.           need to, but, if you wanted to, it should work.  So, I 
  210.           simply defined TEAM as starting right where it is and for 
  211.           the proper length.  It doesn't matter that the Name 
  212.           definition overwrites this, BPE doesn't care.  The ONLY 
  213.           drawback to this is if you sort by TEAM, you'll see the 
  214.           players team listed twice, once as part of his name and 
  215.           once as it appears in the stat file as TEAM.
  216.  
  217.  
  218.           LIMITATIONS
  219.  
  220.           This is a simple program so limitations are just as simple. 
  221.           First, BPE currently can only work with data that is 
  222.           actually part of the stats you give it.  In other words, if 
  223.           Batting Average is a stat you want to sort by but your 
  224.           stats don't include it (Many don't including QSS) you're 
  225.           outa luck.  BPE does not actually do any calculating on its 
  226.           own, YET.  If people actually find this thing useful and 
  227.           send the rather small pittance I've requested, then version 
  228.           2 will appear and should include calculated fields among 
  229.           other goodies I've been thinking about, along with ideas 
  230.           from paying customers, that are within my abilities. 
  231.  
  232.           Sorting is also slightly limited, currently.  I wanted to 
  233.           keep the speed up so I used a fast sorting algorhythm which 
  234.           is limited to sorting on only one field.  So, for instance, 
  235.           if 5 people are tied with 15 home runs, the players will 
  236.           not be sorted in alphabetical order as well (unless luck 
  237.           totally intervenes and causes it to happen and in this case 
  238.           it's so unlikely that if it occurs I'd start thinking about 
  239.           all those masses you've missed each Sunday over the year 
  240.           and start praying valiantly as the world is probably about 
  241.           to come to a screeching halt).  If BPE goes well out there 
  242.           on its own, this will be dealt with immediately after I 
  243.           speed up some of the slower routines in the program.
  244.  
  245.           
  246.           INSTRUCTIONS
  247.  
  248.           Thought I'd never get here I bet. There's a reason though. 
  249.           BPE is simple enough to jump into that instructions are 
  250.           sort of unnecessary unless you're the kind of person who 
  251.           needs instruction on how to operate a pen, in which case I 
  252.           don't think you'd have been bright enough to download a 
  253.           program with a computer.  However, in the unlikely event 
  254.           you've somehow gotten this far, stop reading right here as 
  255.           directions aren't going to get much deeper than this and 
  256.           you have better things to do than baseball player 
  257.           evaluation, like going back to high school.  Feel free to 
  258.           still mail me a check though, it's good practice for the 
  259.           future.
  260.  
  261.           Once everything is up and running you'll notice that all 
  262.           the hitters data is over there on the right side of the 
  263.           screen.  The program starts by displaying the hitters in 
  264.           ascending order by their names.  
  265.  
  266.           
  267.           WHAT ABOUT OTHER DATA?
  268.  
  269.           Come on, BPE wouldn't be very useful if this is all it did.  
  270.           I not that bad a programmer.  Let's say you wanted to see 
  271.           the pitchers now.  Just click on the button that says 
  272.           "Pitchers" up there under the heading "Player Type" and the 
  273.           display area updates to show the pitchers, also sorted 
  274.           alphabetically.  Now lets say you wanted to get daring 
  275.           (again, consider the application, this isn't an Oliver 
  276.           Stone production) and see who's who in Wins.  Either use 
  277.           the mouse, or tab (if you don't have a mouse or don't care 
  278.           to use it) to select the area just below the Hitter and 
  279.           Pitcher buttons (also under Player Type).  This selection 
  280.           box will open to show you all of the available stat fields 
  281.           you can choose from as they're defined in the appropriate 
  282.           .DAT files.  Just pick the one you want and presto, the 
  283.           display updates to now show all the players sorted in the 
  284.           correct order (Pitchers Wins as in the example).
  285.  
  286.           Now, hold on to your hat, here comes a new curve on the 
  287.           coaster (Hey, I have to make this sound somewhat exciting 
  288.           right?)  You look over and see that Frank Tanana (is he 
  289.           really STILL around?) is on the list.  Wouldn't it be nice 
  290.           if you could see more than just the information about him 
  291.           based on the current field you selected?  (this is an 
  292.           example of a leading question)  YOU CAN!!  Just double 
  293.           click (or Enter Key) on Frank and the display changes to a 
  294.           pop-up box with all the data that is available about him.  
  295.           Well, it doesn't include the good things, like how many 
  296.           babes he's gotten on the road, etc.  Once again, it's 
  297.           limited to the data you've provided.  But it's all here in 
  298.           a nice little box and if there's more stats than can fit on 
  299.           the screen, buy a bigger monitor.  Actually, just use the 
  300.           scroll bars to make the rest of the data appear (like 
  301.           magic?)  When you're done and fully recovered, click the Ok 
  302.           button on the pop-up and the main screen re-appears. 
  303.  
  304.           
  305.           SORTING
  306.  
  307.           This one is simple.  You want to see who the worst hitters 
  308.           are in Hits?  Bring it up and just click on the 
  309.           "Descending" button (under "Sort Order).  That's what it's 
  310.           called, the button doesn't actually descend off the screen 
  311.           or anything.  Once selected your field reverses sort order 
  312.           and you're a happy camper.  Want it right side up?  Stand 
  313.           on your head or, easier still, just hit the "Ascending" 
  314.           button which is also only it's name as it doesn't... oh 
  315.           skip it. 
  316.           
  317.           
  318.           ADVANCED TOPICS
  319.  
  320.           How advanced can something this simple get?  Well, you've 
  321.           basically got the idea.  In addition to all the wonderful 
  322.           features I've outlined, you can also experiment (at your 
  323.           own caution) with the pull down menu options.
  324.  
  325.           The "File" pulldown allows you to choose new stat files or 
  326.           exit the program.  The first part of this is really hot 
  327.           stuff while the last part, exiting, is rather mundane in 
  328.           nature.  In fact, it's SO mundane that I included an Exit 
  329.           button right on the main screen itself in an effort to 
  330.           reduce any suicide rates directly attributable to BPE.  
  331.  
  332.           If you decide to change stat files, pull down File and 
  333.           select either "Hitter Stat File" or "Pitcher Stat File" and 
  334.           you'll get a file selection screen to appear.  Now's a very 
  335.           good time to actually choose that new stat file.  Just make 
  336.           sure you choose a stat file with hitter stats in it for 
  337.           Hitter Stats and visa-versa.  The odds of pitcher stats 
  338.           being defined exactly the same as hitter stats is nearly 
  339.           impossible and results cannot be predicted. So, in other 
  340.           words, DON'T DO IT!
  341.  
  342.           Another Advanced Feature (don't you just love the way that 
  343.           sounds?) is linked to this selection.  If you choose a new 
  344.           hitter file, that file gets saved for the next time you 
  345.           enter BPE, but what if you wanted to see it right now?  
  346.           Simple, once you choose a new file, and go back to the main 
  347.           screen, you'll notice that what was a word in a box is now 
  348.           a fully functional button with the same word as before, 
  349.           "Update".  Update knows which stat files you selected from 
  350.           the pull downs and when pressed, immediately puts them to 
  351.           use in the display window.  It makes no difference if you 
  352.           chose just a new Hitter file, Pitcher file or both, Update 
  353.           will cause BPE to use all the most recently selected data.  
  354.           In addition it will update the display on the lower left to 
  355.           show you that you're now working with the new files. 
  356.  
  357.           Its work, and it was a TOUGH job, now finished, the Update 
  358.           button retires to its summer cottage and once again becomes 
  359.           just a word surrounded by a rectangle, until you once again 
  360.           select a different stat file.
  361.  
  362.           A last word about the File pulldown (okay, maybe a few more 
  363.           than one word).  Notice when it's pulled down that next to 
  364.           the Hitter Stat entry and Pitcher Stat entry are the 
  365.           letters CTRL-H and CTRL-P.  I thought they looked nice 
  366.           there so I left them there.  Then, I realized I could put 
  367.           them to use so, now they remind you that at any time (well, 
  368.           okay, not while you're in the shower or something, but 
  369.           while your actually in BPE), you can press those keys to 
  370.           instantly pull up those file selection options. 
  371.           
  372.           Under the pulldown "Setup" you'll see selections for 
  373.           choosing new .DAT files which I confusingly refer to as 
  374.           Defs here (the program was perfect before this and scared 
  375.           me far too much so I added this to break up the perfect 
  376.           effort).  Choosing new .DAT files is simple enough.  Choose 
  377.           them.  That's it.  What about the Update button?  That's 
  378.           only for stat files!  .DAT file changes only take effect on 
  379.           your next BPE session.
  380.  
  381.           The "Other" pulldown is amazing.  It contains a multitude 
  382.           of information under the heading "About BPE".  Select it 
  383.           and all you commercial lovers will be happy.
  384.  
  385.           Happy evaluating.
  386.  
  387.  
  388.           A WORD ABOUT QUICK-STATS
  389.  
  390.           The QUICK-STATS Service is a stat service I use for a 
  391.           simple reason, I've looked at countless services that 
  392.           charge incredible amounts of money when all I really wanted 
  393.           was raw stats and maybe just a bit more.  QUICK-STATS 
  394.           happens to be run by a small group that's been around for 
  395.           many years and run a first rate service for a GREAT price.  
  396.           If you haven't checked them out before, call their BBS at
  397.           1-404-623-3870 and give them a look see.  You may just save 
  398.           enough money to register BPE!
  399.  
  400.           And, while I'm at it, everyone asks me about Fantasy 
  401.           Baseball stat programs.  I use SpinStats from Faulkner 
  402.           Strategics for equally simple reasons, it's the best, it's 
  403.           easy to use and, it's inexpensive.  They can be reached by 
  404.           phone at 1-404-378-7279.  Hey, why are the best of both of 
  405.           these items in Georgia?  Must be some real fans down there 
  406.           or just people with a LOT of time on their hands.  This is 
  407.           far more likely as I was stationed there a long time ago 
  408.           and it seemed like time was a favorite hobby there.
  409.  
  410.  
  411.           IMPORTANT FILES I INCLUDED THAT NEED EXPLAINING!
  412.  
  413.           For those of you who just want to see BPE do something 
  414.           before getting HEAVILY into it (as if this were possible), 
  415.           I've included quite a few sample stat files for you to play 
  416.           around with.  Any file ending in .NLH or .NLP is a stat 
  417.           file in the QUICK-STAT format and is meant for use ONLY 
  418.           with the included QSS .DAT files (or appropriate ones you 
  419.           want to create).  I've also included one hitter and pitcher 
  420.           stat file in the CompuServe Fantasy Baseball format.  Those 
  421.           files are the files that end in .STA and should only be 
  422.           used with the CISFBB .DAT files.  This should give you 
  423.           enough to see what BPE is all about.  
  424.  
  425.           At some point I'm sure I'll get around to creating .DAT 
  426.           files for all the other major stat services since most 
  427.           people are as lazy as I am about such things, but for now, 
  428.           it's easy enough to do them yourself.  If you come up with 
  429.           new ones from new services and think I might want to 
  430.           include them in future versions, track me down and send 
  431.           them off, I'm sure they couldn't hurt (or better not at 
  432.           least!)
  433.     
  434.           If you care to reach me, I can be reached on the following 
  435.           services:
  436.  
  437.           CompuServe             70670,2517
  438.           America Online         RichH27
  439.           Prodigy                GCJJ12F
  440.           The Sierra Network     12524
  441.           
  442.           Also, feel free to write me (and possibly include a check) 
  443.           at:
  444.                  Rich Heimlich
  445.                  1180 E. White Horse Road
  446.                  Box 703
  447.                  Voorhees, NJ 08043
  448.  
  449.