Quantcast WoWInterface - View Single Post - When did the WoW client start creating .bak files for addons?
View Single Post
10-02-12, 07:44 PM   #3
A Pyroguard Emberseer
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,729
When you log onto a character and a .lua file in the account settings directory is loaded, a .bak file is automatically created if one doesn't already exist. This is the same procedure that creates .old files from any other file type. it's completely safe to delete them, but they'll just be recreated again.

The .bak and .old files are exact copy of the related file at the time of creation. Existing files don't seem to be modified any further or even read by the game.

When including SavedVariables and other settings in a compilation, it's best to exclude these file types to prevent the user from trying to restore them and corrupt the installation. They'll be recreated on their machine, but the new ones will be a copy of the current files instead of when you started developing the compilation.
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 10-02-12 at 07:54 PM.
  Reply With Quote