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

Prevent/warn about loading old saves

未關閉
#58 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C#
星號
12
分支
12
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

尋找存檔檔案的載入邏輯,很可能在處理遊戲狀態或序列化的類別中。透過 installedVersionData.json 檢查現有的版本追蹤。確定如何比較存檔檔案的時間戳記並注入警告對話方塊。測試涉及載入修改和未修改的存檔,以確保警告能正確觸發。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp
領域
game-dev
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。