Order of the Butterfly            
            
            
            
                             
             
                Posts: 441 from 2014/6/11            
            
                From: Germany            
    
            
                            
                
			
				OK, Andreas mentioning the 6th byte led me to have a closer look.
So here are the last console lines of the uncompress attempt:
Code:
 Extracting: (     19510/     19510)  B/BadCat/data/bike.sam
 Extracting: (      3632/      3632)  B/BadCat/data/boing.sam
 Extracting: (         0/         0)  B/BadCat/data/c/
 Extracting: (      2324/      2324)  B/BadCat/data/c/Run
 Extracting: (         0/         0)  B/BadCat/data/devs/
 Extracting: (       232/       232)  B/BadCat/data/devs/system-configuration
 Extracting: (      2992/      2992)  B/BadCat/data/down.sam
 Extracting: (      2188/      2188)  B/BadCat/data/exe
 Extracting: (       200/       200)  B/BadCat/data/hall of fame
 Extracting: (      7444/      7444)  B/BadCat/data/hey.sam
*** Error on file 'i' : Failed CRC Check
     WARNING: Skipping corrupt/extraneous data
264 files extracted, 1 file failed.
Operation not entirely successful.
The next file of name 'i' is weird but it is correct. The next file in the archive is a file named 'i'.
Then I looked with a hex editor:
The 6th byte of the archive file is "d" => "-lhd-". Not sure what that means.
Finding the file "hey.sam" in the hext code reveils that it is compressed with -lh5-.
Code:
-lh5-Ô����ÑIΩ# ˜U��g 
�hey.sam
Then, searching for the next occurence of "-lh" should find the 'i' file.
And indeed.
But it seems to be compressed with -lh5- as well.
Code:
-lh5-y3��Ëg��»IΩ# ÔjU��}�i�BˇB
That leads me to think there might be a bug in MorphOS lha?
Manfred