[CElua] Auto Backup Save Folder

Will add Auto Backup Save Folder menu item and form to cheat engine.

Place snippets of code and scripts under here to share with others. Archives and .Lua extensions are allowed


Moderator: Table Moderator

Post Reply
User avatar
J1327
Donor
Donor
Apprentice Hacker
Apprentice Hacker
Posts: 65
Joined: Mon Jul 25, 2022 5:00 pm
Answers: 0
Location: Baltic States
x 72

[CElua] Auto Backup Save Folder

Post by J1327 »

explicitly for windows 11+|CE75...

Image

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 17 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


Moved from Third Party Tools to Lua Snippets and Scripts on Sun Dec 01, 2024 2:35 am by Seneekikaant

Post Reply