Mod selection in GameVersionScene
Maintainer antworten meist innerhalb von 2 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 42/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- C#
- Sterne
- 33
- Forks
- 1
- Ø Merge
- 1 T. 21 Std.
- Gemergte PRs (30 T.)
- 56
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Gothic-Unity-Project/Gothic-Unity
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 69/100
Gothic-Unity-Project/Gothic-Unity#487 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 57/100
Gothic-Unity-Project/Gothic-Unity#494 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
improvement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
Gothic-Unity-Project/Gothic-Unity#492 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 49/100
Gothic-Unity-Project/Gothic-Unity#489 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
Gothic-Unity-Project/Gothic-Unity#488 ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in Gothic-Unity-Project/Gothic-Unity
Ähnliche Issues
-
要トリアージ
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
Maintainer antworten meist innerhalb von 1 Tag
-
S: Untriaged
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Trauma-Station/Trauma-Station#5285 ·
Maintainer antworten meist innerhalb von 1 Tag
-
.NET good first issue testing
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
HelloblueAI/HelloblueGK#311 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
unoplatform/uno#26080 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:app
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 63/100
KSAModding/Borea#1162 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag