So i started using ludusavi and i really like it! I can just dump all my saves onto my NAS and i’m good to go.
I now made two .sh files, one for ludusavi restore --force
and one for ludusavi backup --force
I made the global Lutris setting to exectute the restore BEFORE launching a game and backup AFTER exiting.
This should then give me a steamcloud like automatism where my savegames would be always on the newest version regardless on what PC i played on last time.
But this only works if i play them via Lutris. I have a steamdeck and a minipc with chimeraOS (steam gamepadui per default). I start the games via steam there, not lutris… does anyone know of some possibility to globally start a script or command before starting and another one after exiting the game in steam?
Because i have quite the few non-steam games in my library and also have all my emulated games in there.
That would be fantastic!
Well for steam games, you can set launch options. Maybe you could do something like
commandbefore; %command%; commandafter
? Keep %command% literally as it is, Steam interprets that and executes the game in its place.i know that i can run commands, as i said in the post…but commandafter doesn’t exist afaik
I haven’t tried it but if you put that command after a ; it only should execute after the game exits.
touch ~/start.txt; %command%; touch ~/end.txt
this should in theory create an empty start.txt at launch, and an empty end.txt file after exiting, yes?
After a quick test, it does work! Just tested it with Worms W.M.D running in Proton.
fantastic! i’ll test aswell as soon as i am home.
Thanks mate!
Yes, that’s what I would assume