home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / utility / archiver / multiv15 / multiv15.dox next >
Text File  |  1994-01-01  |  22KB  |  462 lines

  1.  
  2.  
  3.              +----------------------------------------------------+
  4.              |                                                    |
  5.              | Instructions for 'Multi Depacker v1.5' by MUG U.K™ |
  6.              |                                                    |
  7.              |            Finished on 14th June 1992              |
  8.              |                                                    |
  9.              +----------------------------------------------------+
  10.  
  11.  
  12.                         Released into the Public Domain
  13.                         -------------------------------
  14.  
  15.  
  16. Introduction
  17. ------------
  18.  
  19. This program was written as an aide to the myriads of demo-breakers,
  20. nosey hackers and interested people of all levels and skills to save them
  21. from using a disassembler to unpack and save out data and executable files
  22. that have been packed using a selection of the best available packers in
  23. the Public Domain.  There are other uses, including unpacking a program that
  24. you had previously packed with an outdated packer (eg. original file was
  25. packed with Automaion v2.4), and then repacking with the latest top-notch
  26. packer (eg. Atomic v3.5).
  27.  
  28. This is my first update and was mainly due to cries from contacts I know
  29. and some I didn't know, whom I now know (if you know what I mean !!)
  30. sending me new - and sometimes older and more obscure - packers asking (and
  31. sometimes demanding) that Multi Depacker v2.0 be released !!  So for the
  32. people who have been crying, demanding, stamping their feet with anguish -
  33. I present my 'Multi Depacker v1.5' !!
  34.  
  35.  
  36. Technical Stuff
  37. ---------------
  38.  
  39. The files required to be kept in the same folder are:-
  40.  
  41. MULTIV15.PRG
  42. MULTIV15.RSC
  43. MULTIV15.DOX
  44.  
  45. Do not seperate these files or edit them.  You can archive them for bulletin
  46. boards if you so wish.  As usual, this program is Public Domain.  It is my
  47. copyright, but you can stock it within a Public Domain Library or on a BBS
  48. with my full consent.  Magazines that have Cover Disk mounts (ST Format,
  49. ST User & ST Review etc), CANNOT publish this program with my prior consent
  50. and appropriate payment.
  51.  
  52. Also for the myriads of disk-based magazines who are published via Budgie, or
  53. via any other means (Maggie, Ledgers, DBA, HP Source etc.), you can include
  54. this program on your current and any forthcoming issues with my full consent.
  55. Although I have most probably already sent 'Multi Depacker v1.5' to you on the
  56. day of release.  Other groups who make up utility disks can also include this
  57. program (so long as all the files are kept together) if they see fit.  After
  58. all, it is a very handy utility for most people to have in their collection,
  59. so why not SPREAD IT !!  
  60.  
  61.  
  62. More Technical Info
  63. -------------------
  64.  
  65. This program will allow you to depack ANY file that has been packed with
  66. any of the following packers:-
  67.         
  68. Atomic v3.1             Atomic v3.3             Atomic v3.5
  69.  
  70. Automation v2.3/2.4     Automation v2.51r       Automation v5.01
  71.  
  72. Ice Packer v1.13 (data ONLY at present)         Ice Packer v2.11
  73. Ice Packer v2.12        Ice Packer v2.2         Ice Packer v2.31
  74. Ice Packer v2.34        Ice Packer v2.40
  75.  
  76. Fire Packer v1.01 (data ONLY at present)        Fire Packer v2.01
  77.  
  78. JAM Packer v2.4         JAM Packer v3.0 (LZH/V2)   
  79. JAM Packer v4.0 (LZW/LZH/V2/Ice)
  80.  
  81. Pompey Pirates v1.9a (data ONLY at present)
  82.  
  83. Speed Packer v2.0
  84.  
  85.  
  86. Twenty-one different packers, which makes a total of 47 different file
  87. types that can be loaded in, depacked and saved out again !!
  88.  
  89. When I say 'any file' - I mean ANY file, either executable or data files.
  90. The only (obvious) exceptions are where I have been unable to fully
  91. incorporate a depack option for the executable files generated by some
  92. packers, without having bombs and other crashes occuring !!
  93.  
  94.  
  95. I've Even Tested It !!
  96. ----------------------
  97.  
  98. I've tested this program on both data & executable files packed with the
  99. above packers.  The testing was done on a bog standard TOS v1.2, with 1
  100. Meg of RAM and a hard-drive.  I have included enough error-traps to stop
  101. the depacking of 1 Meg files on a 512K system etc.  The most common error
  102. on 512K machines, is that with the majority of the packers I am using, they
  103. depack from one address to another, therefore I require two buffers.
  104. If the file that is to be depacked is 100K and the unpacked length is 250K,
  105. then you will be unable to unpack this file on a bog-standard 512K machine.
  106.  
  107. For the next update (v2.0), I shall (probably) write a .TTP version, without
  108. any fancy dialog boxes etc. to enable the really BIG files to be depacked on
  109. any machine.
  110.  
  111. The majority of the packers recognised by this program were written by
  112. Axe of Delight/Superior.  Depacking the packed files was (and still is !!)
  113. a much needed feature missing from these otherwise excellent packers.  This
  114. is especially annoying if you had just packed your only copy of a much
  115. needed file !!  If his next update does not provide a feature for depacking
  116. files, I will be writing an 'Ice Packer Shell' soon (with thanks for Mark
  117. Matts for Frontend™ - buy this if you are a GFA utility programmer and you
  118. want a nice interface for your programs) which you will be able to do lots
  119. of things with !!  I may even make it a multi-shell if I can find any more
  120. packers that have a command-line option.
  121.  
  122. The other packers were added bit by bit over a period of a week, and halfway
  123. through that week, I scrapped all the text-printing and opted for a much
  124. easier to use 'GEM' front-end.  Depacking files is now much easier than in
  125. previous incarnations of this programs' predecessor - 'Fire & Ice Depacker',
  126. which was officially released on The Source Menu 79 (Hi! to the other
  127. comrades in this group:- Kalamazoo, Speed, Egon, JJF & IWWWTTI).
  128.  
  129. For this update, as well as adding a few(!) more recognised packers, I have
  130. fixed some bugs that were rearing their ugly heads in my source code.  You
  131. might also notice that every dialog box now has a default option, so most
  132. redundant options (ie. no functions) can be exited by clicking on the
  133. relevant option (if you are a mouse-fanatic) or by pressing Return (if you
  134. are a lazy sod like me !!).
  135.  
  136.  
  137. Using The Program
  138. -----------------
  139.  
  140. Seeing as I saw my original Multi Depacker v1.0 appear on countless menus
  141. and disk magazines, I guess people actually liked a MUG U.K™ creation rather
  142. a lot (the last time that happened was way back in 1989 when a little known
  143. virus killer was born !!).  I have therefore decided to release this version
  144. with a 'Spreading Credits' box detailing who originally had this copy sent to
  145. them direct.
  146.  
  147. The next dialog box is the main menu.  From here, you can have another
  148. look at the information dialog box, depack files, see how much memory you've
  149. got left and finally quit back to the Desktop.  I have also put in a greetings
  150. page to all my good contacts & friends (included are some of the ones who
  151. demanded this update - but you know who you are !!).
  152.  
  153. Seeing as this program is primarily a depacker, the major option to go
  154. for is the 'Depack And Save Files'.  Click on the button and you will be
  155. presented with a file-selector which wants the filename of a packed file.
  156. Clicking on 'Cancel' or selecting a non-existant file will result in an
  157. alert box telling you of your mistake, and an option to try for another
  158. file or returning to the main menu.
  159.  
  160. I must state here and now that this program depacks files that have been
  161. singularly packed and not packed with an archiving program (eg. ARC, LZH,
  162. ZOO etc.) as the latter are well served with utilities and shells.  My
  163. program is geared towards the singe-file packer.  It packs one file on that
  164. files' merits and nothing else.  There are a plethora of these packers in
  165. existance, so check out a PD Library, compact disk (eg. by The Source) or
  166. other dubious types of CD (!!) or disk magazine for these programs.
  167.  
  168. Once you've found a file that you know is packed, it will be loaded into
  169. memory and examined .  After first checking whether the file is a
  170. program file or not, it will then check for the existance of the various
  171. packer headers (eg. 'LSD!', 'ICE!', 'FIRE', 'ATOM', 'LZH' etc.).  In the
  172. case of some programs, there are no headers, I poke around (literally) and
  173. create these headers if I know that the file is a packed one !!
  174.  
  175. If any disk errors occur, you will will prompted by an alert box asking you
  176. to retry and get another file or cancel this operation and go back to the
  177. main menu.  If the selected file is NOT recognised, then you will returned
  178. back to the main menu (after an alert box has told you that your selected
  179. file was not recognised - Idiot Proof Programming: Lesson 1).
  180.  
  181. If the file is packed, a dialog box will appear with the following
  182. information on it:-
  183.  
  184.   i) Which packer was used
  185.  ii) Executable or data file
  186. iii) The length of the file (in disk-space terms)
  187.  iv) The length of the packed file (as the packer knew it as)
  188.   v) The length of the unpacked file (as it will be AFTER it is unpacked)
  189.  
  190. The reason for including both (iii) & (iv) on the screen, is that some files
  191. I found would be 20K in length, but the header would say it was only
  192. 18.5K in length !!!  One explanation is that some programs contain two
  193. sections, hence the numbers displayed on the screen would be a bit odd. An
  194. example of this is 'Digi Composer v1.0' by Istari.  It contains two programs,
  195. an intro and the actual tracker.  The intro is depacked first, and then the 
  196. tracker.
  197.  
  198. Another reason is that when you depack a program file, the file-length will
  199. differ from the actual length of the packed data because the program needs
  200. a depack routine to unpack itself, and relocate it to the original address !
  201. If you find that the lengths differ by around 1000 bytes on a program file,
  202. then you should be OK .......
  203.  
  204. There are two options on this dialog box, and they are pretty obvious to
  205. understand.  One will depack the present file, and the other will return
  206. you to the main menu.
  207.  
  208. There is a third option, smack bang in-between the other two options
  209. entitled, 'Split File'.  This option is not yet available until I can get
  210. it working with Pompey Packer files.  In theory, if I cannot depack a file
  211. as a program, you will be told to split the file which will remove the
  212. program header and create a data file which makes my life a damn sight
  213. easier (lazy sod aren't I !!).  So, until v2.0, you won't be able to
  214. depack any Pompey Pirates program files (v1.5 - v2.6 !!) or the eariler
  215. versions of Ice and Fire packers.
  216.  
  217. If you are depacking a Atomic v3.1/v3.3 data file, you are given the option
  218. to choose which depack routine.  If you select the wrong one then this program
  219. will more than likely depack your file into complete garbage or even worse,
  220. it will bomb out !!  The reason is that the header (ATOM) is the same for
  221. either version of these packers and the depack routine is not compatible
  222. with the other version (unlike the Ice Packers !!).  In v2.0 of this depacker
  223. the situation will be made even worse when I add the 'Thunder' range of packers
  224. as these have an 'ATOM' header as well.  So I will be leaving the guess work
  225. upto you !!
  226.  
  227. Each depacker will flash a different colour, so as to differentiate between the
  228. different packers.  If you have a monochrome monitor, you will probably
  229. end up with a bad headache after depacking a lot of files !!  I suggest you
  230. don a pair of Bitmap Shades (Hi! Slasher !!) before you start depacking
  231. a lot of files (colour OR monochrome), unless you're into flashing colours -
  232. in which case you either like naff acid/rave music and I suggest you go take
  233. a trip (the walking kind !!) to your nearest GP, who will prescribe some
  234. decent music to listen to and counsel you on your wierd behaviour at these
  235. oddball sessions of manic arm-pushing and body-jerking (and I thought
  236. head-banging was detremental to MY health !!).
  237.  
  238. Another file-selector will appear asking for the depacked file.  You have
  239. the option of overwriting the packed file (not very wise !!) if you require,
  240. or simply enter a new filename as it is up to you !!  After this operation,
  241. you will be returned to the main menu where you can carry on depacking more
  242. files, or quit and take a peek at the newly unpacked files.
  243.  
  244. That's all there is to my little program.  It works with almost everything
  245. I've tried, with one or two exceptions - but I'll let you find them out
  246. for yourselves !!  If you have any really major hassles then drop me a line
  247. at the address down below (oo-er !!).  I am really a nice guy to write to
  248. if you have any problems .... so long as you do not sound like a prat when
  249. you write OR (even worse) you are a pirate !!  See below for details.
  250.  
  251.  
  252. End Bit:
  253. --------
  254.  
  255. Since I was testing this program heavily I noticed a few things with the
  256. various packers.  Here are some notes I made (bugs I discovered !!).
  257.  
  258. i) If you write (like I do) prodomimently in GFA BASIC v3.5/v3.6, and you
  259.    want to pack your program files,  DO NOT use Ice Packer v2.2/v2.31 or
  260.    Fire Packer v2.01, as your program file will not work at all (two bombs).
  261.    You will have to use the Ice Packer v2.40 (ST News 6.2 edition).
  262.  
  263. ii) If you use the Automation v5.01 and pack a lot of data files, beware
  264.     of using it from a hard-drive !!  The problem is that your resultant
  265.     files are filled with $00 & $FF ONLY !!  Not even the header (AU5!) is
  266.     included.  This happens with the normal, buffer and chunk pack options
  267.     and I do not know exactly why this occurs.  My (bad) theory is that this
  268.     update does not like my (or anyone elses ?) hard-drive !!!  The error
  269.     does not occur when you run the program from a floppy, but only when
  270.     it is run from a hard-drive partition ??  Well, EGB, work that one out
  271.     if you can !!  I use the Supra Software v3.11 driving a Megafile 60, if
  272.     this is any use to you !!
  273.  
  274. iii) This is not an error, but a bit of a pain.  The Atomic packers will
  275.      not output a packed file that is of an odd length !!  No problem
  276.      to 99% of files, except when it's NeoChrome Master which checks its
  277.      length for link-virus infection !!
  278.  
  279. iv) Atomic v3.5 does not work with a lot of programs that every other packed
  280.     in the whole world will work on.  This is especially annoying for me
  281.     as it doesn't like GFA BASIC v3.6 programs !!  So when you do an update,
  282.     please make it compatible !!
  283.  
  284. v) Speed Packer v2.0 does not work if you have got GDOS present.  I only
  285.    found this out by accident, but it may throw some light on the subject
  286.    if you load it and wonder why it exits back to the desktop immediately !!
  287.  
  288.  
  289. If you can help me (or if you are the author of the packer in question, please
  290. write to me with your latest version), then write to the address near the
  291. end of this document file.
  292.  
  293. DO NOT send ANY form of pirated software, as I am NOT interested.
  294.  
  295.  
  296. In the next version .....
  297. -------------------------
  298.  
  299. The next version of this 'Multi-Depacker' will be released when I'm
  300. ready.  I have another 10 or so packers that I will be including, plus
  301. the 'no-frills' version that will come with it so that 512K owners can
  302. depack large files.
  303.  
  304. The other main program will be a proper 'De-Chunker' for Automation v2.51
  305. and v5.01 chunk packed files.  I have finally written a routine to depack
  306. these files.  The problems I am having at the moment are with the very
  307. last chunk in a file not being depacked and the occasional time when a 
  308. chunk is not packed !!  But never fear, I am not going to be beaten !!
  309. When it is released, you can un-chunk a 500K lump-file which has been
  310. chunk-packed on a standard 512K machine, without having to worry about
  311. a shortage of RAM in your machine.
  312.  
  313. My thanks go to JPM who replied to my plea and sent me some very nicely
  314. explained depack source which I have included in this version.  Thanks 
  315. once again.  How about PP v2.6 this time - I've managed to work it out
  316. myself, but a nice documented/idiot proof version wouldn't go amiss !!
  317.  
  318. The following packers WILL be included in Multi Depacker v2.0:-
  319.  
  320. Bytestrangler (all versions)
  321. Powerpacker v2.0 - v4.0 (Amiga packer)
  322. Pompey Pirates (all versions - I hope !!)
  323. QPAC 3 by JMP
  324. Sentry Packer v2.01 - v2.05
  325.  
  326. (providing I don't come across any incompatibilities !!)
  327.  
  328. If you are wondering why I am going to include an Amiga packer, the reason
  329. is simple.  For those people who are lucky enough to own both machines, or
  330. they know someone who owns an Amiga (the normal kind, not the games-playing
  331. nose-in-the-air-bigot type) and they want to transfer text-files, IFF pictures
  332. or Protracker modules across to the ST, they will find the majority of them
  333. will of been packed with Powerpacker.  I had hoped to include a working
  334. version of a Powerpacker decruncher in this version, but after MSD had played
  335. around with the source code, it would leave the first 20 bytes of a file
  336. blank !!  This may of sufficed on text files, but with an IFF picture, this
  337. would make the file totally useless.  If 'Maverick' of The Light (or anyone
  338. else) could send me a working Powerpacker depack routine for the ST, I would
  339. be very happy.
  340.  
  341. I am also after anyone who can get a packed file, work out the depacking
  342. loader (ie. crack it) and send the source code to me.  You will have to be
  343. pretty adept at 68000 and conversant in GFA BASIC.  I am especially after 
  344. depack routines for 'PFXPACK', 'PROPACK' & 'PAMPUK' - the one-file RAMdisk
  345. packer - for inclusion in a further update - plus any others that you might
  346. of 'cracked'.  If you are able to help, please write to me at the address
  347. below.
  348.  
  349. And for all those who asked for it (ie. Prophecy PD & Spiff of Orion), there
  350. will be a wildcard feature in the next version (I promise).  Either it will be
  351. a straight 'select the source & destination directories and leave me to it'
  352. type of program OR 'make up a script file containing the source and destination
  353. files' type of program.  The latter is much easier to program and will
  354. probably be implemented.  The former, whilst it is a nice feature, is a waste
  355. of memory - especially if you want to unpack a whole disk to another (or
  356. even worse depack a partition to another partition !!) as I will have to
  357. hold all the filenames for the source & destination disks in memory !! 
  358.  
  359. Of course, if you think there are any features that could be added, you know
  360. where to direct your replies/suggestions - workable from GFA v3.6 - please !!
  361.  
  362.  
  363.  
  364. End Bit
  365. -------
  366.  
  367. Have fun depacking, hacking, poking about and generally being very nosey
  368. with other peoples (previously) packed files !!
  369.  
  370. If you really find this program useful, saves your life with packed programs
  371. not depacking on your version of TOS etc. etc., spare a thought for me, 
  372. toiling away at unsociable hours (8.30am - 5.30pm), having to listen to
  373. 'Radio 1' all day long (and you know what the music they play is like !!) 
  374. - except maybe for Jackie Brambles & Steve Wright (and The Posse) whose
  375. shows keep me going through the day (do you know how boring mending hydraulic
  376. pipes is ??).  I then come home and start work on my many programs (including
  377. my 'Professional Virus Killer' - plug !!) answering letters and God knows
  378. what else that I shouldn't be doing too much off (oo-er) - just so you lot
  379. out there can benefit ....... SO SEND ME SOME MONEY YOU TIGHT WADS !!
  380.  
  381.  
  382. MUG U.K™ - 14/06/1992
  383.  
  384.  
  385.  
  386. Depacker Credits:
  387. -----------------
  388.  
  389. Depacker Program
  390. RSC Design
  391. Documents
  392. Coffee Drinking:                    MUG U.K™ - v1.0 = 29/11/1991
  393.                                                v1.5 = 14/06/1992
  394.  
  395. Background Music:                   Metallicas' new album "Metallica"
  396.                                     Extremes' "Pornograffitti"
  397.                                     Iron Maidens' "Fear Of The Dark"
  398.                                     Black Crowes' "Southern Harmony ..."
  399.                                     W.A.S.P's "Crimson Idol"
  400.  
  401. Testing:                            Bob Clowes (as always !!)
  402.  
  403.  
  404.  
  405. Packers' Authors Credits:
  406. -------------------------
  407.  
  408. Atomic Packers v3.1/3.3/3.5:        ALTAIR of VMAX/MCS
  409.  
  410. Automation v2.3/2.4:                OZZ of LSD
  411. Automation v2.51:                   EGB of SHiT (Sub Humans in Turkey)
  412. Automation v5.01:                   EGB of SHiT
  413.  
  414. Fire/Ice Packers:                   Axe of Delight/Superior
  415.  
  416. JAM Packers v2.4/3.0/4.0:           Jek and Moose (JAM)
  417.  
  418. Pompey Packer v1.9a:                JPM
  419.  
  420. Speed Packer v2.0                   Spiral of The Firehawks
  421.  
  422.  
  423. Contact Address:
  424. ----------------
  425.  
  426. MUG U.K™
  427. c/o Broadsword Computers,
  428. 141 High Street
  429. Rhyl
  430. CLWYD
  431. LL18 1UF
  432.  
  433.  
  434. Any problems, queries, questions etc. should be sent to the above address,
  435. and don't even think of writing if you want pirated software !!  I get
  436. extremely FED UP with people who write to me wanting the addresses of the
  437. various pirate groups.   I DON'T KNOW THEM - SO *ISS OFF !!!
  438.  
  439. I will keep all the disks & burn the letters from these idiots.  If you
  440. want a game that desperately, go out and buy it !!  It could be worse and
  441. I send your letters directly to a nice Mr. Hays at FAST, but seeing as they
  442. are only interested in people selling pirated software, it would be a waste
  443. of time on my behalf (and stamps too !!).
  444.  
  445. One last thing, if you are a kind generous person who has got a spare bit
  446. of money lying idly about, don't send me a cheque made payable to 'MUG U.K™'
  447. as I get strange looks from the staff at my building society !!  If you
  448. really must send a cheque, make it payable to 'Mike Mee' (stop sniggering at
  449. the back - I can't help my surname !!).
  450.  
  451. If any sysops of a BBS see any comments directed to me regards this version
  452. of the 'Multi Depacker v1.5', please send them to me at the above address.
  453. I do not own a modem so I cannot access BBS's to read the comments.
  454.  
  455.  
  456. Bye for now !!
  457.  
  458.  
  459. MUG U.K™ (of The Source)
  460.  
  461.  
  462.