PDA

View Full Version : compress on save, pros and cons


ecarter
10-27-2010, 02:36 AM
hello

well i have a question

3d studio max have the option to compress the file when save, this reduce the file size, so when you work with a server and save lot of file version's the size is important.

but, is there any problem ussing this

can someone tell me the pros and cons of ussing the compress on save.

thanks

Kickflipkid687
10-27-2010, 04:10 AM
Just a guess... but maybe it takes out un-necessary spaces and comments, if it doesn't already, which in turn reduces files sizes?

Bobo
10-27-2010, 06:45 AM
hello

well i have a question

3d studio max have the option to compress the file when save, this reduce the file size, so when you work with a server and save lot of file version's the size is important.

but, is there any problem ussing this

can someone tell me the pros and cons of ussing the compress on save.

thanks

The Pros are quite obvious
*The file size is reduced, so the scene takes up less space and reduces load on the network, as you mentioned.
*Only the data streams of the file are zipped, the header, comments, thumbnail, scene info etc. are still accessible, so you should not be able to tell the difference - the file will behave as a regular uncompressed scene.

The Cons:
*Compressing takes longer, so the time to save the file might increase.
*In Max 2010 and higher 64 bit, at least on my system, Compress On Save causes Render Preset files (RPS) to be corrupted and cannot be loaded anymore (Max crashes immediately). I have reported this to Autodesk, but I am not sure if everyone else is seeing the same problem. We had to work around it in Krakatoa which uses Render Presets for switching renderers without losing settings.

ecarter
10-27-2010, 12:47 PM
The Pros are quite obvious
*The file size is reduced, so the scene takes up less space and reduces load on the network, as you mentioned.
*Only the data streams of the file are zipped, the header, comments, thumbnail, scene info etc. are still accessible, so you should not be able to tell the difference - the file will behave as a regular uncompressed scene.

The Cons:
*Compressing takes longer, so the time to save the file might increase.
*In Max 2010 and higher 64 bit, at least on my system, Compress On Save causes Render Preset files (RPS) to be corrupted and cannot be loaded anymore (Max crashes immediately). I have reported this to Autodesk, but I am not sure if everyone else is seeing the same problem. We had to work around it in Krakatoa which uses Render Presets for switching renderers without losing settings.


thanks for your answer.
and well, if the only cons is the velocity on save, I don't see why not to compress the file.

my question is only because I want to be really secure that changing to compress don't have problems in the future.

please add your comments here is you are using this "compress on save".

saving a file of 40 mb with "compress on save" reduce the size to 10 mb.

Ruramuq
10-27-2010, 06:23 PM
Compress on save works fine here.
One thing, is that autoback will also be compressed, if the scene is big, that can increase time considerably while auto-saving.

ecarter
10-28-2010, 03:53 AM
Compress on save works fine here.
One thing, is that autoback will also be compressed, if the scene is big, that can increase time considerably while auto-saving.

so if you scene is too big and you notice the difference in time when save with "compress on save", maybe you don't want to use the "compress option" to gain speed on save.

well at the moment, the compress on save work fine for me, i using it on test files only, but nothing bad was happens :D, so, I thinking on use the compression on all the 3dsmax files of my project.

thanks for your help guys, and if someone else have more info or use this option, please give me your feedback

thanks

DaveWortley
10-28-2010, 09:45 AM
Is there a way to set 'Compress on Save' to true via maxscript, I can't seem to find anything in the help about it.....

DaveWortley
10-28-2010, 10:01 AM
Ok so it's in the INI file which I can access using the following but this doesn't allow me to write a script to turn on Compress on Save for certain files..... This code would require restarting max to apply if I'm correct?

getINISetting (getMAXIniFile()) "Performance" "WriteCompressed"
"0"
setINISetting (getMAXIniFile()) "Performance" "WriteCompressed" "1"
true

ecarter
10-28-2010, 04:40 PM
sorry, maybe this thread need to be in the main 3dsmax forum not on script section.

can someone move this to the other forum?

CGTalk Moderation
10-28-2010, 04:40 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.