This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# simple script that monitors new saves in the Baldur's Gate 3 folder and makes a sound if the save is less than 25 megabytes and most likely corrupted (can be configured in the file). Relevant for the third act | |
$SavesPath = "$Env:USERPROFILE\AppData\Local\Larian Studios\Baldur's Gate 3\PlayerProfiles\Public\Savegames\Story\" | |
# minimum size for the save file. If the save size is smaller than this value, the script will play a sound | |
$MinimumSaveSizeInMegabytes = 25 # the save size depends on the game's act. In the act 1 saves are less than 20 megabytes | |
$MinimumSaveSizeInBytes = $MinimumSaveSizeInMegabytes * 1000 * 1000 | |
# specify which files you want to monitor | |
$FileFilter = '*.lsv' |