PBZip & PBBuild Updates

Developed or developing a new product in PureBasic? Tell the world about it.
spangly
User
User
Posts: 54
Joined: Mon Apr 28, 2003 8:26 pm
Contact:

PBZip & PBBuild Updates

Post by spangly »

PBZip
Callbacks now work during compression.
File Dates and times are now stored in archives.

PBBuild2
Fixed that silly "Compile Failed" dialog that appeared even when there was no error.
All of the paths to tools etc are user selectable.
It should work for everyone now that none of the paths are hard coded.

grab them from my site http://spangly.purebasic.org
User avatar
aszid
Enthusiast
Enthusiast
Posts: 162
Joined: Thu May 01, 2003 8:38 pm
Location: California, USA
Contact:

Post by aszid »

i've been pretty impressed with your PBzip lib, but i would like to request a feature for it ^^

it would be awesome if you could add flags for the compression level, so that when making zip's we can set how packed it will be.

that's the only feature i can think of that is missing from this lib, great work!
--Aszid--

Making crazy people sane, starting tomorrow.
spangly
User
User
Posts: 54
Joined: Mon Apr 28, 2003 8:26 pm
Contact:

Post by spangly »

aszid wrote:i've been pretty impressed with your PBzip lib, but i would like to request a feature for it ^^

it would be awesome if you could add flags for the compression level, so that when making zip's we can set how packed it will be.

that's the only feature i can think of that is missing from this lib, great work!
Thanks for the input :)

The library only supports deflate and store compression methods, which means either compressed or not.
Store is only any good if a file isn't really compressible (png files for instance)

At the moment, deflate compression is set to maximum!
would you really want to be able to have poorer compression :?:

I plan to add flags so that you can choose store, deflate or bzip2.

I am planning support for BZip2 in zip files, which appears to be a new addition to the pkzip standard.
Jurgen
User
User
Posts: 37
Joined: Mon Sep 08, 2003 11:53 pm

Post by Jurgen »

spangly,

Is it possible to include the path in the zipfile ?

thanks for your time

Jurgen
spangly
User
User
Posts: 54
Joined: Mon Apr 28, 2003 8:26 pm
Contact:

Post by spangly »

Jurgen wrote:spangly,

Is it possible to include the path in the zipfile ?

thanks for your time

Jurgen
Not sure what you mean? Do you want to be able to add a folder to a zip rather than a file? If you give me an example of what you mean I can answer with a bit more clarity.
Jurgen
User
User
Posts: 37
Joined: Mon Sep 08, 2003 11:53 pm

Post by Jurgen »

Hi,

With winzip there's an option to "save full path info" together with a file.
Something like this.
Name Path ...
-------- -----
test.doc My Documents ....



thanks
spangly
User
User
Posts: 54
Joined: Mon Apr 28, 2003 8:26 pm
Contact:

Post by spangly »

@Jurgen

You can already store paths with files

To add a file with paths do the following

ZipAddFile("c:\","temp\somefile.txt")

the file "somefile.txt" will be stored in the zip as "temp\somefile.txt" and when extracted the "temp" folder will be created and "somefile.txt" will reside in the "temp" folder.

hope that helps.
Jurgen
User
User
Posts: 37
Joined: Mon Sep 08, 2003 11:53 pm

Post by Jurgen »

thanks,

now it's clear to me.
Bernard
User
User
Posts: 23
Joined: Sun Apr 27, 2003 4:49 pm
Location: France

Post by Bernard »

With PBZip can I create a multi volume file.

I use diskettes to transfert some files and sometimes I need more than 1.

Thanks
Bernard
TerryHough
Enthusiast
Enthusiast
Posts: 781
Joined: Fri Apr 25, 2003 6:51 pm
Location: NC, USA
Contact:

Post by TerryHough »

Trie to use PBZip, but I must have done something incorrectly.

How should it be installed?

Thanks,
Terry
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

I think just put the PBZip library file into your ....PureBasic\PureLibraries\UserLibraries folder, then shut down and restart your editor.
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

What ever happened to you, Spangly? And what ever happened to PBZip?
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
RJP Computing
Enthusiast
Enthusiast
Posts: 202
Joined: Sun Apr 27, 2003 4:44 am
Location: Michigan, USA
Contact:

Post by RJP Computing »

Yes this is such a good library. Please come back
-Ryan
RJP Computing

Ubuntu 8.10/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, nVidia GeForce 7600GT 512MB
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

He had it hosted on my server (well, it's still there), but it hasn't been updated since September of 2003, so I'm guessing it probably doesn't work all that well with current versions of PB (though I haven't tested it!).
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Sent him an email,no reply

Post by Fangbeast »

Karbon wrote:He had it hosted on my server (well, it's still there), but it hasn't been updated since September of 2003, so I'm guessing it probably doesn't work all that well with current versions of PB (though I haven't tested it!).
Sent him an email many months ago and no reply. he seems missing in action. His library does not work properly under the current pb, gives me POLINK errors, lots of them.

I'd love for this to be updated too, it's seriously needed since ZIP is widely used all over the world.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Post Reply