home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / HATCH / !CDANN11.ZIP / CDANN.DOC < prev    next >
Text File  |  1995-09-02  |  17KB  |  304 lines

  1.                       Documentation for
  2.                  CD Announce! v1.0
  3.  
  4.                 An X-ware Production
  5.             Copyright 1995 by X-Ware Productions     
  6.                              Code by:  Madam X
  7.                   Ansi by: Zepplin
  8.  
  9.  
  10. THANKS TO**********************************************************************
  11.  
  12. Several people have contributed greatly to the development of CD Announce.
  13.  I would like to give them all credit right now, along with their email
  14.  addresses and BBS numbers, where applicable.
  15.  
  16. The following have provided encouragement and/or technical support...
  17.  
  18. Bullship        Malaclypse The Younger        Carolina Cowboy
  19. Ship's Online        Similar Line Noise        The Byter
  20. (209)274-0621        (704)282-4884            (704)841-0733
  21. 1@1 SierraLink        90@7403 TerraNet        1@1 CowboyNet
  22. 1@2932 TerraNet                        1@7424 TerraNet
  23.  
  24. Zepplin            Riffraff            The Inn Keeper
  25. The Druid's Keep    WWIVnet 112@2732        Howard's Inn
  26. (704)282-0490                        (704)289-6544
  27. 1@7403 TerraNet                        1@7408 TerraNet
  28.  
  29. The Inn Keeper is listed here because, so far as I know, his was the original
  30.  idea to announce the available CD to users at logon.  So thanks for the
  31.   idea!!!
  32.  
  33. Thanks also to all the posters on the sub Beginning & Intermediate C/C++
  34.  Programming, hosted by Bullship, on Terranet (also gated to other nets).
  35.   I found lots of useful tips there, and found many people willing to
  36.    answer questions that I had.
  37.  
  38. WHO AM I???********************************************************************
  39.  
  40. I am Madam X, sysop #2 of The Druid's Keep BBS.  If you have questions or
  41.  comments about this program, here is how you can reach me:
  42.  
  43. The Druid's Keep (704)282-0490 User #2
  44.  
  45. Or email me at one of the following addresses:
  46.  
  47. TerraNet 2@7403
  48. CowboyNet 2@6069
  49. ACnet 2@7403
  50. WWIVnet 17@6049    
  51. Internet address: 2-7403@tnet.bt.quake.com
  52.  
  53. I welcome any suggestions or comments...
  54.  
  55. WHAT DOES CD ANNOUNCE DO???****************************************************
  56.  
  57. Well pretty much what it says.  CD Announce! will alert your users to
  58.  which CD is in the CD-rom at logon or, with modding, when they enter
  59. the transfer section.  They will be prompted at that time whether or not
  60. they wish to view information on today's available CD, and if they choose yes,
  61. they will be shown an ansi or text file of your design, telling them which
  62. CD is there for them to download from.  I also have included a little
  63. information about what kinds of files are available on that CD in my ansi's
  64.  
  65. here as well.  My BBS has 8 CD's, all rotating on one CD-Rom drive.
  66. We have a set schedule for these CD's, but as anyone who has done rotation
  67. will tell you, it's a great idea, but it's easy for a sysop to get busy
  68. and forget to change CD's for a day or two.  With CD Announce!, your users
  69. will no longer be trying to tag files on a CD that is supposed to be in
  70. rotation, when in actuality, there is another CD there instead.  Try it,
  71. your users will love it!!! It will make things easier for them, and it
  72. will end hate mail if you forget to change your CD's.  I think this file
  73. is a must for any sysop who rotates CD's.  But of course I think that, I
  74. wrote it.  You try it, and see what your users think...  It is very popular
  75. on The Druid's Keep.  Rarely do I ever see a user enter the transfer section
  76. and not choose to see which CD is available.
  77.  
  78. This file has been tested on WWIV 4.24, but does not read chain.txt, so I
  79. believe it will work on any BBS software that has the advantage of adding
  80. external logon programs.  If you use it on any other software, please let
  81. me know.  I would be very interested in this.  It should also work on any
  82. prior versions of WWIV that have the external logon event option.
  83.  
  84. INSTALLATION*******************************************************************
  85.  
  86. Yeah, yeah.  Bet you were wondering when I'd get to this part huh???
  87.  
  88. First let me tell you a little of how CD Announce! works.  CD Announce!
  89. works on the principle of looking for a unique filename and path for each of
  90. your CD's.  Installation is not hard, I have made a utility to help you out
  91. with it.  But before you run the utility, there are two things that you need
  92. to do.
  93.  
  94. 1.  You need to write down the path and file name of a file on each CD.
  95. I am assuming that you won't have any CD's with an exact same filename and
  96. path, but if you do, you will realize this when it starts telling you the
  97. wrong CD is in.  If on the odd chance that you should, and as luck would have
  98. it, you choose that very file to use with CDANN, just go in and edit your data
  99. file and give CD Announce! a different file to look for on that CD, one that
  100. does not have the same exact path and filename as any other file on another CD.
  101.  
  102. 2.  You need to prepare an ansi or text file for each cd that you have,
  103. label them something that you can understand, and place them in your CDANN
  104. directory.
  105.  
  106. Once this is done, you are ready to run the utility.
  107.  
  108. The utility is called annutil.exe.  It will give you a menu, and of course
  109. you will choose to set up your CD's.  Then it will ask you to type in the
  110. name of the first CD.  In this version, the CD name is not used, but you
  111. still need to type it in.  And most likely it will be used in future versions,
  112. as I didn't get to do all that I had planned for this first version.  In other
  113. words, great things are in the works for CD Announce!!!  After you type in
  114. the CD name, you will be prompted for a path to the unique file for that CD.
  115. Enter it in now.  After that, the utility will ask you for the name of your
  116. ansi (or text file) that gives the information about the CD.  Just enter the
  117. name only, no paths are necessary.  If, for some unknown reason, you don't
  118. want your ansi's in the CDANN directory, put the entire path to the ansi's
  119. there instead of just the file name.  It's flexible, and will still work that
  120. way.  But to me it makes more sense to store the ansi's in the actual CDANN
  121. directory, and it makes it easier to install as well.  Next, you will be asked
  122. if everything you have entered is correct.  If you answer yes, CD Announce!
  123. will store your information in a data file.  If you say no, it will dump that
  124. info and ask you all over again.  I wanted it to work this way because, in
  125. this version, I do not have a utility to go in and make changes in the data
  126. file.  If you need to make changes, you will need to go in and do so manually,
  127. which won't be hard to do.  I'll give more info on that later.  The CDANN
  128. utility will then ask you if you want to add another CD.  Why of course you
  129. do!!!  Why would you need this file if you only had one CD!!!  So it repeats
  130. the whole process.  It's kinda like washing your hair...lather, rinse,
  131. repeat!!!
  132.  
  133. An enclosed ansi called NOCD.ANS is provided for use by CD Announce! when the
  134. CD in the drive does not match any of the filenames/paths you have entered.
  135. For example, you leave your Kings Quest game in the drive, or you are playing
  136. it in Windows while multi-tasking the BBS, this is what the caller will view.
  137. Feel free to change this ansi to whatever you would like, but do not change
  138. the name.  The code looks for this file and you will get an error if it is
  139. missing.
  140.  
  141. After running the utility, you will need to add CD Announce! to your BBS.
  142. If you already have a logon.bat file set up in INIT, just add the path and
  143. executable file for CD Announce to it.  If not, you will need to make a
  144. logon.bat, and inform INIT of it's location on your hard drive.  It would
  145. look similar to this...
  146.  
  147. @ECHO OFF
  148. CD CDANN
  149. CDANN.EXE
  150.  
  151. If you want to test CDANN before adding it to your BBS, you will need to have
  152. at least one CD set up.  I recommend setting them all up first, because if you
  153. don't, you will have to add the rest manually, or delete your CDANN.DAT file
  154. and start over.  Just put a CD in the drive and run CDANN.EXE.  It will stand
  155. alone and does not rely on the BBS to work.
  156.  
  157. You may even choose to run CDANN as a chain.  I have not tried this, but see
  158. no reason why it would not work.  However, you will need to have the BBS
  159. intercept DOS calls, and you would not be able to put it in a Chain utility
  160. such as Doorbill.
  161.  
  162. On one of my ansi's that I use here at The Druid's Keep, I get an extra pause
  163. down near the bottom.  This is WWIV's internal pause, and is caused because my
  164. ansi is too large.  This ansi is 2803 bytes, while my next largest ansi is
  165. 2390.  So somewhere between those two points is where the WWIV software
  166. decides to pause.  If this bothers you, make your ansi smaller, and you will
  167. have no problems.  If you have lots of extra pauses, read the following
  168. section on Ansi Draw programs.
  169.  
  170. NOTES ABOUT ANSI DRAW PROGRAMS************************************************
  171.  
  172. If you use an ansi draw program such as TheDraw to make your ansi's, you may
  173. find that when you run CD Announce! inside WWIV, you get a bunch of extra
  174. pauses.  These are the WWIV internal pauses.  This can be easily corrected
  175. though.  Zepplin gives these tips for your ansi's used in CD Announce!  First
  176. save your ansi in clear screen format.  Save at 55 lines.  If you still have
  177. the extra pauses, you may need to manually edit your ansi file.  Just load it
  178. up in any DOS editor, and look for blank lines in the middle of your ansi file.
  179. If you find them, delete them until your ansi is in one nice neat little section
  180. with no blank lines saved in it.  This will not change the way your ansi looks,
  181. it just reduces the size of the file, and therefore cuts down or eliminates the
  182. extra pauses from WWIV.  If you still have problems, your ansi is probably just
  183. too large, as I mentioned earlier in the doc.  Simplify it some.  You don't
  184. want it too fancy anyway; it is just there for information.  And if all else
  185. fails, hold off on the ansi's and use text files in the meantime.  They will
  186. serve the purpose just as well.
  187.  
  188.  
  189. SETUP FOR MULTIPLE CD-ROM DRIVES**********************************************
  190.  
  191. CD Announce! will work just fine with multiple drives.  Here are a few tips for
  192. you though.  When setting up your CD's from the beginning, enter the info for
  193. CD's used on the first CD-rom drive (meaning, which ever drive DOS looks to
  194. first), and then the ones for the second drive, and so on.  It will work if
  195. you don't do it this way, but it will be helpful to your users perhaps to keep
  196. things orderly.  In fact, when I made my ansi's, I would indicate which drive
  197. that CD occupies.  Of course, be sure that when you enter in the paths to your
  198. unique files you give the appropriate drive specification, which is only
  199. common sense. 
  200.  
  201.  
  202. ADDING NEW CD's AFTER INSTALLATION
  203. OR MODIFYING INFO FOR CD's ALREADY SET UP**************************************
  204.  
  205. Unfortunately, I didn't get to add a utility to do this on this first version
  206. of CD Announce!.  But, never fear, it is coming in later versions, and it is
  207. not hard to modify the information in the cdann.dat file created when you
  208. first set up your CD's.  Just use any DOS text editor to do so.  You will
  209. notice the format for the data file is as follows...
  210.  
  211. CD Name
  212. Path to unique file for that CD
  213. Name of ansi or text file for that CD
  214.  
  215. And at the bottom there is the word 'END'.
  216.  
  217. The main thing when editing this file is to stay true to the format, and
  218. always, ALWAYS!, leave the word 'END' at the bottom.  And also, no blank lines,
  219. please.  So you went to a Computer Fair and bought a brand new shareware CD for
  220. your BBS, huh???  Ok, open up the cdann.dat file in your editor, move the word
  221. 'END' out of the way, and insert the file above it.  It's that simple.  Just
  222. remember, stick to the format, don't skip any lines, and be sure to have the
  223. word 'END' at the bottom of the file.  No problem for a sysop like you, huh???
  224.  
  225.  
  226. To change information on CD's already set up, just do the same thing, load it
  227. up in the editor, go in and make the changes, and be sure to follow the same
  228. rules as when setting up a new CD that I just got finished telling you about.
  229. Simple!!!
  230.  
  231. WHY REGISTER???****************************************************************
  232.  
  233. Well two very obvious reasons to begin with.  One is the annoying pause.  Yes,
  234. I hated to do it, but I could think of no better way to try to convince you
  235. guys that I worked hard on this project, and to ask for your support.
  236. CD Announce! is just in the beginning stages, and I have a lot of great ideas
  237. for it.  Register it now, and you are registered for life!!!  Upon registration,
  238. if you are a registered WWIV sysop, you may obtain instuctions on how to mod
  239. your BBS to put CD Announce! at the beginning of the transfer section, which
  240. is really great, and the way I have it here.  Of course, if you are a good
  241. modder, you may be able to do this yourself, but I will offer it to those who
  242. request it, upon receipt of their WWIV reg. number.  So basically, I am asking
  243. you to register if you like CD Announce.  If no one registers, I will think no
  244. one likes it, and won't release any future versions.
  245.  
  246. HOW DO I REGISTER???***********************************************************
  247.  
  248. Just fill out the enclosed registration form and mail it to me at the following
  249. address, along with a check or money order for $10.
  250.  
  251. X-Ware Productions
  252. 3310 Kennington Drive
  253. Waxhaw NC  28173
  254.  
  255. You will then receive a registration number unique for you, and if your are a
  256. registered WWIV sysop and request the mod to move CD Announce! to the beginning
  257. of your transfer section, I will include that as well.  Please indicate on the
  258. order form how you would like to receive them.
  259.  
  260. KNOWN BUGS*********************************************************************
  261.  
  262. I know of one bug, and it not a serious one.  It is with the mod to add it to
  263. the transfer section.  If you have the 'blue screen' down when a user enters
  264. the transfer section, the ansi may overwrite it.  But this is not serious, and
  265. you can just hit F2 again to redraw it, and it is not messed up on the callers
  266. side.  I am not a modder, and I feel this bug is in the mod, and not serious
  267. enough to delay the release of CD Announce!, because I really like it, and I
  268. hope that you will find it useful as well.
  269.  
  270. CD Announce! is written in Bordland Turbo C, so if any of you C wizards want to
  271. send me advice on how to fix this, I'd love to have it.
  272.  
  273. If you find any bugs that I don't know about, please let me know so that I can
  274. get them corrected for the next version.
  275.  
  276. BE AWARE***********************************************************************
  277.  
  278. CD Announce! will read the CD-rom drive each and every time a user logs on to
  279. your BBS, or if you use the mod, when they enter the transfer section.  This
  280. means that you need to keep a CD in the drive at all times.  It doesn't have
  281. to be a Shareware CD, any CD will do, so long as it has computer data on it,
  282. and not only music.  Some music CD's do have a short film on them for you to
  283. watch on your computer, usually of the band.  I don't own one of those CD's,
  284. but I feel like it would work if it found one of those CD's in the drive.
  285. If you don't have a CD in the drive or you have a music only CD in there when
  286. CD Announce tries to read it, you will get a 'error reading drive D' type
  287. message, and your BBS will be locked up until you choose Abort, Fail, or Retry.
  288. This is not a bug, it is simply a fact.  I suppose if I knew how to make it
  289. check for a music CD as well, that could be fixed, but that goes beyond my
  290. current knowledge, and it would still lock up if it found no CD at all in the
  291. drive.
  292.  
  293. STANDARD BORING DISCLAIMER*****************************************************
  294.  
  295. I make no guarantees with CD Annouce.  It works just fine on The Druid's Keep,
  296. and so far as I know should cause you no problems.  But in the case it does,
  297. you installed it, not me, and upon doing so agree to assume full responsibility
  298. for any damage caused by, or as a result of, installing CD Announce!!!
  299.  
  300. THANK YOU**********************************************************************
  301.  
  302. for downloading CD Announce!!!  I do hope that you will try it on your BBS.  I believe that you will really enjoy it, and I KNOW that your users will.  If for some reason you do not like this idea, or think that I have went about it in a truly idiotic fashion, please let me know.  If I can improve it any, I would love to.  And I do plan to, as I have several ideas in the works for the next version!!!  I think you will like CD Announce! even better as it grows and becomes even more sysop friendly.  Meanwhile
  303. , your ideas and suggestions, and even criticisms are welcome.  My addresses are at the top of this file.  Thanks again!!!
  304.