wok diff memtest/stuff/pack @ rev 24123

Add Arkanoid
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 06 08:15:26 2021 +0000 (2021-10-06)
parents 9ca81337dc6e
children 608a017317a8
line diff
     1.1 --- a/memtest/stuff/pack	Sun May 07 21:49:40 2017 +0200
     1.2 +++ b/memtest/stuff/pack	Wed Oct 06 08:15:26 2021 +0000
     1.3 @@ -38,9 +38,14 @@
     1.4  	done | xargs echo -en | dd conv=notrunc bs=1 of=$2 seek=$3
     1.5  }
     1.6  
     1.7 +bits()
     1.8 +{
     1.9 +	sed "/define PROP_$1/!d;s|.*PROP_...||" unlzma.S
    1.10 +}
    1.11 +
    1.12  compress()
    1.13  {
    1.14 -	xz -z -e --format=lzma --lzma1=mf=bt2 --stdout | dd bs=1 skip=13
    1.15 +	xz -z -e --format=raw --lzma1=lc=$(bits LC),lp=$(bits LP),pb=$(bits PB) --stdout 
    1.16  }
    1.17  
    1.18  main()