Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!van-bc! From: lphillips@lpami.wimsey.bc.ca (Larry Phillips) Newsgroups: comp.sys.amiga Subject: Re: LHarc magic number query Message-ID: <934@lpami.wimsey.bc.ca> Date: 20 Dec 89 05:22:25 GMT Lines: 25 Return-Path: To: van-bc!rnews In <10296.AA10296@heimat>, sneakers@heimat.UUCP (Dan "Sneakers" Schein) writes: >[eat this ms line eater] > > Does anyone know of a magic number sequence for the "LHarc" archive files? > Ive made several test files and it lookes like the first couple of bytes > are never the same. I just checked about 20 .lzh files with a handy little utility called dumpdiff, and they all share a common string in offset start+2, for 5 bytes. 00000000: 1C492D6C 68312D85 .I-lh1-. | 23832D6C 68312D26 #.-lh1-& ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^ hex ASCII hex ASCII -larry -- " All I ask of my body is that it carry around my head." - Thomas Alva Edison - +-----------------------------------------------------------------------+ | // Larry Phillips | | \X/ lphillips@lpami.wimsey.bc.ca -or- uunet!van-bc!lpami!lphillips | | COMPUSERVE: 76703,4322 -or- 76703.4322@compuserve.com | +-----------------------------------------------------------------------+