home *** CD-ROM | disk | FTP | other *** search
/ Wolf 3-D Mania!!! / WOLFMAN.iso / wolfpk / wolfedit / fileinfo.txt < prev    next >
Text File  |  1992-05-18  |  1KB  |  43 lines

  1.  
  2. Various file formats:
  3.  
  4. .WAL file:
  5.  
  6. The first two bytes of this file are the width and height.  These 
  7. values can range between 1 and 64.
  8.  
  9. The rest of the file is width*height bytes of image data, stored in 
  10. row major order.  These bytes reference the Wolf3d palette.
  11.  
  12. ---------------------------------------------------------------------
  13.  
  14. PALETTE.BIN:
  15.  
  16. This file contains the palette for Wolf3d.  It contains 256 sets of
  17. r,g,b color values.  These color values are stored as a byte each,
  18. ranging from 0-63.
  19.  
  20. Important note: 
  21.  
  22. This file is NOT used by Wolf3d.  I created this file because I 
  23. couldn't find the palette in any of the game files.  Changing it will 
  24. not have any result when playing the game, but it will mess up the 
  25. editor quite nicely.
  26.  
  27. --------------------------------------------------------------------
  28.  
  29. VSWAP.WL1:
  30.  
  31. This is the graphics file for Wolf3d.  The first 6 bytes in the file
  32. are a header.  I don't know what the header contains.  Following this, 
  33. there are 64 pointers (long int; 4 bytes each) which point to a 4096
  34. byte section of the file that contains image data.  This image data
  35. is stored in column major order.
  36.  
  37. There are actually more than 64 pointers at the start of the file. 
  38. The pointers past the 64th point to the guards and other images.  
  39. I haven't figured out the format of these images yet.  They probably 
  40. contain a mask as well as image data.
  41.  
  42.  
  43.