Launcher builds without Model K mishandle a saved K choice

オープン
#216 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp
領域
desktop-dev

調査の方向性

Start in the launcher's profile save/load path: grep the launcher sources for the persisted model key and for the Model K / Model M identifiers, then follow how a saved choice is read at startup and how the reported active model and fallback string are produced. Read the review of #211 for the Model K launcher choice that introduced this. Done means a K-less build keeps the saved value, states plainly that it has no Model K and runs Model M, and writes exactly what it reports; verify by round-tripping a profile saved with model=K through a K-less, L-enabled and a K-less, M-only build.

索引モデルが issue の本文から書いたものです。

説明

Found by the review of #211 (Model K launcher choice). Both cases need a launcher built without Model K, so the 0.6.5 release build (built with K) is not affected.

  1. A saved K choice is silently discarded by a K-less launcher with L enabled. Opening a profile saved with model=K drops the choice without telling the player.
  2. A K-less, M-only launcher reports an unknown saved K as an active choice, and it reports a fallback that it did not write to the game files.

Expected: a K-less build keeps the saved value, says plainly that this build has no Model K and runs Model M, and writes exactly what it reports.

主要言語
C++
スター
12
フォーク
2
平均マージ
3時間 10分
マージ済み PR(30日)
171

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

phantoslayer21/wronggpu のほかの issue

phantoslayer21/wronggpu の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。