home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / GAMES_A / ZZTTOOL.ZIP / ZZTLOCK.DOC < prev    next >
Text File  |  1994-01-01  |  2KB  |  47 lines

  1. ---Zztlock.Doc
  2. ---
  3. ---Documentation for ZZTLOCK.EXE
  4. ---
  5. ---Copyright 1993 (C) Software Visions,
  6. ---All Rights Reserved.
  7. ---ZZT and Super ZZT are Copyrights of Epic Megagames
  8.  
  9.  
  10. This is a simple program to "lock" (prevent from editing) or "unlock"
  11. a .ZZT file. Also included is a fairly complex method to "super-lock" a .ZZT
  12. file. The file then cannot be unlocked with this program or edited without
  13. use of a Hex Editor and knowledge of the .ZZT file format. Simply run ZZTLOCK
  14. and enter the filename, then choose Lock, Unlock, or Super Unlock. Choose
  15. Help for information on the different choices. WARNING: The Super Lock
  16. technique CORRUPTS the final board in the file, so you should have a blank,
  17. unused board there. The technique is also IRREVERSIBLE without complex hex
  18. editing.
  19.  
  20. Note: ZZTLOCK does NOT work on Super ZZT files.
  21.  
  22. The command line format:
  23.  
  24. ZZTLOCK filename switch
  25.  
  26. Wildcards are NOT allowed. switch must be -l or -L for lock, -u or -U for
  27. unlock, -s or -S for Super Lock, -h -H or -? for help. Others will result in 
  28. an error. If the second argument is missing, ZZTLOCK will prompt whether to 
  29. lock, unlock, Super Lock, or give help. Typing ZZTLOCK -h (without the
  30. filename) will also bring up help.
  31.  
  32. Note that all filenames (whether on the command line or input directly)
  33. cannot have any wildcards, and if no extension is specified, .ZZT is added.
  34.  
  35. The regular (reversable) lock and unlock work by editing bytes 50 through 56
  36. of the ZZT file. If these bytes contain a hex byte 06 followed by the word
  37. SECRET, then the file is locked. If the hex byte is a 00, the file is not
  38. locked.
  39.  
  40. The Super Lock technique does this to prevent casual snoopers, but in 
  41. addition modifys the file so that only the last board is accessible, then
  42. corrupts the last board, thereby preventing ALL access. NOTE: The "snooper"
  43. CAN edit the board the player starts on. But as soon as he brings up the
  44. board list, he is headed for a runtime error or lockup. The only thing he
  45. CAN be is "Add a New Board", but obviously he still can't get to the existing
  46. game.
  47.