PCC2 can create backups of game files on various occasions.
It offers choice between three settings:
- disabled
- no backups will be made
- enabled
- the file will be created in a directory backups within the game directory
- custom
- you can enter a custom file name template
Internally, the "enabled" setting is just a default file name template. File name templates are file names that can contain the following placeholders:
- %d
- the game directory. If the template starts with this placeholder, it will be replaced by the complete directory name. If the placeholder appears in the middle of the template, it will be replaced by the final component of the directory name.
- %p
- the player number from 1..11.
- %t
- the turn number with three digits, 001..999
- %%
- a literal percent sign
If the name refers to a non-existing directory, the directory will be created.
Examples
Assuming you're playing player 7 in c:\games\first, and it's turn 42. This would yield the following expansions:
- %d\backups\turn%p.%t (default)
→ c:\games\first\backups\turn7.042 - c:\backups\%d\turn%p.%t
→ c:\backups\first\turn7.042
Reference
- Keys:
- backup options on settings dialog