Welcome! Log In Create A New Profile

Advanced
Re: Compressed Library was Re: Compressed LDraw files
avatarJanuary 31, 2013 11:01AM
That is incorrect. The table of contents data for the zip is at the end of the file, which means that if you have a partial file you're out of luck. However, the table of contents of the zip includes offsets to the compressed data for every file in the zip. My code above uses this offset to "seek" to the right place for each file (using the unzSetOffset() from minizip), then decompresses the file. I have written code for other apps that unzips any arbitrary file from a zip directly into memory.
SubjectAuthorViewsPosted
Compressed LDraw files Roland Melkert444January 29, 2013 12:33PM
Re: Compressed LDraw files Tim Gould208January 29, 2013 12:44PM
Re: Compressed LDraw files Travis Cobbs215January 29, 2013 12:49PM
Re: Compressed LDraw files Roland Melkert214January 29, 2013 02:01PM
Re: Compressed LDraw files Tim Gould216January 29, 2013 02:10PM
Re: Compressed LDraw files Ben Supnik245January 29, 2013 10:36PM
Re: Compressed LDraw files Roland Melkert234January 30, 2013 10:52AM
Re: Compressed LDraw files Ben Supnik255January 30, 2013 12:59PM
Re: Compressed LDraw files Allen Smith227January 30, 2013 09:17AM
Compressed Library was Re: Compressed LDraw files Travis Cobbs250January 30, 2013 09:40AM
Re: Compressed Library was Re: Compressed LDraw files Philippe Hurbain231January 30, 2013 09:49AM
Re: Compressed Library was Re: Compressed LDraw files Allen Smith215January 30, 2013 08:43PM
Re: Compressed Library was Re: Compressed LDraw files Travis Cobbs217January 30, 2013 10:27PM
Re: Compressed Library was Re: Compressed LDraw files Roland Melkert253January 31, 2013 09:55AM
Re: Compressed Library was Re: Compressed LDraw files Travis Cobbs240January 31, 2013 11:01AM
Re: Compressed Library was Re: Compressed LDraw files Roland Melkert236January 31, 2013 11:07AM
Re: Compressed Library was Re: Compressed LDraw files Travis Cobbs244January 31, 2013 11:24AM
Re: Compressed Library was Re: Compressed LDraw files Ben Supnik237January 31, 2013 12:26PM
Re: Compressed Library was Re: Compressed LDraw files Roland Melkert243January 31, 2013 01:09PM
Re: Compressed Library was Re: Compressed LDraw files Steffen297February 02, 2013 05:34PM
Re: Compressed Library was Re: Compressed LDraw files Tim Gould264January 31, 2013 04:02PM
Re: Compressed LDraw files Roland Melkert251January 30, 2013 10:57AM
Re: Compressed LDraw files Ben Supnik245January 30, 2013 01:15PM
Re: Compressed LDraw files Roland Melkert240January 30, 2013 02:07PM
Re: Compressed LDraw files Allen Smith205January 30, 2013 08:39PM
Re: Compressed LDraw files Roland Melkert240January 31, 2013 01:06PM
Re: Compressed LDraw files Travis Cobbs246January 31, 2013 01:59PM
Re: Compressed LDraw files Travis Cobbs218January 29, 2013 12:46PM
Re: Compressed LDraw files Roland Melkert210January 29, 2013 01:57PM
Re: Compressed LDraw files Steffen215January 29, 2013 03:23PM
Re: Compressed LDraw files Travis Cobbs248January 29, 2013 04:17PM
Re: Compressed LDraw files Roland Melkert249January 30, 2013 10:49AM
Re: Compressed LDraw files Steffen220February 02, 2013 05:33PM



Sorry, only registered users may post in this forum.

Click here to login