Page 1 of 1

[CElua] Auto Backup Save Folder

Posted: Thu Nov 14, 2024 1:11 pm
by J1327

explicitly for windows 11+|CE75...

Install :
Place (all) *.lua files in Cheat Engine's directory AutoRun folder.

Uninstall :

Remove manually AutoBackupSaveFolder.lua and if you have also placed in autorun folder an database.lua file.

Code:

AutoBackupSaveFolder--PSW-OpenCheatTables.com.zip
OpenCheatTables.com
(1.95 KiB) Downloaded 226 times

database.lua example file (not included):

Code: Select all

x1327.AutoSaveFileMaker.Database = { -- {"Application title","SAVE PATH LOCATION","TempFolderName"}
        -- note you can use os.getenv("LOCALAPPDATA") instead of %LOCALAPPDATA% -- anyway it is still sent to cmd line
        {"The Dark Pictures Anthology: Little Hope", [[%LOCALAPPDATA%\LittleHope\Saved\SaveGames\]], "LittleHope"},
        {"The Dark Pictures Anthology: Man of Medan", [[%LOCALAPPDATA%\ManOfMedan\Saved\SaveGames\]], "ManOfMedan"},
        {"The Dark Pictures Anthology: House of Ashes", [[%LOCALAPPDATA%\HouseOfAshes\Saved\SaveGames\]], "HouseOfAshes"},
        {"The Dark Pictures Anthology: The Devil in Me", [[%LOCALAPPDATA%\TheDevilInMe\Saved\SaveGames\]],"TheDevilInMe"},
        {"Crusader Kings III", [[%USERPROFILE%\Documents\Paradox Interactive\Crusader Kings III\]], "CKIII"},
        {"Kingdom Come: Deliverance", [[%USERPROFILE%\Saved Games\kingdomcome\saves\]], "KingdomCome"},
        {"The Casting of Frank Stone", [[%LOCALAPPDATA%\TheCastingofFrankStone\Saved\SaveGames\]], "TheCastingofFrankStone"},
        }

else you can edit 108 line replacing empty database table with this.

Requirements / check if you can do these command in cmd:
robocopy
tar
rmdir
if you get missing external program that means this code isn't compatible for you.

Showcase :

Image