XGEN DEEP BACKUP
The Deep Backup Tool is created to allow users to roll back to a previous Xgen scene with the associated files at the time of backup. You might ask, well, why do we need this? What’s the difference between just saving my Maya scene and opening a previous version? There are couple reasons for existence of this tool:
- As Xgen is always ‘live’. If you have a Maya scene saved 10 days ago, and you had a good result, but your art director, or anyone, told you to change something, say, the way hair clumping looks. Taking the notes, and you went on and followed the instructions. You updated all the Ptex maps (density, curl, clumps, region, etc). You showed it to the art director, and they said, “I actually liked the version from 10 days ago, can we roll back?”. Now if you try opening the Maya scene saved from 10 days ago, you will find that all the ptex maps and Xgen settings are out of sync. That’s because Xgen is always live and will always have the latest .ptex linked to whichever Maya scene you have…Unless you have created a copy of the entire Xgen folder.
- Creating an Xgen delta file is a bit confusing for some.
To correctly use the deep backup tool:
1. Make sure to have a Maya saved first
2.Enter a deep back up folder name. Click on Deep Backup. The Deep Backup Tool will create a backup folder each time you click ‘Deep Backup'. The folder can be found in your mayaProject/data/xgt_backup folder
1. Make sure to have a Maya saved first
2.Enter a deep back up folder name. Click on Deep Backup. The Deep Backup Tool will create a backup folder each time you click ‘Deep Backup'. The folder can be found in your mayaProject/data/xgt_backup folder
In each backup folder, it contains your entire XGEN collections folder, as well as the .Maya and the .xgen file(s). When you do a deep backup each time, these items are created, and they will be put into a ‘dated’ folder, to avoid overwrites.
3. Immediately after deep back up, the tool will save your current scene with a .temp suffix and the 'Temp' scene will be opened automatically. This is required to prevent some backend issues.
4. To roll back a version, simply click on one of the file on the list, and click “Roll Back”. Here I currently have a scene with modifier renamed
5. Say if I don't really want to have the modifiers renamed anymore. I can just select the backup file and roll back. It will ask if you want to replace the ‘current’ collection folder with the backup one.
Now, something to take note of when you want to ‘Roll Back’ to a previous backup folder.
- Each roll backs will make another copy of your 'current' xgen folder, and rename it as xgenBACK1..2..3 etc. If there is any issue, you can go back to this folder and make manual copy/paste if necessary. If everything works fine after a roll back, you can simply remove these extra folders.
- Next, both the .maya file and the .xgen files will be copied over to your current ‘scenes’ folder as well. Maya will then open the backup .Maya file after rolling back.