Compressed LDraw files


Re: Compressed LDraw files
#30
Allen's point was that instead of your LDraw parser appending a z to the filename in the LDraw file when searching for a compressed version of a missing file, it would always replace the extension included in the LDraw file code with ldrz, and then there will only be one new extension. I agree with Allen that adding z to the existing extensions (dat, mpd, ldr) is a bad idea, and you should always uses a single one (probably ldrz).

As an additional note, the gzip format supports including the original filename inside the header of the gzip file, so you could make it so that any time you decompress the file and save that to the disk, it would revert to its original filename.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Compressed LDraw files - by Roland Melkert - 2013-01-29, 20:33
Re: Compressed LDraw files - by Tim Gould - 2013-01-29, 20:44
Re: Compressed LDraw files - by Travis Cobbs - 2013-01-29, 20:49
Re: Compressed LDraw files - by Tim Gould - 2013-01-29, 22:10
Re: Compressed LDraw files - by Ben Supnik - 2013-01-30, 6:36
Re: Compressed LDraw files - by Ben Supnik - 2013-01-30, 20:59
Re: Compressed LDraw files - by Allen Smith - 2013-01-30, 17:17
Re: Compressed LDraw files - by Ben Supnik - 2013-01-30, 21:15
Re: Compressed LDraw files - by Allen Smith - 2013-01-31, 4:39
Re: Compressed LDraw files - by Travis Cobbs - 2013-01-31, 21:59
Re: Compressed LDraw files - by Travis Cobbs - 2013-01-29, 20:46
Re: Compressed LDraw files - by Steffen - 2013-01-29, 23:23
Re: Compressed LDraw files - by Steffen - 2013-02-03, 1:33

Forum Jump:


Users browsing this thread: 5 Guest(s)