Mod selection in GameVersionScene
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
Start in GameVersionScene, where the Gothic 1 and 2 buttons are chosen, and find the DeveloperConfig EnableMod preselect. Then trace IsModActive, ModCacheSuffix and LoadGothicInis to see where the mod selection must be read, and set it before LoadGothicInis runs. Done means a scanned list of system/*.ini mods appears in both VR and Flat UI, and the manual test steps in the issue pass.
由索引模型根據 Issue 內容生成。
描述
Summary
Mods can't be selected in builds, only via DevConfig in Inspector right now.
Scope
- After the user picks Gothic 1 or 2, show a list of installed mods below the game buttons, plus a "Vanilla" entry OR show it directly in the list? All the mods? (One click less)
- Find mods by looking for *.ini files in /system/, excluding Gothic.ini and GothicGame.ini.
- Selecting an entry sets the mod INI filename, and the mod root, which is the Gothic root itself, since the INI sits in its system/.
- The Editor DeveloperConfig override (EnableMod) should still work, for example by preselecting the entry.
- IsModActive, ModCacheSuffix and LoadGothicInis must read the selection. Set it before LoadGothicInis.
- Use Logger.Log with a LogCat. Show the list in both VR and Flat UI.
Open questions
- A mod with its own folder (e.g. C:/Gothic Mods/...) isn't found by scanning the Gothic root's system/. Decide whether to also scan a mods directory or support a user-added path.
- Whether Gothic.ini and GothicGame.ini are the only files to exclude.
Manual test
- Start a build with no DeveloperConfig preselect. G1 and G2 appear, then the mod list.
- Vanilla boots as before.
- A mod INI boots that mod, and the cache folder carries its mod… suffix.
- With PreselectGameVersion on, the mod list still appears, or the preselect is skipped when a mod is needed.
- 主要語言
- C#
- 星號
- 33
- 分支
- 1
- 平均合併
- 1 天 23 小時
- 30 天內合併 PR
- 57
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Gothic-Unity-Project/Gothic-Unity 的其他 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 69/100
Gothic-Unity-Project/Gothic-Unity#487 ·
維護者通常 2 天內回覆
-
難度 5/5 一週以上 新手友好度 38/100
Gothic-Unity-Project/Gothic-Unity#499 ·
維護者通常 2 天內回覆
-
Shadows未關閉feature
難度 5/5 一週以上 新手友好度 30/100
Gothic-Unity-Project/Gothic-Unity#497 ·
維護者通常 2 天內回覆
-
improvement
難度 4/5 3-5 天 新手友好度 42/100
Gothic-Unity-Project/Gothic-Unity#496 ·
維護者通常 2 天內回覆
-
feature
難度 5/5 一週以上 新手友好度 25/100
Gothic-Unity-Project/Gothic-Unity#495 ·
維護者通常 2 天內回覆
查看 Gothic-Unity-Project/Gothic-Unity 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
flyingpie/windows-terminal-quake#419 ·
維護者通常 1 天內回覆
-
enhancement help wanted
難度 2/5 1-3 小時 新手友好度 82/100
-
a-corriger documentation
難度 1/5 1-3 小時 新手友好度 83/100
christian-raj/S-Aloha#272 ·
-
Incorrect loop bound in SizeOptIListSelectIterator.ToList可能已有人在做 @equmagg 今天認領。 未關閉area-System.Collections untriaged
難度 2/5 1-3 小時 新手友好度 64/100
dotnet/runtime#137126 · 1 則留言 ·
維護者通常 1 天內回覆
-
bug debugger flaky small
難度 2/5 1-3 小時 新手友好度 77/100
維護者通常 1 天內回覆