SheffeyG / CheatDeck

Launch games with cheat or trainer and manage launch options for steamdeck
GNU General Public License v3.0
46 stars 5 forks source link

Feature request: Add delay #5

Open Kaizo107 opened 8 months ago

Kaizo107 commented 8 months ago

Would it be possible to add the ability to delay the launch of the cheat program by X seconds? I'm trying to use an overlay for a game, but it has to be launched after a character is already loaded or it will simply error out and close itself.

Thanks

SheffeyG commented 7 months ago

I tried to run a BAT script as the midleware, like this

@echo off
timeout /t 5 > nul
start "" "z:\home\deck\way\to\cheat"

but it didn't work as I expected, so my idea is make a BAT script like this:

@echo off
start "" "explorer.exe"

and change the launch option to PROTON_REMOTE_DEBUG_CMD="\way\to\that\bat\script", then you can run the cheat program with the file explorer whenever you want, tho this might not the best way to make it