home *** CD-ROM | disk | FTP | other *** search
/ D!Zone (Collector's Edition) / D_ZONE_CD.ISO / helps / dmspec / dspec1.2
Text File  |  1994-12-06  |  60KB  |  1,368 lines

  1. -----------------------------------------------------------------------------
  2.        T H E   U N O F F I C I A L   *-D-*-*-O-*-*-O-*-*-M-*   S P E C S
  3.                        Release v1.2 - March 6, 1994 EST
  4.                   Written by: Matt Fell (matt.burnett@acebbs.com)
  5.               Released by: Hank Leukart (ap641@cleveland.freenet.edu)
  6.           "DOOM: Where hackers gnaw the bones left from the banquet
  7.                  of data prepared by the mighty wizards of id."
  8.            "The poets talk about love, but what I talk about is DOOM,
  9.                  because in the end, DOOM is all that counts."
  10.            - Alex Machine/George Stark/Stephen King, _The Dark Half_
  11. -----------------------------------------------------------------------------
  12.  
  13. ----------
  14. DISCLAIMER
  15. ----------
  16.  
  17.         These specs are to aid in informing the public about the game DOOM,
  18. by id Software.  In no way should this promote your killing yourself, killing
  19. others, or killing in any other fashion.  Additionally, neither Hank Leukart
  20. nor Matt Fell claim ANY responsibility regarding ANY illegal activity
  21. concerning this file, or indirectly related to this file.  The information
  22. contained in this file only reflects id Software indirectly, and questioning
  23. id Software regarding any information in this file is not recommended.
  24.  
  25. ---------
  26. COPYRIGHT
  27. ---------
  28.  
  29.         You may NOT distribute this work by any non-electronic media,
  30. including but not limited to books, newsletters, magazines, manuals,
  31. catalogs, and speech.  You may NOT distribute this work in electronic
  32. magazines, or within computer software without prior written explicit
  33. permission.  These rights are temporary and revocable upon written, oral,
  34. or other notice by Hank Leukart.  This copyright notice shall be governed
  35. by the laws of the state of Ohio.
  36.         If you would like additional rights beyond those granted above,
  37. write to the distributor at "ap641@cleveland.freenet.edu" on the Internet.
  38.  
  39. ------------
  40. INTRODUCTION
  41. ------------
  42.  
  43.         Here are the long awaited unofficial specs for DOOM.  These specs
  44. should be used for creating add-on software for the game. I would like to
  45. request that these specs be used in making utilities that ONLY work on the
  46. registered version of DOOM.
  47.         I do not understand much of what is contained in this file, so if
  48. you have any questions about the information, write to Matt Fell at
  49. "matt.burnett@acebbs.com" on the Internet.  If you would like to request a
  50. copy of this file, or have any questions about its distribution, write to me,
  51. Hank Leukart, at "ap641@cleveland.freenet.edu" on the Internet.
  52.  
  53. --------
  54. CONTENTS
  55. --------
  56.  
  57. [1] Author's Notes
  58.         [1-1] Acknowledgements
  59. [2] Basics
  60. [3] Directory Overview
  61. [4] The Maps, The Levels
  62.         [4-1] ExMy
  63.         [4-2] THINGS
  64.                 [4-2-1] Thing Types
  65.         [4-3] LINEDEFS
  66.                 [4-3-1] Linedef Attributes
  67.                 [4-3-2] Linedef Types
  68.         [4-4] SIDEDEFS
  69.         [4-5] VERTEXES
  70.         [4-6] SEGS
  71.         [4-7] SSECTORS
  72.         [4-8] NODES
  73.         [4-9] SECTORS
  74.         [4-10] REJECT
  75.         [4-11] BLOCKMAP
  76. [5] Pictures' Format
  77.         [5-1] Headers
  78.         [5-2] Pointers
  79.         [5-3] Pixel Data
  80. [6] Floor and Ceiling Textures
  81.         [6-1] Animated floors
  82. [7] Songs and Sounds
  83.         [7-1] Songs
  84.         [7-2] Sounds
  85. [8] Miscellaneous Non-Picture Resources
  86.         [8-1] PLAYPAL
  87.         [8-2] COLORMAP
  88.         [8-3] DEMOs
  89.         [8-4] TEXTURE1 and TEXTURE2
  90.                 [8-4-1] Animated walls
  91.         [8-5] PNAMES
  92.  
  93. ---------------------------
  94. CHAPTER [1]: Author's Notes
  95. ---------------------------
  96.  
  97. I didn't want to release another incomplete version of the specs, but
  98. the NODES structure is so much more difficult than all of the other stuff,
  99. I'm not sure how much longer it will be until either I or someone
  100. helping me can figure it out. Since I have almost complete information
  101. on everything else, I felt I should go ahead and release this now.
  102.  
  103. Without knowing how to do the NODES, we still can't create levels from
  104. scratch. So these specs will have to undergo another revision. I've heard
  105. rumors of the hint book, with the official specs, being released "soon";
  106. if anyone knows more about this, or if they get the book, please contact me.
  107.  
  108. I haven't kept track of all the minor revisions that have been made since
  109. 1.1, sorry. You can get rid of the 1.1 specs, as this has everything it
  110. had except the errors :-)
  111.  
  112. id SOFTWARE'S COPYRIGHT AND THE SHAREWARE VERSION:
  113.  
  114. I'm moving the location of the soapbox I had in the 1.1 Specs to here. I'm
  115. certainly not an official spokesman for id. I have made some inquiries to
  116. them regarding specific questions on third-party additions. Until they
  117. respond, though, I'll just make a couple excerpts from the official
  118. documents we have at this time:
  119.  
  120.  
  121. The LICENSE.DOC says
  122.  
  123.        "You may not:  rent, lease, modify, translate, disassemble,
  124.         decompile, reverse engineer, or create derivative works based
  125.         upon the Software. Notwithstanding the foregoing, you may create
  126.         a map editor, modify maps and make your own maps (collectively
  127.         referenced as the "Permitted Derivative Works") for the Software.
  128.         You may not sell or distribute any Permitted Derivative Works but
  129.         you may exchange the Permitted Derivative Works at no charge
  130.         amongst other end-users."
  131.  
  132. It also says
  133.  
  134.         (except for backup purposes) "You may not otherwise reproduce,
  135.         copy or disclose to others, in whole or in any part, the Software."
  136.  
  137. I think this is clear. You may not distribute a WAD file that contains
  138. any of the original entries from DOOM.WAD.
  139.  
  140. Then how can you just make a new set of THINGS for a level? Simple. Have
  141. a pwad file that has only two entries - E3M1 for example, and THINGS.
  142.  
  143. The README.EXE says
  144.  
  145.        "id Software respectfully requests that you do not modify the
  146.         levels for the shareware version of DOOM.  We feel that the
  147.         distribution of new levels that work with the shareware version
  148.         of DOOM will lessen a potential user's incentive to purchase the
  149.         registered version.
  150.  
  151.        "If you would like to work with modified levels of DOOM, we
  152.         encourage you to purchase the registered version of the game."
  153.  
  154. I feel that this is also pretty clear: if you distribute levels, they should
  155. not work with the shareware version. This is easily accomplished: do
  156. not distribute ANY episode one maps! The shareware version cannot work
  157. with episode 2 or 3 pwads, but it can work with episode 1 pwads (they
  158. should have disabled the -file feature in the shareware).
  159.  
  160. If you are writing a utility that will operate on DOOM, have it first check
  161. the WAD file for the existence of an "E3M1" entry in the directory (explained
  162. below), or some other entry that will only be in the registered version.
  163. If it's not there, the program should quit. You should not be making
  164. programs that will work on the shareware version.
  165.  
  166. The point is that the regular shareware players shouldn't be able to exceed
  167. their rights. They are getting a complete game as it is!
  168.  
  169. [1-1]: Acknowledgements
  170. =======================
  171.  
  172. I have received much assistance lately from the following people. They
  173. either brought mistakes to my attention, or provided additional information
  174. that I've incorporated into these specs:
  175.  
  176. Ted (tedv@geom.umn.ed) - I had the THING angles wrong. Unforgivable.
  177. Matt Tagliaferri (matt.tagliaferri@pcohio.com) - I forgot to describe the
  178.         TEXTURE1/2 pointer table. Also, gave lots of help with linedef types.
  179. Raphael Quinet (quinet@montefiore.ulg.ac.be) - The author of the NEWDEU
  180.         editor; new info on linedef types and attributes, special sectors.
  181. Robert Fenske (fenske@swri.edu) - part of the VERDA team, gave lots of help
  182.         on linedef attributes and types, blockmap list, special sectors,
  183.         and other stuff
  184. John A. Matzen (jamatzen@cs.twsu.edu) - instrument names in GENMIDI.
  185. Jeff Bird (jeff@wench.ece.jcu.edu.au) - good ideas and suggestions about
  186.         the nodes.