Handle game configuration more dynamically
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
Start by reading the per-game classes in VisualPinball.Engine.PinMAME/Games and the registration and dropdown logic around line 65 of VisualPinball.Engine.PinMAME.Unity/Editor/PinMameGamelogicEngineInspector.cs. Done means both the non-Unity solution and Unity package can load JSON game data with inheritance, support the listed metadata and mappings, and provide searchable game selection.
索引モデルが issue の本文から書いたものです。
説明
Right now, for every game, we create a class here and register them here. This is sub-optimal, because this configuration needs to be compiled, and it sits outside of Unity, so it needs to be compiled manually on every change.
A better approach would be to serialize the data as JSON and add the possibility to load them from anywhere. Since at some point there will be many games, the existing drop-down should be replaced by a more user-friendly search field.
The data should be the following:
- Metadata about the game
- Name
- ID (short name, but unique)
- Year
- Manufacturer
- IPDB Number
- Available ROMs
- ROM ID (name of the zip file of the ROM)
- Version (readable name of the ROM)
- Description (optional notes)
- Aliases (common items that we globally identify by name)
- Switches
- Lamps
- Coils
Depending on the game's system, some configurations are identical across multiple games. Thus, there should be a way of inheriting data, where a config can extend another, overriding existing values.
We need to be smart about how to set this up. The long-term goal is that if a table author works on a game that hasn't got a configuration yet, it can be easily created in the editor, and at some point submitted back to the repository for other authors to use.
Note that this issue applies to both the non-Unity .sln solution as well as the Unity-specific package.
- 主要言語
- C#
- スター
- 4
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
VisualPinball/VisualPinball.Engine.PinMAME のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
VisualPinball/VisualPinball.Engine.PinMAME#4 · コメント 1 件 ·
VisualPinball/VisualPinball.Engine.PinMAME の issue をすべて見る
似ている issue
-
type/automation type/tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
t/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
ci-failure-cause test-failure
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
area:auth FE mvp P3
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
klasolsson81/jobbliggaren#1788 ·