zipstream - list contents of zip?

BlitzMax Forums/BlitzMax Programming/zipstream - list contents of zip?

jhans0n(Posted 2010) [#1]
I've been playing around with the zipstream module and like it a lot. I was wondering, is it possible to list the contents of a zip file, similar to a readdir() command? I would like to just load every image contained in the zip, rather than having to know their names ahead of time.


Volker(Posted 2010) [#2]
I found no way to do that, so I decided to put
a textfile in the zip with the filenames.


jhans0n(Posted 2010) [#3]
Yeah, that's what I've been doing too. I was just hoping there might be another way.


Grisu(Posted 2010) [#4]
GMan's Zip-module can list the contents of a zip file.
http://www.gprogs.com/viewtopic.php?id=28

From the examples included:


Last edited 2010