Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
1039dfd
feat: build the launcher core and its tests natively on Linux
j0nsh1n Nov 14, 2026
ee7b525
feat: draw the launcher's UI on Linux with Cairo and Pango
j0nsh1n Nov 14, 2026
451d44b
feat: run the launcher's window natively on Linux (SDL3)
j0nsh1n Nov 14, 2026
3199f1c
fix: POSIX layer review findings (process image, suspended start, cas…
j0nsh1n Nov 14, 2026
26adef7
feat: install, uninstall and convert with the native Linux launcher
j0nsh1n Nov 14, 2026
e8ed78b
fix: suspended process start (signals, inherited files, early failure…
j0nsh1n Nov 14, 2026
a287eac
fix: Linux window layer review findings (DPI, key state, edit caret)
j0nsh1n Nov 14, 2026
0b2614d
fix: one queued WM_DPICHANGED per window on Linux
j0nsh1n Nov 14, 2026
ea5d270
feat: build the Linux launcher as an AppImage with one script
j0nsh1n Nov 14, 2026
b225cad
fix: no uninstall.exe copy of the Linux launcher in game folders
j0nsh1n Nov 14, 2026
f5406b8
fix: check_portable also catches a copy-initialised path
j0nsh1n Nov 14, 2026
ad204b9
fix: AppImage build review findings (shared app sources, dependency c…
j0nsh1n Nov 14, 2026
cdc6ae6
feat: show Steam's JPEG art on Linux (libjpeg-turbo)
j0nsh1n Nov 14, 2026
83cad40
feat: show the Proton launch option after an OptiScaler install (Linux)
j0nsh1n Nov 14, 2026
86c7f3b
feat: a symbol fallback font for the Linux launcher (Noto Sans Math)
j0nsh1n Nov 14, 2026
33c9e6a
ci: keep the Linux AppImage smoke build as an artifact
j0nsh1n Nov 14, 2026
d6a4790
fix: JPEG decoder error path and the IJG notice text (review findings)
j0nsh1n Nov 14, 2026
ffb0638
fix: Linux launcher icons match the Windows ink size
j0nsh1n Nov 14, 2026
974fde5
fix: Linux launcher text sits on Segoe UI's line box
j0nsh1n Nov 14, 2026
a17c3f7
fix: Linux launcher semibold and bold text matches Windows widths
j0nsh1n Nov 14, 2026
47e5a33
Merge main into feat/linux-launcher
j0nsh1n Nov 15, 2026
1d226a9
Merge origin/main into feat/linux-launcher
j0nsh1n Nov 15, 2026
b8ad4ba
feat: ReplaceFileW and its error codes in the POSIX layer
j0nsh1n Nov 15, 2026
75eb956
docs: README-linux known limits: no upscaler yet under a released Proton
j0nsh1n Nov 15, 2026
98fa0d8
fix: ReplaceFileW without a backup name is one rename
j0nsh1n Nov 15, 2026
42c933e
Merge main into feat/linux-launcher (#222, #226)
j0nsh1n Nov 15, 2026
7b2fbeb
Merge main (WrongGPU 0.6.5) into feat/linux-launcher
j0nsh1n Nov 17, 2026
2a254a9
fix: MinGW build of wg_core links rstrtmgr
j0nsh1n Nov 17, 2026
ed72484
Linux layer: the Windows calls 0.6.5 added (state lock, rename by han…
j0nsh1n Nov 17, 2026
5f900b1
fix(linux): the model choice record's paths are host paths
j0nsh1n Nov 17, 2026
7fd9be5
tests: the state cases leave no install behind in a build without Pre…
j0nsh1n Nov 17, 2026
9629d61
tests(linux): the native launcher suite runs main's new test modules
j0nsh1n Nov 17, 2026
c04c28e
Linux layer: a DLL a game under Wine has loaded refuses a write open
j0nsh1n Nov 17, 2026
b71ac45
tests(linux): uninstall, repair and update refused while the game has…
j0nsh1n Nov 17, 2026
ad5026c
Linux: the testing launcher's identity, so 0.6.5's preflight guards L…
j0nsh1n Nov 17, 2026
fb372b1
docs(linux): the known limits say what the game-running check covers
j0nsh1n Nov 17, 2026
5396d59
fix(linux): a rename by handle whose old name cannot be removed fails…
j0nsh1n Nov 17, 2026
68ced25
tests: the Preset-K-off cleanup's uninstall is a check
j0nsh1n Nov 17, 2026
660eec9
ci: re-run
j0nsh1n Nov 17, 2026
65d7b35
feat(linux): name the graphics card from Linux's device list
j0nsh1n Nov 17, 2026
80d1c6e
tests: a test build can point the GPU check at a made-up device list
j0nsh1n Nov 17, 2026
36ea27f
fix(linux): the native launcher leaves Ray Reconstruction's kernels t…
j0nsh1n Nov 17, 2026
3afd77b
feat(linux): put Ray Reconstruction's Engine.ini in the game's Proton…
j0nsh1n Nov 18, 2026
a232252
feat(linux): first-run sheet and launch option speak Linux
j0nsh1n Nov 18, 2026
ec0fd6c
feat(linux): Uninstall WrongGPU deletes the AppImage and its data folder
j0nsh1n Nov 18, 2026
f1ad1b3
fix(linux): the uninstall question writes paths the Linux way
j0nsh1n Nov 18, 2026
1a8bf62
feat(linux): downloads are off on Linux, and the screen says so
j0nsh1n Nov 18, 2026
df05f01
ci(linux): the AppImage job runs only when started by hand
j0nsh1n Nov 18, 2026
d7dcc08
fix(linux): uninstall proves $APPIMAGE is the AppImage that is running
j0nsh1n Nov 18, 2026
9e7d542
fix(linux): the toolbar says Direct3D 12 (through Proton) on native L…
j0nsh1n Nov 18, 2026
2cdc78b
fix(linux): Linux words on the changed Settings and Engine.ini screens
j0nsh1n Nov 18, 2026
cfa87d9
test(linux): malformed libraryfolders.vdf, a pfx without steamuser, a…
j0nsh1n Nov 18, 2026
9d78fc6
fix(linux): wording fixes from the UI review (Windows-folder command,…
j0nsh1n Nov 18, 2026
46093c0
fix(linux): the Windows-folder command names this launcher's own file…
j0nsh1n Nov 18, 2026
aed0904
fix(linux): Settings names the folder the uninstall deletes; the side…
j0nsh1n Nov 18, 2026
7a69d55
test(linux): whole-string checks of the Codex review fixes on the rea…
j0nsh1n Nov 18, 2026
f2c74e6
fix(linux): this program's own file from the system, whole; the games…
j0nsh1n Nov 18, 2026
dd1fbe9
test(linux): the running file from long and backslash paths; the live…
j0nsh1n Nov 18, 2026
0f56395
Merge main 6294fa3 (#290-#294) into the Linux launcher
j0nsh1n Nov 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/linux-appimage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Builds the Linux AppImage of the launcher in the pinned Ubuntu 22.04 container (glibc 2.35, the oldest system the AppImage
# supports) with a test payload: the build proves the launcher's shared code still compiles and links on Linux and that the
# AppImage still bundles what it needs. A release AppImage is built by the maintainer with the release payload
# (clean/installer/README-linux.md); this job's file is a smoke build and never ships.
# It runs only when started by hand (workflow_dispatch). Its own workflow, so ci.yml and its required check stay as they are.
name: Linux AppImage

# Only when the maintainer starts it by hand: Actions tab, Linux AppImage, Run workflow.
on:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: linux-appimage-${{ github.ref }}
cancel-in-progress: false

jobs:
appimage:
name: "AppImage (Ubuntu 22.04, glibc 2.35)"
runs-on: ubuntu-24.04
timeout-minutes: 60
# The same digest as CONTAINER_IMAGE in clean/installer/build-appimage.sh (the step below fails if they differ).
container: docker.io/library/ubuntu:22.04@sha256:74b12b11ffa550fba1929ad4d8d16533c34f6612728469671afba1b03b66881c
steps:
# checkout wants git, and the portability check wants python3; the build script installs the rest itself
- name: Packages for checkout and the check
run: |
apt-get update -qq
apt-get install -y -qq --no-install-recommends ca-certificates git python3
- uses: actions/checkout@v4.2.2
- name: Container digest matches the build script
run: |
# the whole image reference, digest included, must match: a container line without a digest fails here
workflow="$(sed -n 's/^ container: *//p' .github/workflows/linux-appimage.yml)"
script="$(sed -n 's/^CONTAINER_IMAGE="\(.*\)"$/\1/p' clean/installer/build-appimage.sh)"
case "$workflow" in *@sha256:????????????????????????????????????????????????????????????????) ;; *) echo "workflow container has no sha256 digest: '$workflow'" >&2; exit 1 ;; esac
[ -n "$script" ] && [ "$workflow" = "$script" ] || { echo "workflow '$workflow' differs from build-appimage.sh '$script'" >&2; exit 1; }
- name: Portability check
run: python3 tools/ci/check_portable.py --root clean/installer
- name: Build the AppImage (test payload)
run: bash clean/installer/build-appimage.sh --test-payload --out out
# The smoke build, so the maintainer can run it. It carries the test payload and never ships; it expires after 3 days.
# Pinned to the full commit SHA of the v4.6.2 tag, not the tag, which can be moved.
- name: Keep the AppImage for review
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: WrongGPU-appimage-testpayload
path: out/*.AppImage
if-no-files-found: error
retention-days: 3
43 changes: 43 additions & 0 deletions LICENSES/OFL-1.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
SIL OPEN FONT LICENSE

Version 1.1 - 26 February 2007

PREAMBLE

The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.

The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.

DEFINITIONS

"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the copyright statement(s).

"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting, or substituting — in part or in whole — any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.

"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS

Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.

5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.

TERMINATION

This license becomes null and void if any of the above conditions are not met.

DISCLAIMER

THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
21 changes: 21 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ precedence = "override"
SPDX-FileCopyrightText = "2023 Advanced Micro Devices, Inc."
SPDX-License-Identifier = "MIT"

# Selawik 1.01 (Microsoft; SIL Open Font License 1.1): the launcher's text font on Linux (the OFL's text is beside the fonts)
[[annotations]]
path = "clean/installer/assets/fonts/selawik/**"
precedence = "override"
SPDX-FileCopyrightText = "2015 Microsoft Corporation"
SPDX-License-Identifier = "OFL-1.1"

# Noto Sans Math v3.000 (The Noto Project Authors; SIL Open Font License 1.1): the launcher's fallback for symbols Selawik lacks
[[annotations]]
path = "clean/installer/assets/fonts/notosansmath/**"
precedence = "override"
SPDX-FileCopyrightText = "2022 The Noto Project Authors (https://github.com/notofonts/math)"
SPDX-License-Identifier = "OFL-1.1"

# Fluent System Icons (Microsoft; MIT): the launcher's icon font on Linux
[[annotations]]
path = "clean/installer/assets/fonts/fluent/**"
precedence = "override"
SPDX-FileCopyrightText = "2020 Microsoft Corporation"
SPDX-License-Identifier = "MIT"

# WrongGPU's own notes about the vendored headers (written by the clean team, not AMD's)
[[annotations]]
path = ["clean/third_party/fidelityfx-sdk-1.1.4/README.md", "clean/third_party/fidelityfx-sdk-fsr3-v3.0.4/README.md"]
Expand Down
114 changes: 114 additions & 0 deletions THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,35 @@ repository. The model weights are read on the player's own PC from that upscaler
Licence: MIT (text below; clean/third_party/fidelityfx-sdk-fsr3-v3.0.4/LICENSE.txt)
Used by: clean/fsr/src/fsr30_layout_check.cpp only (a compile-time layout check of WrongGPU's own mirror types)

1.3 Selawik 1.01: text font of the Linux launcher
Files: clean/installer/assets/fonts/selawik/ (selawk.ttf, selawkl.ttf, selawksl.ttf, selawksb.ttf, selawkb.ttf),
unmodified; OFL.txt beside them
Source: https://github.com/microsoft/Selawik, release 1.01 (Selawik_Release.zip)
Licence: SIL Open Font License 1.1, (c) 2015 Microsoft Corporation, Reserved Font Name "Selawik"
(clean/installer/assets/fonts/selawik/OFL.txt)
Used by: the Linux launcher's Cairo/Pango drawing (clean/installer/src/app/ui_gfx_cairo.cpp) in place of
Segoe UI Variable; registered with fontconfig at start-up, never renamed or sold on its own

1.4 Noto Sans Math v3.000: symbol fallback font of the Linux launcher
Files: clean/installer/assets/fonts/notosansmath/NotoSansMath-Regular.ttf (the release's unhinted TTF, whole and
unmodified, 657 KB, sha256 b127e84699212b6b2ef50aff58e0ebebeec04ffe6db1b9eb9e209c8c3d97b4aa); OFL.txt beside it
Source: https://github.com/notofonts/math, release NotoSansMath-v3.000 (tag commit
480fb49a4a43189ad0f8f27415e76fd1317ecab9; NotoSansMath-v3.000.zip, sha256
ac351837b41f8a897f020b97fb0f075ad574c1e9669fb5839ada1f92fd748356)
Licence: SIL Open Font License 1.1, Copyright 2022 The Noto Project Authors (https://github.com/notofonts/math), no
Reserved Font Name (clean/installer/assets/fonts/notosansmath/OFL.txt)
Used by: the Linux launcher's Cairo/Pango drawing (clean/installer/src/app/ui_gfx_cairo.cpp), listed after Selawik so
it draws the symbols Selawik lacks (the arrow in "0.4.5 → 0.6.0", the no-break and en spaces); never
renamed or sold on its own

1.5 Fluent System Icons: icon font of the Linux launcher
Files: clean/installer/assets/fonts/fluent/FluentSystemIcons-Regular.ttf, unmodified; LICENSE beside it
Source: https://github.com/microsoft/fluentui-system-icons,
commit 67e6dec1ee956af3ab4c746a2b3bb6a2e5520a44
Licence: MIT, (c) 2020 Microsoft Corporation (clean/installer/assets/fonts/fluent/LICENSE)
Used by: the Linux launcher's Cairo/Pango drawing in place of Segoe Fluent Icons (the codepoint table is in
ui_gfx_cairo.cpp)


2. Not included; used at build or test time (installed by the developer)
-------------------------------------------------------------------------
Expand Down Expand Up @@ -56,6 +85,21 @@ repository. The model weights are read on the player's own PC from that upscaler
this repository or of WrongGPU's packages).


4. Not included; bundled into the Linux AppImage when it is built
------------------------------------------------------------------

4.1 libjpeg-turbo 2.1.2 (Ubuntu 22.04's libjpeg-turbo8): JPEG decoding in the Linux launcher
Files: none in this repository; build-appimage.sh installs libjpeg-turbo8-dev from the Ubuntu 22.04 archive and
linuxdeploy copies libjpeg.so.8 into the AppImage, unmodified. The AppImage carries this file in
share/doc/wronggpu/THIRD-PARTY-NOTICES.
Source: https://github.com/libjpeg-turbo/libjpeg-turbo, tag 2.1.2 (the source of Ubuntu's package)
Licence: the IJG (Independent JPEG Group) licence for the libjpeg API library, which the launcher uses, and the
Modified (3-clause) BSD licence (D. R. Commander and others) for the rest of the project; texts below
Notice: This software is based in part on the work of the Independent JPEG Group.
Used by: clean/installer/src/app/jpeg_decode_linux.cpp, which reads Steam's JPEG art (hero, header, capsule); the
Windows launcher decodes art with WIC and does not carry it


Licence texts
-------------

Expand Down Expand Up @@ -105,3 +149,73 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


libjpeg-turbo 2.1.2, the IJG licence (README.ijg of the libjpeg-turbo source, its LEGAL ISSUES section):

This software is based in part on the work of the Independent JPEG Group.

The authors make NO WARRANTY or representation, either express or implied,
with respect to this software, its quality, accuracy, merchantability, or
fitness for a particular purpose. This software is provided "AS IS", and you,
its user, assume the entire risk as to its quality and accuracy.

This software is copyright (C) 1991-2020, Thomas G. Lane, Guido Vollbeding.
All Rights Reserved except as specified below.

Permission is hereby granted to use, copy, modify, and distribute this
software (or portions thereof) for any purpose, without fee, subject to these
conditions:
(1) If any part of the source code for this software is distributed, then this
README file must be included, with this copyright and no-warranty notice
unaltered; and any additions, deletions, or changes to the original files
must be clearly indicated in accompanying documentation.
(2) If only executable code is distributed, then the accompanying
documentation must state that "this software is based in part on the work of
the Independent JPEG Group".
(3) Permission for use of this software is granted only if the user accepts
full responsibility for any undesirable consequences; the authors accept
NO LIABILITY for damages of any kind.

These conditions apply to any software derived from or based on the IJG code,
not just to the unmodified library. If you use our work, you ought to
acknowledge us.

Permission is NOT granted for the use of any IJG author's name or company name
in advertising or publicity relating to this software or products derived from
it. This software may be referred to only as "the Independent JPEG Group's
software".

We specifically permit and encourage the use of this software as the basis of
commercial products, provided that all warranty or liability claims are
assumed by the product vendor.


libjpeg-turbo 2.1.2, the Modified (3-clause) BSD licence (LICENSE.md of the libjpeg-turbo source):

Copyright (C)2009-2021 D. R. Commander. All Rights Reserved.
Copyright (C)2015 Viktor Szathmáry. All Rights Reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
- Neither the name of the libjpeg-turbo Project nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS",
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
2 changes: 1 addition & 1 deletion clean/fsr/src/model_choice_record.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ enum class ReadResult { Missing, Ok, Corrupt, Unreadable };
// Reads the record (call it under the record's Lock).
inline ReadResult ReadRecordFile(const std::filesystem::path& path, Record* out, std::string* why) {
std::string text;
HANDLE h = CreateFileW(path.c_str(), GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, nullptr, OPEN_EXISTING,
HANDLE h = CreateFileW(path.wstring().c_str(), GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, nullptr, OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL, nullptr);
if (h == INVALID_HANDLE_VALUE) {
const DWORD e = GetLastError();
Expand Down
Loading
Loading