home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / utilities / scrsavers / endeavour / !Help next >
Encoding:
Text File  |  1995-03-19  |  18.3 KB  |  600 lines

  1. | !Help file for !Endeavour
  2. | ©Scott Newby 08/08/94
  3.                        
  4. ----------------------------------------------------
  5. *****IMPORTANT*****
  6. ----------------------------------------------------
  7.  
  8. To register see bottom of the file.  ***************
  9.  
  10. This version is only a demonstration and not all
  11. features are useable.
  12.   You cannot save as a module.
  13.   Only the first ten savers are catalogued.
  14.   Only a selection of the savers are provided.
  15.   The program quits after a certain amount of time
  16.   has expired.
  17.   There is an annoying window that pops up from time
  18.   to time.
  19.  
  20. The full version...
  21.  
  22.   the ability to save as a module.
  23.   allows up to 72 savers to be used.
  24.   comes with a lot more savers to use.
  25.   won't quit on it's own or show any silly windows.
  26.   comes with a utility to edit argument help files.
  27.  
  28. I am very sorry to have to limit the use like I have.
  29. Only a small fee is made for the full version and a
  30. lot of people use shareware and don't register.  So
  31. to try and get around this problem I have released
  32. this demo and held back a number of features.
  33.  
  34. Once again I am very sorry to have to do this but it
  35. seems the only way. 
  36.  
  37. If you register any new versions will be sent to you
  38. for the cost of a disk and post & packaging.
  39.  
  40. Look out for any new savers being released into PD,
  41. and for any little utilities that you can adapt for
  42. your own use.
  43.  
  44. ----------------------------------------------------
  45. About Endeavour
  46. ----------------------------------------------------
  47.  
  48. Endeavour is a screen saver.  It stops images being
  49. burnt into your monitor.  It does this by waiting
  50. until the computer hasn't been used for a while and
  51. starts a small program which changes what is on the
  52. screen.
  53. There are many other screen savers available but
  54. Endeavour allows the user to write their own savers
  55. more easily than other available.  
  56. There is no need for file headers or complex ARM
  57. code to be used.  These screen savers can be written
  58. in any language.
  59. It is very easy to convert a 'graphical utility' by
  60. another author into your own screen saver.
  61. Another new feature of Endeavour is the ability to
  62. save as a module.  These can be used without the 
  63. original program.
  64.  
  65. ----------------------------------------------------
  66. Starting Endeavour
  67. ----------------------------------------------------
  68.  
  69. To start Endeavour double click select on the
  70. !Endeavour icon.  Endeavour will load and run 
  71. automatically.
  72.  
  73. ----------------------------------------------------
  74. Instructions On Use
  75. ----------------------------------------------------
  76.  
  77. Click select once on the Endeavour icon on the
  78. iconbar.  A window will appear, this is the 
  79. control window.
  80.  
  81. The window is split up into four different areas.
  82.  
  83.  
  84. ----Selecting a screen saver----
  85.  
  86. The smaller window in the top left corner of the 
  87. control window shows a list of the screensavers
  88. currently available.  This window is scrollable if
  89. there are more screen savers than can be seen.
  90.  
  91. If there is more than one screen saver available the
  92. first item in the smaller window will be called
  93. 'Random'.
  94.  
  95. Clicking select in the small window will highlight a
  96. screen saver.  If 'Random' is highlighted Endeavour
  97. will pick a screen saver at random when it is
  98. activated.
  99.  
  100. The current screen saver is shown in the title bar
  101. of the smaller window.
  102.  
  103.  
  104. ----Sleepcorners and Time----
  105.  
  106. The bottom left corner of the control window shows
  107. the circumstances of when a screen saver will start.
  108.  
  109. The four round buttons show which corners will
  110. activate a screen saver when the mouse is moved into
  111. them.  These are known as 'Sleepcorners'.
  112.  
  113. By default both the top left and top right corners
  114. will activate a screen saver.
  115.  
  116. Clicking on a button will toggle that corner on and 
  117. off.
  118.  
  119.  
  120. The two square icons show the amount of time that
  121. will have to lapse without mouse movement or key
  122. presses so a screen saver will start.
  123.  
  124. The square icon on the left is minutes and the
  125. square icon on the right is the seconds.
  126.  
  127. Clicking select on one of these icons will decrease
  128. the number whilst clicking adjust will increment
  129. the number.
  130.  
  131. The minimum amount of time before a screen saver
  132. kicks in is 5 seconds.
  133.  
  134. This time is know as the blanktime.
  135.  
  136. The saver can also be started by pressing :-
  137.  
  138.      <shift>
  139.      <ctrl>
  140.      <tab>
  141.  
  142. all together.  They are the three keys grouped together
  143. on the left hand side of the key-board.
  144.  
  145. ----Passwords----
  146.  
  147. The two boxes in the bottom right of the screen are
  148. for a password.  
  149.  
  150. To enter a password click select over one of these
  151. boxes and a 'caret' will appear.  Now type in your
  152. chosen password.  Repeat this in the other box.
  153. BOTH PASSWORDS MUST MATCH UP.
  154.  
  155. If either of the boxes contain nothing then
  156. a password will not be asked for.
  157.  
  158. To remove a password click select in a box and
  159. hold down the control key ('Ctrl') and press 'U'
  160. the password will be removed.
  161.  
  162.  
  163. ----Active / Inactive and Saving----
  164.  
  165. In the top right of the control window is an icon
  166. with 'Active' inside.  Clicking on this will change
  167. the text to 'Inactive'.  Clicking on "Inactive" will
  168. return the text to 'Active'.
  169.  
  170. The screen saver will only operate if the text is
  171. 'Active' else nothing will happen.
  172.  
  173. To save a screen saver as a Relocatable Module type
  174. the name in the box below the sprite and drag the
  175. sprite to the directory window where you want it
  176. saved.
  177.  
  178. This module can be used in the boot up sequence of
  179. your computer so there is no need to load Endeavour
  180. up each time, or it can be loaded by clicking on it
  181. twice.
  182.            
  183.  
  184. ----Menus----
  185.  
  186. There is only one menu and this consists of these
  187. options : -
  188.  
  189.               Info
  190.               Catalogue
  191.               Arguments    ⇨    On
  192.                                 Off
  193.               Help
  194.               Quit
  195.  
  196. Following the arrow next to info will show a window
  197. containing information about this program.
  198.  
  199. Clicking select on 'Catalogue' will recatalogue the
  200. Savers directory within !Endeavour.  This only
  201. needs to be done when a new screen saver is created,
  202. one is deleted or one is renamed.  When amending
  203. a screen saver there is no need to recatalogue 
  204. unless the filename has been changed.
  205.  
  206. Clicking on Arguments bring up the arguments window.
  207. By following the arrow a sub-menu will appear, this
  208. allows the arguments to be turned on or off.
  209.  
  210. Clicking on Help will show the argument help window.
  211.  
  212. Clicking on Quit will quit the program.
  213.  
  214.  
  215. ----Entering A Password----
  216.  
  217. If the passwords in both boxes are the same then
  218. when the screen saver has started and the mouse
  219. moved or key pressed a password will need to be 
  220. entered before continuing.
  221.  
  222. Click select in the box and type in the password,
  223. when done either press return or click 'ok'
  224.  
  225. You are given three chances to type it correctly
  226. before the screen saver comes back on.
  227.  
  228. If the blanktime has lapsed before typing in the 
  229. password then the screen saver will restart.
  230.  
  231. ----------------------------------------------------
  232. Module Information
  233. ----------------------------------------------------
  234.  
  235. When saving a module the module takes one of two
  236. forms.
  237. It either saves the path name for the screen saver, 
  238. or it saves the actual program in the module so it
  239. is not needed again.
  240.  
  241. If the screen saver is an application then the 
  242. pathname will be saved else it saves the program.
  243. The module length is determined by the size of the
  244. program.  The longer the program the larger the size
  245. of the module. 
  246.  
  247. If the save is an application (ideally used for 
  248. savers that require sprites) then the pathname of
  249. the saver is saved.  The saver cannot be removed, 
  250. renamed or moved elsewhere as this makes the 
  251. pathname incorrect and an error will be reported 
  252. when the saver is started.  
  253.  
  254. ----------------------------------------------------
  255. Using The Module
  256. ----------------------------------------------------
  257.  
  258. Two commands are provided for the user :-
  259.  
  260.         SleepCorners        EndeavourTime
  261.  
  262. These allow you to change when the screensaver is
  263. activated.
  264.  
  265. To see the values type in the command with no
  266. parameters.
  267.  
  268. To alter a value type in the command followed by
  269. the new value.
  270.  
  271.  
  272. ----SleepCorners----
  273.  
  274. The corners are identified by using bits : -
  275.  
  276.               (2) top left     (3) top right
  277.  
  278.                              
  279.               (0) bottom left  (1) bottom right
  280.  
  281. Bits are laid out as follows :-
  282.  
  283. Bit number         3 2 1 0
  284.                    -------
  285. Value              8 4 2 1
  286.  
  287. Therefore if you want the bottom left corner to
  288. activate the screen saver, the value is 1.
  289. If you want the top left corner as a sleep corner
  290. the value is 4.
  291. If you want both the top left and top right corners
  292. the values are added together - 8 + 4  
  293. Therefore the value is 12
  294.  
  295. Here are some value to use....
  296.  
  297. All corners on     - 15
  298. No corners         -  0
  299. Top two corners    - 12
  300. Bottom two corners -  3
  301.  
  302.  
  303. ----EndeavourTime----
  304.  
  305. This allows you to alter the time when a screen
  306. saver will come on.  The number is centi-seconds.
  307.  
  308. Use this method to work out the required time.
  309.  
  310. time=(minute%*6000)+(second%*100)
  311.  
  312.  
  313.  
  314. ----------------------------------------------------
  315. Writing Your Own Screen Savers
  316. ----------------------------------------------------
  317.  
  318. It is very quick and easy to write your own screen
  319. savers.  They can be written in any language you
  320. like and only need to obey a two obvious rules.
  321.  
  322.      1)  It must run indefinately.
  323.  
  324.    The program must keep on running and changing the
  325. screen.  It would be silly to write a screen saver
  326. that drew a white circle on a black background and
  327. did not change as this would still burn the screen.
  328.    It would also be silly to write a screen saver
  329. that stops after a few seconds as the computer
  330. would return to the desktop and this would burn in.
  331.  
  332.      2) It must end when required.
  333.  
  334.    A procedure is provided that ends the program 
  335. when the mouse is moved or a key pressed.
  336.    To end the program though you could write your
  337. screen saver to end only when a certain key is
  338. pressed.  This can provide another type of 
  339. protection. 
  340.  
  341. When you have written your screen saver copy it into
  342. the Savers directory and it is ready to be used.
  343.  
  344. Any variables which can be changed to make different
  345. effects should be REM'ed out.
  346.  
  347. ----Other Notes----
  348.  
  349. Inside the Savers directory there is a program
  350. called 'Shell'.  This is an outline of a saver
  351. showing all the basic things to know.
  352.  
  353. Care must be taken when changing the mode as it
  354. can result in a 'Bad screen mode' error. 
  355. This often happens when the desktop is in a mode
  356. that uses less screen memory than the mode you
  357. want to change to.
  358.  i.e desktop in MODE 12 and changing to MODE 15.
  359.  
  360. When using outside files, such as sprite files or
  361. sound trackers.  Two methods can be employed.
  362.  Firstly you could create your own application, 
  363. with a !Run file and !RunImage, such as !Eat or
  364. you could make a directory with all the files
  365. needed by all of your screen savers and refer to 
  366. them by pathname.
  367.  Using the first method, when saving as a module,
  368. the module uses the pathname of the application so
  369. the application is still needed and cannot be moved.  
  370. If you use the second method then when the module
  371. is saved the program is saved in the module so the
  372. program is not needed again. 
  373.  If you then add this line in your !Boot file :-
  374.   Set ScreenSaverResources$Dir 'pathname'
  375. where 'pathname' is the name of the directory with
  376. all the files in it.  These files can then be
  377. referred as "<ScreenSaverResources$Dir>.Sprites" 
  378. for example.  
  379.   I prefer the second method especially if you own
  380. a harddisc as all your screen savers can refer to
  381. the same file.  For example if three of the savers 
  382. use a tracker module then rather making three copies
  383. of the module only one is needed as all three savers
  384. can refer to it.
  385.  
  386. The best way to test your saver to see if it works
  387. is to double-click on the file.  The saver should
  388. run fine with no problems.
  389.  
  390. Arguments cannot be changed within the module.  If
  391. you require the arguments to be changed then you 
  392. will have to so manually.  Go to the command line
  393. (press F12) and type :-
  394.  
  395. *Set Argument1$Value <new value here>
  396. *Set Argument2$Value <new value here>
  397. *Set Argument3$Value <new value here>
  398. *Set Argument4$Value <new value here>
  399.  
  400. You do not have to set all if you only want to 
  401. one.
  402.  
  403. Remember savers can contain samples, sprites etc.
  404. Unfortunately I do not have the resources to include
  405. ones like the After-Dark savers for the PC.  If you
  406. write some like that then PLEASE send them to me.
  407.  
  408. ----------------------------------------------------
  409. Arguments
  410. ----------------------------------------------------
  411.  
  412. Now if arguments are required by your saver it gets
  413. a little more complicated - but I have tried to keep
  414. it as simple as possible.  The easiest way to learn
  415. is by looking at the savers provided but here's an
  416. explanation.
  417.  
  418. When !Endeavour is run four system variables are
  419. provided.  These are :-
  420.  
  421.     Argument1$Value   
  422.     Argument2$Value   
  423.     Argument3$Value   
  424.     Argument4$Value   
  425.  
  426. Arguments 1 and 2 contain intger (whole) numbers.
  427. Argument 2 can contain a floating point number.
  428. Argument 4 contains a string.
  429.  
  430. Two functions are provided to read these and
  431. convert them to a string or number.
  432.  
  433. If the arguments are turned off these will be set 
  434. to zero and your program must contain a check so
  435. a set of default values will be used.  This, 
  436. however, means that 0 cannot be used for an 
  437. argument and I suggest that if there is to be an
  438. option that is either on or off use 1 to denote
  439. on and 2 to denote off.
  440.  
  441. A value of -1 is returned if the System variables
  442. are not present.  This can only happen if the 
  443. program is being run from a module and !Endeavour
  444. has not been run.  In this case default values
  445. must be used.
  446.  
  447. ----Help----
  448.  
  449. When arguments are wanted there should be text 
  450. telling the user what each argument does.  Also, 
  451. there should be default values in case the user
  452. does not want to change them.
  453.  
  454. For each saver that requires arguments there must
  455. be a text file of the same name as the saver in the
  456. directory 'Text' that is in the !Endeavour
  457. application.
  458.  
  459. There is an application available that allows the
  460. help for the arguments to be written easily but if
  461. you have not got that it is still very simple to
  462. type them into a text file.  Here's how to do it..
  463.  
  464. The first four lines contains the text for the four
  465. arguments respectively.  The next four the default
  466. values for the four arguments in the same order.
  467.  
  468. Leave a blank line if no argument is required.
  469. ie. If no string or value is needed leave it blank.
  470. Remember to press enter after the default value for
  471. argument four.
  472. The default values should match up with the ones in
  473. the saver.
  474. The file MUST consist of 8 lines.
  475. If in doubt edit an existing file.
  476.  
  477. Step by step...
  478.  
  479. 1. Open a text file using a text editor.
  480. 2. Enter the short help for argument 1.
  481. 3. Press <space> then a '*' and then the long help.
  482. 4. Press <return>.
  483. 5. Repeat steps 2-4 until all text entered.
  484. 6. Enter the default value for argument 1.
  485. 7. Press <return>
  486. 8. Repeat step 6 and 7 until all default values are
  487.    entered.
  488.  
  489. ----------------------------------------------------
  490. Files Contained With Endeavour
  491. ----------------------------------------------------
  492.  
  493. With the Endeavour application you should receive
  494. these files : -
  495.  
  496.         !Boot         - Obey File     - file_feb
  497.         !Help         - Text File     - file_fff
  498.         !Run          - Obey File     - file_feb
  499.         !RunImage     - Program       - file_???
  500.         !Sprites      - Sprite File   - file_ff9
  501.         Immaculate    - Module        - file_ffa
  502.         Sprites       - Sprite File   - file_ff9
  503.         Templates     - Templates     - file_fec
  504.  
  505. Copying of these files is allowed.
  506.  
  507. You may distribute this program as long as all
  508. files are kept intact.
  509.  
  510. The directory of screen savers and all modules 
  511. created by Endeavour may be freely copied and
  512. distributed.  I encourage you to send good
  513. ones to all the popular PD libaries and BBS'es.
  514.  
  515.  
  516. ----------------------------------------------------
  517. Problems, Bugs with the Demo Version.
  518. ----------------------------------------------------
  519.  
  520. At the moment when a saver is run or a new one is
  521. selected then disk with the savers on is needed.
  522. This is because when a new one is chosen and the
  523. arguments are switched on the help file for it has
  524. to be read in and when one is run it needs it from 
  525. the disk.  
  526. If you have a hard-disc this is no problem when the
  527. program is installed but for those without then the
  528. disk is needed all the while.  If you register 
  529. and state you have no hard-disc I will include a
  530. few within the program so !Endeavour can be run and
  531. the disk removed.  This will only work for the ones
  532. I have included.
  533.  
  534. One error can be caused when a saver is run which
  535. wants a mode with more screen-memory than you have.
  536. ie. desktop in Mode 12 and the saver wants Mode 15.
  537. The easiest way around this is to put the desktop
  538. in Mode 15.  Currently I am working a way around 
  539. this problem which should be solved for the full 
  540. version.  If anyone can help get my email address
  541. at the bottom and mail me....
  542.  
  543. There is a few bugs still in the Demo version but 
  544. the full version has not got these.
  545.  
  546. The best way to test your saver to see if it works
  547. is to double-click on the file.  The saver should
  548. run fine with no problems.
  549.  
  550.  
  551. ----------------------------------------------------
  552. Registering And Sending any Savers to me.
  553. ----------------------------------------------------
  554.  
  555. If you have written any spectacular screen-savers
  556. then please send them to me and I will include them
  557. with the full version.  If you send a stamp 
  558. addressed envelope I will return the disk with
  559. various items of PD.  I will be making a disk of the
  560. best ones and sending them to all major PD libaries 
  561. and BBS'es.
  562.  
  563. ***Registering***
  564.  
  565. To register tell me what machine it is for and
  566. send a Cheque or Postal Order for £8.00 to :-
  567.  
  568.      Scott Newby
  569.      130 Locarno Road
  570.      Tipton
  571.      West-Midlands
  572.      DY4-9SB
  573.  
  574. If you have any questions, found some bugs, 
  575. need any help or just want to drop me a line then
  576. email me at :-
  577.  
  578.      S.Newby@wlv.ac.uk
  579.  
  580. By the way, after the cost of a disk, P & P any
  581. money left will be put towards upgrading my computer
  582. so I can write even more programs....
  583.  
  584. At the moment I own a lowly A310, 1 Meg and no 
  585. hard-drive <sob, sob>.  !Endeavour runs perfectly
  586. on this.  It also runs, but I haven't tested 
  587. everything, on a Risc PC.
  588.  
  589. ----------------------------------------------------
  590. Thanks & Credits.
  591. ----------------------------------------------------
  592.  
  593. This program was written by Scott Newby.......
  594.  
  595. A big THANKS goes to Philip & David Partridge for
  596. their help.  Another THANKS goes to David Fisher for
  597. a LOT of help in the module bit.  But between me
  598. and you he's a few directories short of a full
  599. pathname.  And finally another THANKS to Gary 
  600. Blewitt for letting me test it on his RISC PC.....