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
[Implemented] Same compression algorithm for all OS
Re: Same compression algorithm for all OS
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.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
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.
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: Same compression algorithm for all OS
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!
Looks like Santa is a little late this year, or I've been a pretty bad boy? lol!
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
-
- Addict
- Posts: 4779
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Same compression algorithm for all OS
+ 1Same compression algorithm for all OS
I really would appreciate that.
Regards, Little John
Re: Same compression algorithm for all OS
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.
http://purebasic.fr/english/viewtopic.php?f=12&t=44644
But the compression ratio isn't all that good.
-
- Addict
- Posts: 1675
- Joined: Sun Dec 12, 2010 12:36 am
- Location: Somewhere in the midwest
- Contact:
Re: Same compression algorithm for all OS
Great for Lossless video compression though.