07th-mod / 07th-mod/higurashi-assembly

Tell user or handle too many saves stopping Steam cloud save working

Aperta
#111 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
12
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When using Steam Cloud to sync saves, there is a maximum number of save files.

For example, on Hou+, this is set to 200: https://steamdb.info/app/2491040/ufs/

Even on the unmoded game, I can see this causing issues, because the game creates 2 files per save, and there are 100 save slots, which is already 200 files, but then there are some additional files plus quicksaves, which would be above the limit.

On the modded game, for Hou+, I want to save to a subfolder (like the console arcs already do) so there is no chance of conflict with saves on the base game, and saves on the modded game. I would also want to add this for preivous chapters in the future.

That would effectively double the number of possible save files, which would cause a similar problem.

There are a couple ways I can think of to fix this

- If more than 200 save files are created, show a popup informing the user that cloud saves may not work, and user should clean up saves
- Ever time you save, show the number of files (like a popup saying 34/200 slots used). Once the threshold is reached, only allow saving into existing save slots, instead of new ones.
 
For all of the above, if we are using a separate save folder, there is an issue if the user has created say, 100 saves on the unmodded game, they would be unable to clean up saves from the unmodded game, unless they manually open the folder to delete the files.

Possibly could just keep everything in the same save folder, and show in-game whether a save is from the unmodded game. Then at least users can manage all saves themselves, and we can stop users making too many saves.

----

All of this only applies when using cloud saves - if you didn't care about cloud saves, this makes no difference.

 

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Look at the save file management code, likely in a directory like 'Save' or 'Game'. Understand how saves are created and counted, and how Steam Cloud integration works. The fix involves tracking file counts, showing UI popups, and potentially changing save folder logic for modded games. Testing will require simulating many saves and checking Steam Cloud behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
game-dev
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.