Compressed LDraw files


Compressed LDraw files
#1
Hi all,

I'm thinking about supporting zipped ldraw files in LDCad without the need for users to unzip them first. This idea comes mainly from the fact my new deform functionality tends to create quite large files. These files can be compressed extremely well (1.5MB becomes a couple of K etc).

It would be almost trivial for me to implement an unzip before parsing and a zip before saving files in my editor. But I was thinking maybe other software authors would like to provide the same support.

So a semi serious public discussion about how to name/handle compressed LDRaw files might be in order. That way we could all use this.

I was thinking about using zlib (other authors could use any other zip supporting library) and simply prefixing "gz-" to the file extension, so e.g. "someBigModel.mpd" becomes "someBigModel.gz-mpd". The contents of the mpd itself stay unchanged.

Toughts?
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: 6 Guest(s)