Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

zzlib (Real Studio games Mailinglist archive)

Back to the thread list
Previous thread: Storing a picture into RealSQLDatabase Binary-Field
Next thread: (no subject)


[ANN] Preview of RBD 2.4   -   Marc Zeedar
  zzlib   -   Nils Raschke
   Re: zzlib   -   Frank Condello
   Re: zzlib   -   Nils Raschke

zzlib
Date: 08.08.05 15:37 (Mon, 8 Aug 2005 16:37:11 +0200)
From: Nils Raschke
Hi all,

I'm experimenting with Frank's ZZip Utilities. The test.zip provided
with the example program works fine. When I try to make a zip from
the mac os x finder the files inside are not accessable (returns an
empty string) ...

What program do I have to use to create Zips readable by ZZip?

Greetings,
Nils
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: zzlib
Date: 08.08.05 21:04 (Mon, 8 Aug 2005 16:04:11 -0400)
From: Frank Condello
On 8-Aug-05, at 10:37 AM, Nils Raschke wrote:

> Hi all,
>
> I'm experimenting with Frank's ZZip Utilities. The test.zip
> provided with the example program works fine. When I try to make a
> zip from the mac os x finder the files inside are not accessable
> (returns an empty string) ...
>
> What program do I have to use to create Zips readable by ZZip?

Archives created in the OS X finder work fine, but there are a couple
common errors to watch out for...

First, zipped files don't contain resource forks* so if you're
zipping resource-only files (like System 7 SFIL sounds or some types
of PICT images) they simply won't work. Second, make sure your
directory structure is correct. For example, if you decompress the
test archive the folder structure will look like this:

test
-subdir
--text2.txt
-text1.txt

And the example project expects the zip archive structure to look
like this:

test.zip
-subdir
--text2.txt
-text1.txt

That makes sense if you think about it, 'cause the archive file
simply takes the place of the root directory, but if you just grab
that "test" folder and tell the finder to make a new archive, you'll
get a zip file that looks like this:

test.zip
-test
--subdir
---text2.txt
--text1.txt

Unfortunately this isn't what the example project is expecting. You
need to grab everything inside the "test" folder, zip those up, then
name the resulting archive "test.zip" for everything to work.
Alternately, you could change the paths in the example project to
match the new directory structure, but I have very good reasons for
setting things up this way!

* Archives made with OS X do contain resources, but not in a very
predictable or usable state.

Frank.
–––––––––––––––––––––––––––––––––
Open Source RB Goodies and Shareware
<http://developer.chaoticbox.com/>
<http://www.chaoticbox.com/>
–––––––––––––––––––––––––––––––––

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: zzlib
Date: 08.08.05 22:31 (Mon, 8 Aug 2005 23:31:09 +0200)
From: Nils Raschke
Hi Frank,

> Archives created in the OS X finder work fine, but there are a
> couple common errors to watch out for...

Your tips were very helpful, these should be included in the
documentation!

> That makes sense if you think about it, 'cause the archive file
> simply takes the place of the root directory, but if you just grab
> that "test" folder and tell the finder to make a new archive,
> you'll get a zip file that looks like this:
>
> test.zip
> -test
> --subdir
> ---text2.txt
> --text1.txt

This was my mistake.

Thank you very much!
Nils
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>