home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Killer
/
Game_Killer.bin
/
809.README.DOC
< prev
next >
Wrap
Text File
|
1992-03-09
|
6KB
|
171 lines
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ FLIGHT SIMULATOR SCENERY DIRECTORY MANAGEMENT UTILITIES +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Freeware programs created by C.D. Trent, Stafford, UK.
Original version 1.0 - 1 December 1991
Updated to version 1.1 - 9 March 1992
This package contains the following files:
README.DOC - this file
SCDEL.EXE - scenery file delete utility
SCADD.BAT - sample scenery file add utility
IDEL.EXE - interactive delete utility
Changes from previous version:
1. SCDEL.EXE has been altered to allow the use of a
drive letter in the environment variable SCENROOT
2. README.DOC has been updated and revised
_________________________________________________________
I created these utilities for use under DOS to maintain some order in
my own FS4 directories. I became tired of manually copying, moving,
deleting fairly large numbers of .SC1, .DY1 and .MOD files in order to
keep my working set to a reasonable size, and I also wanted to keep
some mutually incompatible groups of files out of the way of each other.
The file structure I use is typified by:
FS4---
|--SCN--
| |--AZ
| |--CA
| |--CARIB
| |--NM
| |--NY
| |--NYCITY
| |--UK
|
|--SEE
etc.
I keep all the groups of scenery files (.SC1, .DY1, .MOD files) in separate
subdirectories, grouped under a common parent directory, which in the
illustration above happens to be \FS4\SCN. I use the files in the various
subdirectories as, in effect, master copies of the scenery. I use the
utilities SCADD.EXE and SCDEL.EXE (as supplied here) to create and delete
working copies of these groups of master files in my basic FS4 directory.
This allows me to keep a clean FS4 directory, with just those groups of
scenery files that I want in it at any one time, and I can add or remove
scenery with very simple commands (SCADD, SCDEL - see below).
_________________________________________________________
The utilites included here require you to set up an environment variable
SCENROOT before using them: SCENROOT should contain the pathname of the
parent directory of all the scenery subdirectories.
In the example above the necessary DOS command line would be
set SCENROOT=\fs4\scn
You could either type this in or (more typically) insert it in your
AUTOEXEC.BAT file. The right-hand side of the assignment can
optionally contain a drive assignment, for example:
set SCENROOT=c:\fs4\scn
This allows you to use SCADD and SCDEL if you keep master scenery files
on a different physical or logical disk from your basic FS4 files.
_________________________________________________________
The program SCDEL.EXE is used to remove groups of files from the main
FS4 directory. It uses the environment variable SCENROOT to provide a
pathname for the parent directory of all the scenery subdirectories.
You must define SCENROOT beforehand: an example is given above.
SCDEL.EXE is run in the basic FS4 directory. It has the command line
syntax:
scdel [subdirectory list]
(e.g: scdel ny az carib)
It deletes all copies in the basic FS4 directory of the various files
with .SC1 .DY1 .MOD extensions which exist in those scenery
subdirectories named as arguments in its command line. It does *not*
delete any files in the scenery subdirectories themselves.
Note: SCDEL.EXE can also be used without any arguments, when it responds
to input consisting of a single directory name per line. Just
hitting <return> or <ctrl-Z> will exit the program. This interactive mode
is intended to allow SCDEL.EXE to accept piped input in a batch program.
_________________________________________________________
Copying groups of scenery files into the main FS4 directory is
simple - the batch file SCADD.BAT in this package is a working example
that can be modified if necessary.
SCADD.BAT is run in the basic FS4 directory. The command line syntax
for this batch file is:
scadd [subdirectory list]
(e.g: scadd az carib)
SCADD.BAT requires the environment variable SCENROOT to be set up -
an example of this is given above.
_________________________________________________________
I also include a simple interactive file deletion program IDEL.EXE
with this package: this has the command line syntax
idel [file list]
It deletes the named files.
Its main intended use is without command line arguments, when it
deletes files whose names are piped from another program or typed
one per line from the keyboard - exit using <ctrl-Z>. The piping
facility is not available from the standard DELETE command in DOS.
Typical uses might be:
type [listfile] | idel
or (in a batch file, and using the Unix-derived stream editor sed.exe,
not supplied here, to extract suitable filenames from a directory
listing):
dir %1 | sed -f [sedscriptfile] | idel
IDEL.EXE does not use the SCENROOT environment variable: it deletes
only the files explicitly named in its input. Wild cards are *not*
allowed in the filenames supplied to it and file name extensions must
be specified. (The alternative seemed far too risky to me!) The use of
IDEL.EXE is not restricted to .SC1,.DY1,.DOC files.
This file may be of use to people who have directories organised very
differently from the pattern I have shown above, so that SCDEL.EXE and
SCADD.EXE are of no interest to them.
All the above programs are provided as is, with no guaranteees - they work
fine in my system - and have not been validated against all versions of DOS.
They are provided free of copyright and at no charge. Please contact me
via CIS with any queries or comments. I will provide the C source code for
SCDEL.EXE on request.
Chris Trent
100015,3647
9 March 1992