home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Killer
/
Game_Killer.bin
/
488.MAHSHELL.DOC
< prev
next >
Wrap
Text File
|
1990-08-23
|
19KB
|
413 lines
Mah Jongg Tile Set Manager
Version 3.0
Mah Jongg Tile Set Manager, Version 3.0 (MAHSHELL.EXE), is a program from
JSSJ Software that manages your Mah Jongg Tile Set Library. MAHSHELL.EXE
works with Nels Anderson's MAHJONGG.EXE Version 3.3, which provides the
ability to design custom tile sets. In addition, MAHSHELL lets you
establish a setup command for the various Mah Jongg parameters that you
usually include in your command line when MAHJONGG.EXE is run. The
parameters supported are:
-n Bypass the Title Page
-m Use a MOUSE
-tn Play a timed game
-cn Set Background color
-dn Set MOUSE Cursor color
-y Y/N prompt after selecting tiles
MAHSHELL.EXE currently supports EGA and VGA systems only. Because I do not
have access to any computers with Hercules, EGA Monochrome or Laptop
displays, I have not implemented the -h, -l or -li options. If someone is
willing to test such versions, I would be happy to add the code.
The program can also utilize a Microsoft-compatible Mouse if available. The
program will recognize the presence of the mouse driver. MAHSHELL
recognizes the press of any mouse button to select Tile Sets or commands.
Version 3.0 adds two significant features:
1) Previous versions of MAHSHELL supported up to 50 tile sets. Many
of the people registering the program recently have indicated that
this was becoming a real limitation. One person reported over 80
tile sets in his collection. Thus, this version supports 500 tile
sets.
2) At approximately 1 megabytes of storage space per 30 tile sets, I
also decided to add compressed file support to 3.0. Using Phil
Katz's PKWARE (PKZIP/PKUNZIP), MAHSHELL can optionally store your
tile sets in a .ZIP file. Although this slightly increases the
time to start both MAHSHELL and MAHJONGG, it reduces the disk
storage requirements by about *85%*, a tradeoff that is well worth
the extra time.
INSTALLING MAHSHELL.EXE
Installation is simple, just copy MAHSHELL.EXE into the directory that
contains MAHJONGG.EXE and your tile sets (.TIL files). If you used a
previous version of MAHSHELL, BE SURE TO DELETE THE OLD MAHSHELL.DAT file,
as the new format is not compatible with older versions. Finally, make sure
that PKZIP.EXE and PKUNZIP.EXE are in the same directory or in your PATH
command.
STARTING MAHSHELL
To start the program enter MAHSHELL at the MS-DOS prompt while in the
directory where MAHSHELL.EXE, MAHJONGG.EXE and your .TIL files are stored
(i.e. C:\GAMES>). MAHSHELL can display up to 50 tile sets on the screen for
selection for play. If you have more than 50, MAHSHELL can page through up
to 450 additional Tile Sets (500 total). Unless this is your first time
running MAHSHELL, the Tile Menu screen will appear as follows:
╔════════════════════════════════════════════════╗
║ MAH JONGG TILE SET MANAGER (3.0) ║
║ Use Keyboard or MOUSE to select Tile Set ║
╚════════════════════════════════════════════════╝
1 = ART 11 = KIDS
2 = ASCII 12 = LASVEGAS
3 = ASTRO 13 = LOGO
4 = BASEBALL 14 = MAHJONGG
5 = CABLETV 15 = MUSIC
6 = CARDS 16 = NUMBER
7 = COMPUTER 17 = PATS
8 = DOODLE 18 = REICH
9 = FLAGS 19 = TRUCK
10 = HARDWARE 20 = USAFANDY
╔═════════════╤════════════╤════════════╤════════════╤════════════╤════════════╗
║ Tile No. __ │ Setup │ PgUp │ PgDn │ Update Zip │ Exit ║
╚═════════════╧════════════╧════════════╧════════════╧════════════╧════════════╝
Current parameters are:
Title=No Mouse=Yes Timed=No BG Color= 1 Cursor= 14 Prompt=Yes ZIP=ON
Page 2 of 7 (c) 1990 - JSSJ Software - Milwaukee, WI
______________________________
The title box will indicate if MAHSHELL found your mouse driver or not by
the prompt on the second line. If MOUSE.SYS or MOUSE.COM is active, the
text cursor (█) will also appear in the center of the screen. Each tile set
is assigned a number and displayed 50 per screen. To select a tile set
simply move the mouse cursor to the desired tile set and press any button on
the mouse. Alternatively, enter the number on the keyboard and press
[ENTER].
The COMMAND LINE displays the command selections available in MAHSHELL.
The parameter area displays the current settings for running Mah Jongg.
Finally, in the lower lefthand corner is the page indicator. If more than
50 tiles sets exist, this will indicate both the current page and the total
number of pages.
COMMANDS
╒═════════════╕
│ SETUP │
╘═════════════╛
Upon initial use, MAHSHELL will prompt for the setup options you wish to
make standard. These are saved in a file called MAHSHELL.DAT, and are used
until you select the Setup Option (by pressing the 'S' key or pointing to
the Setup box on the COMMAND LINE and pressing any mouse button). Thus, you
will only see this screen once unless you change your standard setup or
delete the MAHSHELL.DAT file.
The setup routine will prompt you for the information it needs to run
MAHJONGG, as well as the use of the compression option. You should refer to
your MAHJONGG documentation for the meaning of each parameter if you do not
understand the prompt. The first prompt that will appear is:
╔════════════════════════════════════════════════════════════════╗
║ SETUP MAH JONGG TILE SET MANAGER ║
╠════════════════════════════════════════════════════════════════╣
║ Do you wish to bypass the title page (Y or N)? ║
╚════════════════════════════════════════════════════════════════╝
Answer 'Y' or 'N', followed by the [ENTER] key. MAHSHELL accepts UPPER or
lower case responses.
The next prompt is:
╔════════════════════════════════════════════════════════════════╗
║ SETUP MAH JONGG TILE SET MANAGER ║
╠════════════════════════════════════════════════════════════════╣
║ Will you be using a MOUSE (Y or N)? ║
╚════════════════════════════════════════════════════════════════╝
Answer 'Y' or 'N', followed by the [ENTER] key. It appears that MAHJONGG
ignores this parameter and uses the mouse if the driver is present.
However, be sure to answer 'Y' if you plan to use the mouse, otherwise,
MAHSHELL will NOT prompt you for a Mouse Cursor Color.
The next prompt is:
╔════════════════════════════════════════════════════════════════╗
║ SETUP MAH JONGG TILE SET MANAGER ║
╠════════════════════════════════════════════════════════════════╣
║ Will you be playing a timed game (Y or N)? ║
╚════════════════════════════════════════════════════════════════╝
Answer 'Y' or 'N', followed by the [ENTER] key. If you answer 'Y', the
following prompt will appear:
╔════════════════════════════════════════════════════════════════╗
║ SETUP MAH JONGG TILE SET MANAGER ║
╠════════════════════════════════════════════════════════════════╣
║ How long do you want the timed games? ║
╚════════════════════════════════════════════════════════════════╝
Enter the length of time (in minutes) for the game.
COMMANDS (Continued)
╒═════════════╕
│ SETUP │ (Continued)
╘═════════════╛
The next prompt is:
╔════════════════════════════════════════════════════════════════╗
║ SETUP MAH JONGG TILE SET MANAGER ║
╠════════════════════════════════════════════════════════════════╣
║ Do you wish to have a (Y/N) prompt after selecting tiles? ║
╚════════════════════════════════════════════════════════════════╝
Answer 'Y' or 'N', followed by the [ENTER] key.
The next prompt is:
╔════════════════════════════════════════════════════════════════╗
║ SETUP MAH JONGG TILE SET MANAGER ║
╠════════════════════════════════════════════════════════════════╣
║ Do you wish to change the background color (Y or N)? ║
╚════════════════════════════════════════════════════════════════╝
Answer 'Y' or 'N', followed by the [ENTER] key.
If you responded 'Y' to the prompt, you will be asked to select a color:
╔════════════════════════════════════════════════════════════════╗
║ SETUP MAH JONGG TILE SET MANAGER ║
╠════════════════════════════════════════════════════════════════╣
║ Enter background color number from below (1-15)? ║
╚════════════════════════════════════════════════════════════════╝
As indicated, MAHSHELL displays the 15 available colors at the bottom of the
screen. Enter a number from 1 to 15 and press [ENTER].
If you indicated that you would be using the mouse in MAHJONGG, the
following prompt will appear next:
╔════════════════════════════════════════════════════════════════╗
║ SETUP MAH JONGG TILE SET MANAGER ║
╠════════════════════════════════════════════════════════════════╣
║ Do you wish to change the MOUSE cursor color (Y or N)? ║
╚════════════════════════════════════════════════════════════════╝
Answer 'Y' or 'N', followed by the [ENTER] key.
If you responded 'Y' to the prompt, you will be asked to select a color:
╔════════════════════════════════════════════════════════════════╗
║ SETUP MAH JONGG TILE SET MANAGER ║
╠════════════════════════════════════════════════════════════════╣
║ Enter MOUSE cursor color number from below (1-15)? ║
╚════════════════════════════════════════════════════════════════╝
As in the case of the background color prompt, MAHSHELL displays the 15
available colors at the bottom of the screen. Enter a number from 1 to 15
and press [ENTER].
COMMANDS (Continued)
╒═════════════╕
│ SETUP │ (Continued)
╘═════════════╛
Next you will be prompted for the compression options. There are several
considerations concerning the use of this option. First, PKZIP.EXE and
PKUNZIP.EXE MUST be in the current directory or in a directory in your PATH
command. Second, there must be enough available disk space on the current
drive for PKZIP to make the Zip file. Although this is generally NOT a
problem, always have a backup of your tile sets in case of an unforeseen
problem.
NOTE: I do not want to discourage you from using this feature, as it really
saves a lot of disk space if you have a large number of tile sets. However,
PLEASE keep a current backup of your tile sets.
The next prompts will vary depending on whether the compression option is ON
or OFF (the default is OFF). If the option is OFF, the following prompts
and screens appear:
╔════════════════════════════════════════════════════════════════╗
║ SETUP MAH JONGG TILE SET MANAGER ║
╠════════════════════════════════════════════════════════════════╣
║ Do you wish to compress (ZIP) your tile sets (Y or N)? ║
╚════════════════════════════════════════════════════════════════╝
Answer 'Y' or 'N', followed by the [ENTER] key.
If you answer 'N', the MAHSHELL Tile Menu will appear. If you answer 'Y",
the following warning will appear:
╔════════════════════════════════════════════════════════════╗
║ *** WARNING *** WARNING *** WARNING *** ║
╠════════════════════════════════════════════════════════════╣
║ ║
║ This routine will compress all of your .TIL files ║
║ in the current directory into a file named MAH_TILE.ZIP, ║
║ and then delete them. Since there are error conditions ║
║ which may occur during the running of PKZIP.EXE that ║
║ are beyond the control of MAHSHELL.EXE, we recommend ║
║ that you make a backup of your .TIL files prior to ║
║ running this procedure. ║
║ ║
║ Do you wish to continue (Y or N)? ║
║ ║
╚════════════════════════════════════════════════════════════╝
Answer 'Y' or 'N', followed by the [ENTER] key. If you answer 'N', MAHSHELL
will proceed to the Tile Menu. If you enter 'Y', MAHSHELL will invoke
PKZIP, compress your .TIL files, AND THEN DELETE YOUR TILE SETS. As
explained in the warning and on the previous page, DO NOT COMPRESS YOUR TILE
SETS WITHOUT A CURRENT BACKUP! The program will now display the Tile Menu.
COMMANDS (Continued)
╒═════════════╕
│ SETUP │ (Continued)
╘═════════════╛
If the Zip option was ON when SETUP was selected, the following prompt will
appear:
╔════════════════════════════════════════════════════════════════╗
║ SETUP MAH JONGG TILE SET MANAGER ║
╠════════════════════════════════════════════════════════════════╣
║ Do you wish to keep your compressed tile sets (Y or N)? ║
╚════════════════════════════════════════════════════════════════╝
Answer 'Y' or 'N', followed by the [ENTER] key. If you respond 'Y" then
MAHSHELL will proceed to the Tile Menu. If you answer 'N', the following
warning will appear:
╔════════════════════════════════════════════════════════════╗
║ *** WARNING *** WARNING *** WARNING *** ║
╠════════════════════════════════════════════════════════════╣
║ ║
║ This routine will decompress your MAH_TILE.ZIP ║
║ file and place your tile sets (.TIL files) in the ║
║ current directory. MAH_TILE.ZIP will then be DELETED. ║
║ Since there are error conditions which may occur during ║
║ the running of PKUNZIP.EXE that are beyond the control ║
║ of MAHSHELL.EXE, we recommend that you make a backup ║
║ of your .TIL files prior to running this procedure. ║
║ ║
║ Do you wish to continue (Y or N)? ║
║ ║
╚════════════════════════════════════════════════════════════╝
Answer 'Y' or 'N', followed by the [ENTER] key. If you enter 'N' then
MAHSHELL will proceed to the Tile Menu, leaving your .ZIP file intact. If
you enter 'Y" then MAHSHELL will invoke PKUNZIP, decompress your .TIL files
and DELETE the .ZIP file. After PKUNZIP has finished, MAHSHELL will display
the Tile Menu.
╒════════════╤════════════╕
│ PgUp │ PgDn │
╘════════════╧════════════╛
If you have more than one page (50) tile sets, the [PgUp]/[PgDn] commands
will page through the additional tile sets. [PgUp] pages toward the TOP of
the list, and [PgDn] pages toward the END of the list. MAHSHELL displays
these commands in Bright White if they are active or Gray if they are
inactive. For example, if you are on page 1 of 5, [PgUp] will be inactive
and [PgDn] will be active.
╒════════════╕
│ Update Zip │
╘════════════╛
When you receive new tile sets, you may add them to the ZIP file using the
Update ZIP command. Place the new .TIL files in the directory with MAHJONGG
and MAHSHELL and select this command by pressing the 'U' key or move the
mouse cursor to the Update ZIP command and pressing any key on the mouse.
MAHSHELL will add the .TIL files to the .ZIP file. Again, keep a current
backup of your tile sets.
COMMANDS (Continued)
╒════════════╗
│ Exit ║
╘════════════╝
The exit command will terminate MAHSHELL. Select the command by pressing
the 'E' key or move the mouse cursor to the EXIT command and pressing any
key on the mouse.
OTHER INFORMATION
The program will also interface with one of our other products, the VGA Fun
Pak. Select the insert option in the Game Menu Program, and enter
'MAHSHELL' at the program name prompt. At the Program description prompt,
enter something like 'Nels Anderson's Mah Jongg'. Enter 'EXE' at the
program type prompt. When you select that option, the Game Menu program
will call MAHSHELL.EXE, and you can select the Tile Set you wish to play
with. Upon exiting MAHJONGG.EXE, you will be returned to the MAHSHELL
program to play another game or exit.
The program reads all files in the current directory with an extension of
'.TIL'. It then creates a temporary file called TILES.TMP and extracts the
names of the Tile Sets from the file name. The temporary file is deleted
immediately. If you use the ZIP option, the .TMP file is created from the
.TIL files in the .ZIP file.
Note that MAHSHELL.EXE, MAHSHELL.DAT, ?.TIL and MAHJONGG.EXE must be in the
same directory, and that directory must be the current directory. In
addition to use the ZIP option, PKZIP.EXE and PKUNZIP.EXE must be in the
same directory or in a directory in you PATH command.
SHAREWARE
The Mah Jongg Tile Set Manager (MAHSHELL.EXE) program is distributed as
Shareware, with payment of the registration fee based on the honor system.
If the program is useful and you continue to use the program after an
initial trial, you are requested to send $12 to:
Steve Shattuck
5289 N. Lake Drive
Whitefish Bay, WI 53217
Upgrades for previously registered users of MAHSHELL are available for $5 on
5¼" disk or $6 for 3½" disk. A site license for 10 or more copies at a
single location is available for $50.
It is also expected that you will separately register Nels Anderson's
MAHJONGG.EXE program. In any case, please register Nels' program even if
you don't register mine. I would certainly be upset to find that someone
had registered MAHSHELL and not registered MAHJONGG!
Feel free to comment on the Mah Jongg Tile Set Manager and make suggestion
for it's improvements. I would also be interested in your favorite Tile
Sets. I can be reached on Exec-PC in Milwaukee, WI (414) 789-4210, the best
BBS in the World!