home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
GAMES_A
/
ZZTTOOL.ZIP
/
ZZTLOCK.DOC
< prev
next >
Wrap
Text File
|
1994-01-01
|
2KB
|
47 lines
---Zztlock.Doc
---
---Documentation for ZZTLOCK.EXE
---
---Copyright 1993 (C) Software Visions,
---All Rights Reserved.
---ZZT and Super ZZT are Copyrights of Epic Megagames
This is a simple program to "lock" (prevent from editing) or "unlock"
a .ZZT file. Also included is a fairly complex method to "super-lock" a .ZZT
file. The file then cannot be unlocked with this program or edited without
use of a Hex Editor and knowledge of the .ZZT file format. Simply run ZZTLOCK
and enter the filename, then choose Lock, Unlock, or Super Unlock. Choose
Help for information on the different choices. WARNING: The Super Lock
technique CORRUPTS the final board in the file, so you should have a blank,
unused board there. The technique is also IRREVERSIBLE without complex hex
editing.
Note: ZZTLOCK does NOT work on Super ZZT files.
The command line format:
ZZTLOCK filename switch
Wildcards are NOT allowed. switch must be -l or -L for lock, -u or -U for
unlock, -s or -S for Super Lock, -h -H or -? for help. Others will result in
an error. If the second argument is missing, ZZTLOCK will prompt whether to
lock, unlock, Super Lock, or give help. Typing ZZTLOCK -h (without the
filename) will also bring up help.
Note that all filenames (whether on the command line or input directly)
cannot have any wildcards, and if no extension is specified, .ZZT is added.
The regular (reversable) lock and unlock work by editing bytes 50 through 56
of the ZZT file. If these bytes contain a hex byte 06 followed by the word
SECRET, then the file is locked. If the hex byte is a 00, the file is not
locked.
The Super Lock technique does this to prevent casual snoopers, but in
addition modifys the file so that only the last board is accessible, then
corrupts the last board, thereby preventing ALL access. NOTE: The "snooper"
CAN edit the board the player starts on. But as soon as he brings up the
board list, he is headed for a runtime error or lockup. The only thing he
CAN be is "Add a New Board", but obviously he still can't get to the existing
game.