Page 1 of 1
[Implemented] Same compression algorithm for all OS
Posted: Mon Dec 13, 2010 8:15 am
by Kukulkan
Hi,
I would like to see compatibility between the x32, x64, Linux and MacOS variants of the PureBasic packing algorithm. Currently, you can not pack memory on linux and unpack it on windows. The same problem seem to exist for x32 and x64 windows compilation. As the used JCalG1 algorithm is not quite clear in his licence (from bitsum.com:
License: unclassified), maybe a better and free algorithm should get used (for all OS). As I can see, the usage of LZX or LZW is no longer forbidden and the assigned patents are runned out since 2004.
[EDIT] LZMA (
http://en.wikipedia.org/wiki/LZMA) currently seems to be the best choice... [/EDIT]
Kukulkan
Re: Same compression algorithm for all OS
Posted: Mon Dec 13, 2010 11:04 pm
by Thorium
Kukulkan wrote:Hi,
I would like to see compatibility between the x32, x64, Linux and MacOS variants of the PureBasic packing algorithm. Currently, you can not pack memory on linux and unpack it on windows. The same problem seem to exist for x32 and x64 windows compilation. As the used JCalG1 algorithm is not quite clear in his licence (from bitsum.com:
License: unclassified), maybe a better and free algorithm should get used (for all OS). As I can see, the usage of LZX or LZW is no longer forbidden and the assigned patents are runned out since 2004.
[EDIT] LZMA (
http://en.wikipedia.org/wiki/LZMA) currently seems to be the best choice... [/EDIT]
Kukulkan
Licence isnt the problem with JCalG1. The problem is that it's purely written in x86 asm so porting it is a lot of work.
There will be a plugin system for compression libs in the future. In the meantime they should set the default compression lib to zlib. It's allready in the PB package and available on every platform.
However that are old news and they dont seem to care much about the compression. They even didnt changed the help to clarify which compressions are used on the different platforms. And most importantly that they are not compatible.
Re: Same compression algorithm for all OS
Posted: Sat Jan 01, 2011 10:19 am
by DoubleDutch
I was hoping for this (compression plugin/unified compression system) to be in this years 'Christmas/New Year' update that we have been expecting... ;(
Looks like Santa is a little late this year, or I've been a pretty bad boy? lol!
Re: Same compression algorithm for all OS
Posted: Sat Jan 01, 2011 12:40 pm
by Little John
Same compression algorithm for all OS
+ 1
I really would appreciate that.
Regards, Little John
Re: Same compression algorithm for all OS
Posted: Sat Jan 01, 2011 6:12 pm
by Trond
Btw, my huffman encoder is supposed to work on any os (except files bigger than 32 gb):
http://purebasic.fr/english/viewtopic.php?f=12&t=44644
But the compression ratio isn't all that good.
Re: Same compression algorithm for all OS
Posted: Sun Jan 02, 2011 5:02 am
by Zach
Great for Lossless video compression though.