#Hurry Up and Save - QoL, avoid progress and settings loss

1 messages · Page 1 of 1 (latest)

errant pelican
#

a QoL mod that makes the game save to disk more frequently and ensures it doesn't exit without saving.

download from github: https://github.com/janw4ld/balatro-hurry-up-and-save-mod

this patch addresses two annoyances in Balatro:

  • progress and settings saves are written to disk once every 5 seconds, which
    • loses settings changes when someone quits too quickly after changing their settings
    • allows players to alt+f4 to undo a mistake in a run
    • makes progress losses after a crash bigger than expected
  • the quit button on the main menu just closes the game no matter what's going on, and this contributes to settings loss

computers in 2025 (at least on my platform of choice, linux) have very high IOPS & disk throughput and can handle a lot of writes no problem. so the patch:

  • changes the save timer to 0.5s instead of 5
  • modifies the quit button's callback to wait for all save events to complete before closing the game, so nothing is lost even if you quit before the 0.5s period

the save timer's period can be changed here if 0.5s is too quick for you or you wanna keep it at 5s to make use of "undo" but don't want the quit button to throw away your changes.

#

Hurry Up and Save - QoL, save every .5 seconds

#

Hurry Up and Save - QoL, avoid progress and settings loss

#

was bitten by this a lot while working on my mod's settings page so i had to fix it :p

mint ridge
#

thos is peak actually

mint ridge
#

-# i thought you're making a patch so that there will be a confirmation before exiting the game but this works too

errant pelican