Codeusa / SteamCleaner

:us: A PC utility for restoring disk space from various game clients like Origin, Steam, Uplay, Battle.net, GoG and Nexon :us:
https://andrew.im/
GNU General Public License v3.0
1.97k stars 96 forks source link

Removes Penumbra #32

Closed virtyvoid closed 7 years ago

virtyvoid commented 8 years ago

Some games like Penumbra: Overture contain their files in directory named redist and thus will be removed by this cleaner.

...\SteamApps\common\Penumbra Overture\redist\sounds\boat_level\boat_fishing_loop1.ogg 76,429 KB ...\SteamApps\common\Penumbra Overture\redist\sounds\boat_level\boat_horn.snt 305 B ...\STEAM\SteamApps\common\Penumbra Overture\redist\sounds\boat_level\boat_horn1.ogg 109,455 KB ...\STEAM\SteamApps\common\Penumbra Overture\redist\sounds\boat_level\boat_wave_loop.snt 309 B ...\STEAM\SteamApps\common\Penumbra Overture\redist\sounds\boat_level\boat_wave_loop1.ogg 281,414 KB

murrayc43 commented 8 years ago

I have tested and confirm this issue. A potential fix may be to first check the file extensions located in the directories and depending on if it's a certain type of file (ex: .ogg), assume it is being used and do not delete it?

I can see some problems arise with this method but doing a test with some other games, it looks like the majority are .cab files.

Jurigag commented 7 years ago

The same thing is for penumbra black plague, can you reopen this? @Codeusa