07th-mod / 07th-mod/higurashi-assembly
Prevent/warn about loading old saves
- Linguagem predominante
- C#
- Estrelas
- 12
- Forks
- 12
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
One issue we get is that users load saves from the unmodded game, which don't work on the modded game.
If there is some way to differentiate between modded and unmodded saves, we could show a warning before the user loads the save that the save won't work properly.
Even if the save has no identifying information, if the save's date modified is older than the mod's install version tracking file's creation date (installedVersionData.json), then it's probably an old save.
We don't need to worry about the save file repeatedly having the warning pop-up, as users will either create a new save, or overwrite their old one, which should cause the date modified to become newer and no longer cause the warning (assuming their save loads correctly).
I realize that we have a warning in the installer about old saves, this issue still happens from time to time. Would be better to prevent it from happening altogether.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Procure pela lógica de carregamento de arquivos de salvamento, provavelmente em uma classe que lida com o estado do jogo ou serialização. Verifique o rastreamento de versão existente via installedVersionData.json. Determine como comparar os carimbos de data/hora dos arquivos de salvamento e injetar uma caixa de diálogo de aviso. Os testes envolvem carregar saves modificados e não modificados para garantir que o aviso seja acionado adequadamente.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- csharp
- Domínio
- game-dev
- Tipo de issue
- Funcionalidade
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100