Posts: 10,236
Thanks: 421 in 9 Posts
5 Achievements
Quote: Originally posted by Pideli
What's the mod that always deletes your cache files before starting the game?
|
RPC can do it. Alternately, I use the
Playnite game launcher and have it execute this PowerShell script before game launch.
Code:
$FileName = "D:\Documents\Saved Games\The Sims\The Sims 2\Accessory.cache"
if (Test-Path $FileName)
{
Remove-Item $FileName
}
$FileName = "D:\Documents\Saved Games\The Sims\The Sims 2\Groups.cache"
if (Test-Path $FileName)
{
Remove-Item $FileName
}
$FileName = "D:\Documents\Saved Games\The Sims\The Sims 2\cigen.package"
if (Test-Path $FileName)
{
Remove-Item $FileName
}