English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General > Coders. Releases

 
 
Thread Tools
Old 26 February 2022, 21:56   #1
Blueberry
Registered User
 
Join Date: Dec 2007
Location: Aarhus / Denmark
Posts: 40
Shrinkler

A new version of Shrinkler has just been released: Shrinkler 4.7!

There are various new features and improvements this time:
  • The Amiga Shrinkler executable is now built using Amiga-GCC. This makes it compress about 15% faster, and it no longer needs ixemul.library.

  • A new option (--commandline, -c) to support commandline parameters. This was always supposed to work, but only actually worked with the default header. It now works with all headers when you specify the option, and the header is a few bytes smaller if you don't.

  • A new option (--bytes, -b) to disable the parity context for data compression. This usually gives better results for data that is not word-oriented. The 6502 decruncher already supports this format, and its documentation points to a special Shrinkler build for this. Now you can use the standard Shrinkler.

  • The output size for data crunching is no longer rounded up to a multiple of 4 bytes, as the decompressor now reads the data one byte at a time. This also means that the crunched data no longer has to be word-aligned on 68000.

  • A new option (--header, -w) to write a header before the crunched data. This header contains imformation about compressed and uncompressed size, safety margin and whether parity context were enabled for the compression. To accompany this, the decompressor source code is extended with some utility code to load a Shrinkler-compressed file from disk, automatically allocating the right amount of memory for overlapped decompression.

  • Finally, the default compression preset was upped from -2 to -3, since this is usually a more suitable sweet spot between size and speed, and it's the maximum number of iterations that can be printed in an Amiga console with a width of 77 characters.

You are all welcome to ask questions here, on Pouet or on GitHub.
Blueberry is offline  
Old 26 February 2022, 22:05   #2
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
Thanks.

Quote:
Originally Posted by Blueberry View Post
[*]A new option (--bytes, -b) to disable the parity context for data compression. This usually gives better results for data that is not word-oriented. The 6502 decruncher already supports this format, and its documentation points to a special Shrinkler build for this. Now you can use the standard Shrinkler.
Is there an estimate for this? For example for normal ASCII text.

As for 68k code, I think the parity context is unbeatable in all cases, and that's what I've always appreciated in
Shrinkler
.
ross is offline  
Old 26 February 2022, 22:30   #3
Blueberry
Registered User
 
Join Date: Dec 2007
Location: Aarhus / Denmark
Posts: 40
Quote:
Originally Posted by ross View Post
Is there an estimate for this? For example for normal ASCII text.
For small text files (a few kilobytes) it looks like it typically improves the size by about 1%. For larger files it makes less of a difference, since the dual contexts will converge towards the same distribution eventually.
Blueberry is offline  
Old 20 May 2022, 12:54   #4
pink^abyss
Registered User
 
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 408
Quote:
Originally Posted by Blueberry View Post
A new version of Shrinkler has just been released: Shrinkler 4.7!

You are all welcome to ask questions here, on Pouet or on GitHub.

Thanks Blueberry for improving!
pink^abyss is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Decompressing Shrinkler executables? oRBIT Coders. General 3 08 February 2019 23:45
built-in rom crashes client and host on shrinkler-packed executables Hannibal support.WinUAE 6 28 December 2015 21:42

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:49.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09321 seconds with 15 queries