Launcher suite: two uninstall checks fail on main (RR settings after an in-game edit, RE9 mirror)

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp, python

調査の方向性

Run tests/run_launcher_tests.py to reproduce test_rr and test_re9, then read how repair records WrongGPU\wronggpu.ini: the move from copy 0 to copy 1 <sha> is what makes the final uninstall treat the file as another setup's. For test_re9, trace where _storage_\dxgi.dll is meant to be removed during update and uninstall. Also check main()'s synth_f argument (passed only to rr) and clean/linux/run_wine_tests.py, which builds only unit tests. Done means both checks pass on main, or are shown stale and updated.

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

説明

Two checks of tests/run_launcher_tests.py fail on main (9ef4da7). Found while merging main into the native Linux launcher branch; both reproduce the same way with main's own launcher (MinGW WRONGGPU_TESTING build, -DWRONGGPU_PRESET_K=OFF) under Wine (GE-Proton 11-11). Not run on Windows, so it is possible the checks rather than the code are out of date.

1. test_rr: "uninstall: exit 0, the RR game's folder as before except the two RR settings files the plugin rewrote..."

After the suite edits WrongGPU\wronggpu.ini as the plugin would (rr_mode = fast, rr_overlay=1), the next repair records that file as the player's: its record line goes from copy 0 - <inst> to copy 1 <sha of the edited file> <inst> ("Backed up and replaced"). The final uninstall then says it is "partly" done (WrongGPU\wronggpu.ini is now another setup's OptiScaler) and leaves WrongGPU-originals\<stamp>\WrongGPU\wronggpu.ini behind, which the check does not expect.

2. test_re9: "uninstall after the update: everything of WrongGPU's gone from the folder and the mirror; the player's mirrored file stays"

_storage_\dxgi.dll (sha256 6c66d3d8...) is left after the update and uninstall.

Also

  • The WrongGPU target no longer builds with llvm-mingw 20261104: WICBitmapInterpolationModeHighQualityCubic, D2D1_GAUSSIANBLUR_OPTIMIZATION_QUALITY, UIA_ScrollPatternNoScroll and the __uuidof of two UI Automation interfaces are missing from its headers. clean/linux/run_wine_tests.py builds only the unit tests, so it does not catch this. MinGW is for testing only, so this may not matter to you.
  • --only re9 fails at the call: main() passes synth_f only to rr.
主要言語
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 を短くまとめたダイジェスト。