Because of Lightwave’s rather broken undo system you need to save lots of incremental backups when you’re working on a scene. Mike Green kindly provides a script that makes a numbered backup of your file, so that your current copy keeps the same name. Drawing on his open source (yay!) script I’ve changed it so that the incremental backup is timestamped and compressed into a zip file. Update, I’ve also added a modeler version.
How it works:
if you’re working on My_Awesome_Scene_1.lws and you run the script:
- a new zip file called My_Awesome_Scene_1.zip will be created and
- a copy of the scene called My_Awesome_Scene_1_BUP_19-7-2016_13.04;56.lws will be added to the zip archive (given that you run it on the 19th of July 2016 at 1:04;56 pm).
Compressing to a zip archive not only keeps your folders less cluttered, it’s good if you use a cloud-backup to save your scene files, as it dramatically cuts down on the storage and bandwidth needed—there’s a lot of redundancy in a lws file, so often a zip archive with a dozen copies of a scene file will be smaller than the original scene file itself.
To run it you need 7-zip on your machine, and it has to be at the default install location (c:\program files\7-zip\7z.exe). If you’ve got it somewhere else you’ll have to edit the script (line 50 is where you need to change it). 7-Zip is a free, open source and rather good compression application. I’ve saved the plugin as a 7zip archive, so you’ll need it to decompress it anyway.
Download the file and uncompress (it’s saved as a 7z archive so you’ll need to have 7z installed to open it) then put it wherevs and choose Edit>Edit Plug-ins in Layout, and hit the Add Plugins button. You’ll need to assign a keyboard shortcut or add it to a menu. I’ve replaced the default save function with this, but you might be understandably wary of random scripts off the internet and give it a test before you do.
Works only on Windows. Because of the hard-coded path to the executable it won’t work on mac. It’s open source, if you want to get it going for mac have a hack at the code, or drop me a line and I’ll try to get around to it.