momentum-mod / game

Momentum Mod - Standalone Source Movement Speedrunning (READ README)
https://momentum-mod.org
Other
527 stars 210 forks source link

Automatically delete old maps to save file space #1181

Open hexaflexahexagon opened 3 years ago

hexaflexahexagon commented 3 years ago

Is your feature request related to a problem? Please describe. Map folders can be fairly gigantic after playing hundreds/thousands of maps, upwards of 20, 60, or even 100 GB.

Describe the solution you'd like Automatically delete any official maps (easily redownloadable) that haven't been played in x amount of time, perhaps a month. Should not include unofficial maps since that can screw over mappers and other archiver's efforts. Also most likely would need a cvar toggle but most people really shouldn't care if it's implemented well I'd think.

Describe alternatives you've considered You can find other ways to reduce map file size as well but those would need to be abstracted to other issues instead. Things like handling custom content shared between multiple maps better, for example.

Additional context Suggested by _max in discord

Hona commented 3 years ago

I definitely would want the ability to turn this off

Gocnak commented 3 years ago

The concept of your library solves this. Maps removed from library are deleted and need redownloading. The user controls which maps are in the library at all times, so just sorting maps by recently played and finding old, unwanted maps to remove would be up to the player.

I don't think we should automatically assume things about the players' desire to keep the map files.

Gocnak commented 2 months ago

TBD: With https://github.com/StrataSource/Engine/issues/1202 and future savings (Asset Atlas, Lumper mounted asset removal) would this actually become a problem for most people?