home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 September / Chip_2000-09_cd1.bin / sharewar / Slunec / app / 16 / ARCHIVES.SWG / 0003_DWC.pas < prev    next >
Pascal/Delphi Source File  |  1996-09-03  |  2KB  |  36 lines

  1. --------A-DWC-?-----------------------------
  2.  
  3. The DWC archives seem to be a relict from ancient computing times - I've
  4. never  seen any program that dealt with  them or could create them. They
  5. are yet included in this compilation for reasons I don't know. But maybe
  6. one  of you stumbles over such a  file, he might find this documentation
  7. helpful.  The  DWC  archives  consist of  single  file  entries with one
  8. archive  trailer.  The  archive entries seem to  be  at the start of the
  9. archive, but maybe they are stored at the end of the archive, before the
  10. trailer. Each file header has the following format :
  11.  
  12. OFFSET              Count TYPE   Description
  13. 0000h                  13 char   Name of the original file in ASCIIZ.
  14. 000Dh                   1 dword  Size of the original file
  15. 0011h                   1 dword  MS-DOS date and time of the original file
  16. 0015h                   1 dword  Size of the compressed file
  17. 0019h                   1 dword  Offset of compressed data in archive file
  18. 001Dh                   3 byte   reserved
  19. 0020h                   1 byte   Method :
  20.                                   1 - crunched
  21.                                   2 - stored
  22.  
  23. The trailer at the end of each archive has the following format :
  24.  
  25. OFFSET              Count TYPE   Description
  26. 0000h                   1 word   Length of trailer (=27)
  27. 0002h                   1 word   Size of the directory entries (=34)??
  28. 0004h                  16 byte   reserved
  29. 0014h                   1 dword  Count of the directory entries
  30. 0018h                   3 char   ID="DWC"
  31.  
  32. EXTENSION:DWC??
  33. OCCURENCES:PC??
  34. PROGRAMS:DWC.EXE??
  35.  
  36.