home *** CD-ROM | disk | FTP | other *** search
/ Game Killer / Game_Killer.bin / 238.FSHELL.ZIP / FSHELL.TXT < prev    next >
Text File  |  1992-02-05  |  4KB  |  87 lines

  1. *******************************************************************************
  2.                              Falcon Shell 1.0
  3. *******************************************************************************
  4.  
  5. You should now have the following files:
  6.  
  7.                 FSHELL.TXT - This file
  8.                 FSHELL.BAT - The program itself
  9.                 SNIFFIT.COM - Utility for reading keystrokes
  10.  
  11. After going back and forth between Falcon 3.0, Falconer, and DOS (to either
  12. manualy backup my squadron files or restore the ones that Falcon trashed!) I
  13. got a little tired of it and decided to write this shell to make things easier.
  14. What I wanted to be able to do was start the shell and by pressing *one* key
  15. either start Falcon, start the Falconer editor, backup or restore one squadron,
  16. or backup or restore all squadrons. I also wanted to use only *one* batch file
  17. rather than a kludge of several (I hate having a zillion little files on my
  18. drive labeled "1.BAT, 2.BAT, etc.). I also didn't want it to be too ugly so I
  19. added color (this slows it down a little, but what the hell...). Anyway, I
  20. wrote the program as a DOS batch file but by making use of a utility called
  21. "SniffIt" I was able to assign error levels to keystrokes so I could keep it
  22. down to one batch file. It's not really fancy but it works. This is what the 
  23. main menu looks like:
  24.  
  25.                             FALCON SHELL
  26.                             
  27.                              Main Menu
  28.  
  29.                      F - Run Falcon 3.0
  30.  
  31.                      E - Use squadron editor
  32.  
  33.                      B - Backup squadron files
  34.  
  35.                      R - Restore squadron files
  36.  
  37.  
  38.                    ESC - Exit to DOS
  39.  
  40.  
  41. The first two selections result in either Falcon or Falconer being executed.
  42. When you exit Falcon or Falconer you will be returned to this menu. This makes
  43. it easy to get in and out of Falcon between missions in order to backup files
  44. or edit your squadrons. Selecting either of the next two brings up a new menu:
  45.  
  46.                             FALCON SHELL
  47.                             
  48.                             Backup Menu
  49.  
  50.                      A - Backup All Squadrons
  51.                      B - Backup Sqaudron 0
  52.                      C - Backup Sqaudron 1
  53.                      D - Backup Sqaudron 2
  54.                      E - Backup Sqaudron 3
  55.                      F - Backup Sqaudron 4
  56.                      G - Backup Sqaudron 5
  57.  
  58.  
  59.                    ESC - Go to main menu
  60.  
  61.  
  62. This is, ofcourse, the Backup menu. The Restore menu is identical except it
  63. restores! :-) Here I wanted to use the letter "A" for all squadrons and the
  64. numbers "0-5" for the other menu choices. However, the "SniffIt" program does
  65. not seem to be able to read the "0" key so I decided to go with letters. If
  66. you know of a program similar to "SniffIt" that can do this, then by all means
  67. use it and edit the backup/restore menus. Using numbers would make the program
  68. far more intuitive. Also, if you find such a beast, let me know where I can
  69. get it so I can include it in the next version.
  70.  
  71. Anyway, to run the program, you must place "SNIFFIT.COM" in the same directory
  72. as Falcon. You can place FSHELL.BAT anywhere you like. The program assumes that
  73. your Falcon files are in "C:\Games\Falcon3". If they are somewhere else then
  74. you will have to edit one line in the program. The program also assumes that
  75. the file "FALCONER.EXE" resides with the Falcon files. Again, if it is called
  76. something else on your system, you will have to edit one line. The first time
  77. you run the program it checks for a directory called "F3BACKUP" in the Falcon
  78. directory. If there isn't one it will create it. This is where FShell places
  79. the backed up squadron files.
  80.  
  81. That's about it. Ofcourse, you are free to edit the program and make any
  82. changes you like. If you do anything you feel really improves it then let me
  83. know.
  84.  
  85. Michael "Stick" Williams
  86. 70363,2235
  87.