home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / games / dm_ed / dm_ed.stw (.txt) < prev    next >
Atari Works Document  |  1994-03-10  |  13KB  |  139 lines

  1. Dungeon Master/Chaos Strikes Back
  2. Park Avenue
  3. oper Black
  4. Bitstream Cooper Black
  5. The AMAZINGLY, ASTONISHINGLY, ASTOUNDINGLY, W O N D E R F U L 
  6. DUNGEON MASTER / CHAOS STRIKES BACK 
  7. EDITOR 
  8. Version 1.0
  9. , or some large number if you count all the versions that
  10. were written in 
  11. STOS BASIC
  12. Introduction
  13. ======
  14.     A few weeks ago, my good friend Antony Burden, with whom I wrote the original version of this program (in 
  15. STOS BASIC
  16. ), told me that he had had a request for an updated version which was 
  17.  compatible. That shows how long it was since we last did any work on this program -- roughly 3 years.
  18.     Anyway, I managed to dig out a copy of the source code from the bottom of a disk box, and set about compiling it with the most recent version of 
  19.  which I possessed.
  20. There was a slight hitch. After compiling, it simply didn't run.
  21. So, faced with the choice of picking my way through the old version to find out why it didn't work, and re-writing it from scratch, I decided to do a complete re-write.
  22.     So, a few weeks later, this is the result.  This program is now written completely in C, and compiled with the 
  23. GNU C 
  24. compiler with all the optimisation settings on.
  25.     It isn't very pretty, it doesn't use 
  26. , and control is by keyboard only, but it works.  (Having said that, I haven't had the opportunity to test it on any other machine than my 5-year-old 
  27. , with 
  28. TOS 1.2
  29. , but it ought to work on any 
  30.  version).
  31.     The one big restriction is that it runs in low (320 x 200) resolution only, and it takes up the whole screen.
  32.     Enough waffling, on to the instructions.
  33. Instructions
  34. ======
  35.     Run the editor. You will be faced with a simple title screen; press a key to clear it.
  36.     You will now see my simple file selector. You can either type a filename in directly, or press 
  37.  to switch to a list of files which you can scroll through with the cursor keys. Pressing 
  38. RETURN
  39.  will select the currently highlighted file or directory. You can change drive by pressing 
  40. SHIFT
  41.  + the drive letter. Undo will quit without returning a result.
  42.     When you select a file, the editor will load it and attempt to identify what type of file it is by its length. If it cannot tell what type of file it is, it will ask for another.
  43.     The editor will recognise several types of file: game positions saved from within 
  44.  and 
  45. , as well as game positions saved from the 
  46. Prison
  47.  (useful if you want to get both of the hidden characters in your team) and the 
  48. DUNGEON.DAT
  49.  and 
  50. MINI.DAT
  51.  files which are used as the initial state of the dungeon for 
  52.  and 
  53.  respectively.
  54.     I should mention here that there are 2 versions of 
  55. Dungeon Master
  56. . The original version (sold by 
  57. Mirrorsoft
  58. ) creates saved game files of 47914 bytes, and as far as I can remember the later version (which I believe is included in the 
  59.  double pack sold by 
  60. Psygnosis
  61. ) makes saved game files of 47916 bytes. The extra 2 bytes are used as a checksum, and since I don't know how to calculate it, 
  62. Dungeon Master
  63.  will complain about damaged files when you try to reload a file that has been edited.
  64.     Having loaded a file, the editor will display a map of the top level of the dungeon contained in that file.
  65. The following keys now come into effect:
  66. Cursor keys:    
  67. Move the pointer around the screen. As it moves across the map, a brief description of the current map square will be displayed in the top-right of the screen.
  68. Return:    
  69. Changes the map square currently pointed at to something relevant -- e.g. doors open and close; walls change to empty spaces and vice versa. For full details, see the list at the end of this file.
  70. Asks for a new byte value for the square currently pointed at. A full list appears at the end of this file.
  71. Read another file from disk for editing.
  72. Save the current file back to disk under its original name.
  73. Ask for a new file name and save the current file under that name.
  74. Ask for a file name and save the current screen image under that name in 
  75. DEGAS .PI1
  76.  format.
  77. Move up 1 level.
  78. Move down 1 level.
  79. Ask for a level number to display.
  80. Toggle whether descriptions of map squares are displayed.
  81. Quit (asks for confirmation first).
  82. Meanings of byte values
  83. ============
  84. Byte    Value(s)  Represents    Changes to
  85. ====    ================    ========
  86. 0-15:    WALL    EMPTY SPACE
  87. 16-31:    OBJECT ON WALL    WALL
  88. 32/40:    EMPTY SPACE    WALL
  89. 48/56:    OBJECT OR MONSTER    EMPTY SPACE
  90. 64/80:    PIT (CLOSED)    PIT (OPEN)
  91. 68/84:    INVISIBLE PIT (CLOSED)    INVISIBLE PIT (OPEN)
  92. 72/88:    PIT (OPEN)    PIT (CLOSED)
  93. 73:    FALSE PIT    EMPTY SPACE
  94. 76/92:    INVISIBLE PIT (OPEN)    INVISIBLE PIT (CLOSED)
  95. 96/112:    EAST-WEST FACING STAIRS (DOWN)    
  96. unchanged
  97. 100/116:    EAST-WEST FACING STAIRS (UP)    
  98. unchanged
  99. 104/120:    NORTH-SOUTH FACING STAIRS (DOWN)    
  100. unchanged
  101. 108/124:    NORTH-SOUTH FACING STAIRS (UP)    
  102. unchanged
  103. 144:    EAST-WEST FACING DOOR (OPEN)    EAST-WEST FACING DOOR (CLOSED)
  104. 146:    EAST-WEST FACING DOOR (HALF-OPEN)    
  105. unchanged
  106. 148:    EAST-WEST FACING DOOR (CLOSED)    EAST-WEST FACING DOOR (OPEN)
  107. 149:    EAST-WEST FACING DOOR (HACKED)    
  108. unchanged
  109. 152:    NORTH-SOUTH FACING DOOR (OPEN)    NORTH-SOUTH FACING DOOR (CLOSED)
  110. 155:    NORTH-SOUTH FACING DOOR (HALF-OPEN)    
  111. unchanged
  112. 156:    NORTH-SOUTH FACING DOOR (CLOSED)    NORTH-SOUTH FACING DOOR (OPEN)
  113. 157:    NORTH-SOUTH FACING DOOR (HACKED)    
  114. unchanged
  115. 176:    SPINNER (OFF)    SPINNER (ON)
  116. 180:    TRANSPORTER (OFF)    TRANSPORTER (ON)
  117. 184:    SPINNER (ON)    SPINNER (OFF)
  118. 188:    TRANSPORTER (ON)    TRANSPORTER (OFF)
  119. 192/200:    DISAPPEARING WALL (CLOSED)    DISAPPEARING WALL (OPEN)
  120. 193/201:    FALSE WALL    EMPTY SPACE
  121. 196/204/    DISAPPEARING WALL (OPEN)    DISAPPEARING WALL (CLOSED)
  122. 208/212/220
  123. All other byte values are, as far as I know, undefined, and the editor will change them to empty spaces.
  124.     Please feel free to send any comments, bug reports, job offers, large sums of money, marriage proposals, etc. to:
  125. Simon Oke,
  126. 10 Symn Lane,
  127. Wotton-under-Edge,
  128. Gloucestershire,
  129. GL12 7BG
  130. vBitstream Cooper Black
  131. jPark Avenue
  132. oper Black
  133. Dutch 801 Roman
  134.  Black
  135. VAG Rounded
  136.  Black
  137. Swiss 721
  138.  Black
  139.