07th-mod / 07th-mod/umineko-question

If crash occurs immediately after saving, the last save file is lost

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

Descrizione

> T: is there any reason as to why the game doesn't save when the game crashes sometime after saving? using the experimental engine
>
> ----
>
> D: I tested on the unmodded game and it has the same behavior...
>
> D: If you look at the save folder, it actually creates the save file immediately, but my guess is that it doesn't update the global.dat (the global save data file) which says how many save files there are until later? So even though the save is there, you can't access it.
>
> D: I'm not sure if this is part of the .exe or part of the Umineko script which is causing this.

If this is part of the engine, I guess we can't fix it (except for fixing the experimental engine). But it might just be the game script isn't writing out the save file count variable, and we just need to force it to update the `global.dat` immediately after it saves.

Note that I simulated crashing on Windows by ending the process via task manager.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Esamina la struttura della cartella di salvataggio e il file global.dat per capire come vengono registrati i salvataggi. Analizza lo script del gioco e il codice del motore per individuare dove vengono scritti i file di salvataggio e dove viene aggiornato global.dat. L'obiettivo è assicurarsi che global.dat venga aggiornato immediatamente dopo un salvataggio, non in seguito, per prevenire la perdita di dati in caso di crash.

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

Valutazione

Stack tecnologico
csharp
Ambito
game-dev
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 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.