feat: build the view-tree wineserver for a GE-Proton release (Linux, ~8x world frame) #261

Closed
Anzymanz wants to merge 6 commits from upstream-pr/261 into main
Anzymanz commented 2026-11-25 22:20:30 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by Anzymanz on 2026-11-25T22:20:30Z.


Pour le mainteneur : bonjour ! Le guide parle d'un « correctif communautaire view-tree du wineserver » sans dire où le trouver ni comment le construire. Cette PR ajoute un script qui le construit pour n'importe quelle version de GE-Proton (en vérifiant le protocole contre le ntdll.so installé), le lien vers le correctif et ses auteurs, et une mesure A/B sur une RX 9070 XT. Pas de code de jeu ni de données du jeu : seulement des comptes et des temps. Code et texte écrits avec Claude Code (voir plus bas).

What

  • tools/build_ge_wineserver.sh <GE tag> <installed GE-Proton folder> <empty work folder>: fetches the tag of proton-ge-custom and the Wine / wine-staging commits it pins, runs the Wine section of GE's protonprep-valve-staging.sh, applies the view-tree patch, builds only server/wineserver, checks its SERVER_PROTOCOL_VERSION against the installed Proton's ntdll.so (stops on a mismatch), and copies the Proton folder with only files/bin/wineserver replaced. About 75 s from scratch here; bash -n and shellcheck -S warning clean.
  • docs/running-gta6.md and docs/fr/lancer-gta6.md: a short section naming the patch, why it helps VIctory, how to build and use it (and the "a new launch joins a running stock wineserver" trap), and the A/B below.

The patch itself is CachyOS/wine-cachyos#50 (Wine bug 60868) by @ajsem1337, from a version by @neonbyte1; it is downloaded by the script, not copied into this repository.

Measured

GE-Proton11-14 (protocol 938), CachyOS, Ryzen 9 5950X, RX 9070 XT, Mesa 26.3.1; this repository's VIctory plus Marvisak/VIctory#454 (watchdog off); Wine's own d3dcompiler_47, so indirect draws were dropped in every run; same binary and prefix, only wineserver swapped; numbers from tools/resume_journal_victory.py.

stock view tree
World reached (100+ draws a frame) not after 600 s (still loading, ~187 ms a frame); an earlier stock run: ~270 s 76 s and 104 s
Median world frame 8442 ms (earlier stock run, 3 world lines) 1061 ms (64 lines), 1041 ms (50 lines)
wineserver CPU 146 s over the 600 s run ~0.07 core in the world (perf, 20 s)
MapViewOfFile+UnmapViewOfFile pair with 0 / 5k / 20k / 50k other views 42 / 174 / 139 / 314 µs 46 / 54 / 42 / 59 µs

Caveat: both view-tree runs ended after about 8 and 7 minutes on the title's own breakpoint ("Unsignaled CrossQueueBarrier" in its crash report). The stock run never got that far, so it is not known yet whether the patch plays a part.

Checks

  • pytest: 1092 passed, 322 skipped (Linux, no runtime build). ruff check --select W605,F,E9 PrototypeScarlett tests tools: clean.
  • The script was run end to end from an empty folder; the resulting Proton was used for the runs above.

AI use

Claude Code (Claude Opus 5.5) wrote the script and the docs, built the server, ran the game measurements on my PC and wrote this description.

🤖 Generated with Claude Code

<!-- greyfinch-sync:LooperSalty/AnyXboxX:issue:5500169218 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/261). Originally posted by [Anzymanz](https://github.com/Anzymanz) on 2026-11-25T22:20:30Z. --- **Pour le mainteneur :** bonjour ! Le guide parle d'un « correctif communautaire view-tree du wineserver » sans dire où le trouver ni comment le construire. Cette PR ajoute un script qui le construit pour n'importe quelle version de GE-Proton (en vérifiant le protocole contre le `ntdll.so` installé), le lien vers le correctif et ses auteurs, et une mesure A/B sur une RX 9070 XT. Pas de code de jeu ni de données du jeu : seulement des comptes et des temps. Code et texte écrits avec Claude Code (voir plus bas). ## What - `tools/build_ge_wineserver.sh <GE tag> <installed GE-Proton folder> <empty work folder>`: fetches the tag of proton-ge-custom and the Wine / wine-staging commits it pins, runs the Wine section of GE's `protonprep-valve-staging.sh`, applies the view-tree patch, builds only `server/wineserver`, checks its `SERVER_PROTOCOL_VERSION` against the installed Proton's `ntdll.so` (stops on a mismatch), and copies the Proton folder with only `files/bin/wineserver` replaced. About 75 s from scratch here; `bash -n` and `shellcheck -S warning` clean. - `docs/running-gta6.md` and `docs/fr/lancer-gta6.md`: a short section naming the patch, why it helps VIctory, how to build and use it (and the "a new launch joins a running stock wineserver" trap), and the A/B below. The patch itself is [CachyOS/wine-cachyos#50](https://github.com/CachyOS/wine-cachyos/pull/50) (Wine bug [60868](https://bugs.winehq.org/show_bug.cgi?id=60868)) by @ajsem1337, from a version by @neonbyte1; it is downloaded by the script, not copied into this repository. ## Measured GE-Proton11-14 (protocol 938), CachyOS, Ryzen 9 5950X, RX 9070 XT, Mesa 26.3.1; this repository's VIctory plus Marvisak/VIctory#454 (watchdog off); Wine's own `d3dcompiler_47`, so indirect draws were dropped in every run; same binary and prefix, only `wineserver` swapped; numbers from `tools/resume_journal_victory.py`. | | stock | view tree | | --- | ---: | ---: | | World reached (100+ draws a frame) | not after 600 s (still loading, ~187 ms a frame); an earlier stock run: ~270 s | 76 s and 104 s | | Median world frame | 8442 ms (earlier stock run, 3 world lines) | 1061 ms (64 lines), 1041 ms (50 lines) | | wineserver CPU | 146 s over the 600 s run | ~0.07 core in the world (`perf`, 20 s) | | `MapViewOfFile`+`UnmapViewOfFile` pair with 0 / 5k / 20k / 50k other views | 42 / 174 / 139 / 314 µs | 46 / 54 / 42 / 59 µs | Caveat: both view-tree runs ended after about 8 and 7 minutes on the title's own breakpoint ("Unsignaled CrossQueueBarrier" in its crash report). The stock run never got that far, so it is not known yet whether the patch plays a part. ## Checks - `pytest`: 1092 passed, 322 skipped (Linux, no runtime build). `ruff check --select W605,F,E9 PrototypeScarlett tests tools`: clean. - The script was run end to end from an empty folder; the resulting Proton was used for the runs above. ## AI use Claude Code (Claude Opus 5.5) wrote the script and the docs, built the server, ran the game measurements on my PC and wrote this description. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chatgpt-codex-connector[bot] commented 2026-11-25 22:20:48 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T22:20:48Z.


Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T22:24:58.698166Z 69be361 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:comment:7176246934 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/261#issuecomment-7176246934). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-25T22:20:48Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"69be361aba79393292f6e4b10e952b3f4b19e2bc","has_any_findings":true,"has_unresolved_findings":true,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-25T22:24:58.698166Z">2026-11-25T22:24:58.698166Z</relative-time> | `69be361` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
chatgpt-codex-connector[bot] commented 2026-11-25 22:24:56 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T22:24:56Z.

Review: COMMENTED


💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 69be361aba

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

<!-- greyfinch-sync:LooperSalty/AnyXboxX:review:6065831523 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/261#pullrequestreview-6065831523). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-25T22:24:56Z. **Review:** COMMENTED --- <!-- codex-review-receipt:v1 --> ### 💡 Codex Review Here are some automated review suggestions for this pull request. **Reviewed commit:** `69be361aba` <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". </details>
chatgpt-codex-connector[bot] commented 2026-11-25 22:24:56 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T22:24:56Z.

Code review location: tools/build_ge_wineserver.sh; line 48

@@ -0,0 +1,49 @@
+#!/bin/bash
+# Build a GE-Proton wineserver with the view-tree patch (CachyOS/wine-cachyos#50, Wine bug 60868) and make a copy
+# of that GE-Proton with only files/bin/wineserver replaced.
+#
+#   scripts/build_ge_wineserver.sh <GE tag, e.g. GE-Proton11-14> <installed GE-Proton dir> <work dir>
+#
+# Steps: clone proton-ge-custom at the tag, fetch its wine and wine-staging submodules at the pinned commits, run the
+# wine section of GE's patches/protonprep-valve-staging.sh, generate the headers configure needs, apply the patch,
+# build only server/wineserver, check its protocol version against the installed Proton's ntdll.so, copy the Proton.
+set -euo pipefail
+TAG=${1:?GE tag}; INST=$(realpath "${2:?installed GE-Proton dir}"); WORK=${3:?work dir}
+PATCH_URL=https://github.com/CachyOS/wine-cachyos/commit/fd66dbca8eb0754839ca974e45b5ea446ca62d2f.patch
+mkdir -p "$WORK"; WORK=$(realpath "$WORK"); cd "$WORK"
+[ -e src ] && { echo "$WORK/src exists: use an empty work dir"; exit 1; }
+
+git clone -q --depth 1 -b "$TAG" https://github.com/GloriousEggroll/proton-ge-custom src
+cd src
+for m in wine wine-staging; do
+  url=$(git config -f .gitmodules "submodule.$m.url"); sha=$(git ls-tree HEAD "$m" | awk '{print $3}')
+  rm -rf "$m"; git init -q "$m"; git -C "$m" fetch -q --depth 1 "$url" "$sha"; git -C "$m" checkout -q FETCH_HEAD
+  echo "$m $url $sha"
+done
+P=patches/protonprep-valve-staging.sh
+s=$(grep -n '^### (2) WINE PATCHING ###' $P | cut -d: -f1); e=$(grep -n '^### END WINE PATCHING ###' $P | cut -d: -f1)
+{ sed -n '1,/^### (1) PREP SECTION ###/p' $P | head -n -1; sed -n "${s},${e}p" $P; } > ../ge-prep-wine.sh
+bash ../ge-prep-wine.sh > ../prep.log 2>&1
+cd wine
+XDG_CACHE_HOME="$WORK/cache" dlls/winevulkan/make_vulkan -x vk.xml -X video.xml > ../../vk.log 2>&1
+tools/make_specfiles > ../../spec.log 2>&1
+curl -fsSL "$PATCH_URL" -o ../../viewtree.patch
+git apply ../../viewtree.patch
+V=$(sed -n 's/^#define SERVER_PROTOCOL_VERSION //p' include/wine/server_protocol.h)
+n=$(objdump -d --no-show-raw-insn "$INST/files/lib/wine/x86_64-unix/ntdll.so" | grep -cE "(cmp|mov) +\\\$0x$(printf %x "$V"),") || true
+[ "$n" -ge 1 ] || { echo "protocol $V not found in $INST ntdll.so: wrong source for this Proton"; exit 1; }
+echo "protocol $V matches $INST ($n hits)"
+
+mkdir -p "$WORK/build"; cd "$WORK/build"
+../src/wine/configure --enable-win64 --disable-tests --without-x --without-freetype --without-gnutls --without-vulkan \
+  --without-opengl --without-alsa --without-pulse --without-gstreamer --without-sdl --without-udev --without-usb \
+  --without-v4l2 --without-cups --without-dbus --without-krb5 --without-netapi --without-pcap --without-sane \
+  --without-unwind --without-wayland --without-xinerama --without-xrandr --without-xinput2 --without-xcomposite \
+  --without-xcursor --without-xfixes --without-xshape --without-xshm --without-osmesa --without-fontconfig \
+  --without-gphoto --without-ffmpeg --without-capi --without-pcsclite --without-coreaudio --without-oss \
+  --without-mingw > configure.log 2>&1
+make -j"$(nproc)" server/wineserver > make.log 2>&1
+strip -o wineserver server/wineserver
+OUT="$WORK/$(basename "$INST")-viewtree"
+cp -a "$INST" "$OUT"; cp wineserver "$OUT/files/bin/wineserver"

P1 Badge Add a regression test for the copied Proton tree

This new build path replaces the wineserver in a Proton copy, but the diff adds no test for its protocol-check and replacement contract. If that logic regresses, the helper could produce an incompatible or unusable copy without a test catching it. Please add a focused test that stubs the fetch and build steps and verifies the validation and replacement behavior; this repository requires each new behavior to have a test.

AGENTS.md reference: AGENTS.md:L54-L54

Useful? React with 👍 / 👎.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:review-comment:4701588217 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/261#discussion_r4701588217). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-25T22:24:56Z. **Code review location:** `tools/build_ge_wineserver.sh`; line 48 ~~~~diff @@ -0,0 +1,49 @@ +#!/bin/bash +# Build a GE-Proton wineserver with the view-tree patch (CachyOS/wine-cachyos#50, Wine bug 60868) and make a copy +# of that GE-Proton with only files/bin/wineserver replaced. +# +# scripts/build_ge_wineserver.sh <GE tag, e.g. GE-Proton11-14> <installed GE-Proton dir> <work dir> +# +# Steps: clone proton-ge-custom at the tag, fetch its wine and wine-staging submodules at the pinned commits, run the +# wine section of GE's patches/protonprep-valve-staging.sh, generate the headers configure needs, apply the patch, +# build only server/wineserver, check its protocol version against the installed Proton's ntdll.so, copy the Proton. +set -euo pipefail +TAG=${1:?GE tag}; INST=$(realpath "${2:?installed GE-Proton dir}"); WORK=${3:?work dir} +PATCH_URL=https://github.com/CachyOS/wine-cachyos/commit/fd66dbca8eb0754839ca974e45b5ea446ca62d2f.patch +mkdir -p "$WORK"; WORK=$(realpath "$WORK"); cd "$WORK" +[ -e src ] && { echo "$WORK/src exists: use an empty work dir"; exit 1; } + +git clone -q --depth 1 -b "$TAG" https://github.com/GloriousEggroll/proton-ge-custom src +cd src +for m in wine wine-staging; do + url=$(git config -f .gitmodules "submodule.$m.url"); sha=$(git ls-tree HEAD "$m" | awk '{print $3}') + rm -rf "$m"; git init -q "$m"; git -C "$m" fetch -q --depth 1 "$url" "$sha"; git -C "$m" checkout -q FETCH_HEAD + echo "$m $url $sha" +done +P=patches/protonprep-valve-staging.sh +s=$(grep -n '^### (2) WINE PATCHING ###' $P | cut -d: -f1); e=$(grep -n '^### END WINE PATCHING ###' $P | cut -d: -f1) +{ sed -n '1,/^### (1) PREP SECTION ###/p' $P | head -n -1; sed -n "${s},${e}p" $P; } > ../ge-prep-wine.sh +bash ../ge-prep-wine.sh > ../prep.log 2>&1 +cd wine +XDG_CACHE_HOME="$WORK/cache" dlls/winevulkan/make_vulkan -x vk.xml -X video.xml > ../../vk.log 2>&1 +tools/make_specfiles > ../../spec.log 2>&1 +curl -fsSL "$PATCH_URL" -o ../../viewtree.patch +git apply ../../viewtree.patch +V=$(sed -n 's/^#define SERVER_PROTOCOL_VERSION //p' include/wine/server_protocol.h) +n=$(objdump -d --no-show-raw-insn "$INST/files/lib/wine/x86_64-unix/ntdll.so" | grep -cE "(cmp|mov) +\\\$0x$(printf %x "$V"),") || true +[ "$n" -ge 1 ] || { echo "protocol $V not found in $INST ntdll.so: wrong source for this Proton"; exit 1; } +echo "protocol $V matches $INST ($n hits)" + +mkdir -p "$WORK/build"; cd "$WORK/build" +../src/wine/configure --enable-win64 --disable-tests --without-x --without-freetype --without-gnutls --without-vulkan \ + --without-opengl --without-alsa --without-pulse --without-gstreamer --without-sdl --without-udev --without-usb \ + --without-v4l2 --without-cups --without-dbus --without-krb5 --without-netapi --without-pcap --without-sane \ + --without-unwind --without-wayland --without-xinerama --without-xrandr --without-xinput2 --without-xcomposite \ + --without-xcursor --without-xfixes --without-xshape --without-xshm --without-osmesa --without-fontconfig \ + --without-gphoto --without-ffmpeg --without-capi --without-pcsclite --without-coreaudio --without-oss \ + --without-mingw > configure.log 2>&1 +make -j"$(nproc)" server/wineserver > make.log 2>&1 +strip -o wineserver server/wineserver +OUT="$WORK/$(basename "$INST")-viewtree" +cp -a "$INST" "$OUT"; cp wineserver "$OUT/files/bin/wineserver" ~~~~ --- **<sub><sub>![P1 Badge](https://img.shields.io/badge/P1-orange?style=flat)</sub></sub> Add a regression test for the copied Proton tree** This new build path replaces the wineserver in a Proton copy, but the diff adds no test for its protocol-check and replacement contract. If that logic regresses, the helper could produce an incompatible or unusable copy without a test catching it. Please add a focused test that stubs the fetch and build steps and verifies the validation and replacement behavior; this repository requires each new behavior to have a test. AGENTS.md reference: [AGENTS.md:L54-L54](https://github.com/LooperSalty/AnyXboxX/blob/69be361aba79393292f6e4b10e952b3f4b19e2bc/AGENTS.md#L54-L54) Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
LooperSalty commented 2026-11-26 00:06:51 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-26T00:06:51Z.


Thanks for the Linux work. Before it can go in: (1) tools/build_ge_wineserver.sh:5 usage says scripts/ but the file is in tools/; (2) the CachyOS patch is downloaded with curl at line 30 without a sha256 check — please pin it by hash (or vendor it with its licence and a Source line, rule 10); (3) GE-Proton is cloned at a mutable tag — please pin a commit SHA; (4) please credit the patch's origin in THIRD_PARTY.md. The measurements are welcome as reported by you; say so in the docs.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:comment:7178409091 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/261#issuecomment-7178409091). Originally posted by [LooperSalty](https://github.com/LooperSalty) on 2026-11-26T00:06:51Z. --- Thanks for the Linux work. Before it can go in: (1) `tools/build_ge_wineserver.sh:5` usage says `scripts/` but the file is in `tools/`; (2) the CachyOS patch is downloaded with curl at line 30 without a sha256 check — please pin it by hash (or vendor it with its licence and a Source line, rule 10); (3) GE-Proton is cloned at a mutable tag — please pin a commit SHA; (4) please credit the patch's origin in THIRD_PARTY.md. The measurements are welcome as reported by you; say so in the docs.
mancube commented 2026-11-26 00:08:41 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by mancube on 2026-11-26T00:08:41Z.


I've tested this on my CachyOS machine - it built correctly for GE-Proton11-14 and I now get playable ~4fps with no glitches on my 7900X/RX9700XT, as compared to 1 frame every ~20s before the wineserver patch.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:comment:7178441631 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/261#issuecomment-7178441631). Originally posted by [mancube](https://github.com/mancube) on 2026-11-26T00:08:41Z. --- I've tested this on my CachyOS machine - it built correctly for GE-Proton11-14 and I now get playable ~4fps with no glitches on my 7900X/RX9700XT, as compared to 1 frame every ~20s before the wineserver patch.
Foxiquek commented 2026-11-26 05:25:50 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by Foxiquek on 2026-11-26T05:25:50Z.


I've proposed the view-tree patch to GE-Proton so it can ship there without a local build: GloriousEggroll/proton-ge-custom#1016.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:comment:7183478041 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/261#issuecomment-7183478041). Originally posted by [Foxiquek](https://github.com/Foxiquek) on 2026-11-26T05:25:50Z. --- I've proposed the view-tree patch to GE-Proton so it can ship there without a local build: GloriousEggroll/proton-ge-custom#1016.
Anzymanz commented 2026-11-27 01:31:49 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by Anzymanz on 2026-11-27T01:31:49Z.


Updated: main merged in, plus 8858f44 for the review points.

@LooperSalty, your four points:

  1. Usage path. The usage line now names tools/.
  2. Patch hash. The patch is pinned by sha256 (9ee40d56…a74b). The script refuses it if the download differs.
  3. GE-Proton commit. GE-Proton is fetched at a pinned commit, not the tag: GE-Proton11-14 → 777d72b4. Any other tag is refused until its commit is added to ge_commit.
  4. Credit. THIRD_PARTY.md has a row for CachyOS/wine-cachyos#50: ajsem1337, from neonbyte1's version, LGPL-2.1-or-later. The patch is downloaded, not copied.

The docs (EN and FR) now say the numbers are the contributor's own and not reproduced by the project.

Codex review (a test). The protocol check and the copy are now functions; sourcing the script only defines them. tests/test_build_ge_wineserver.py covers three cases:

  • the check passes and fails on a fake objdump's output;
  • the copy replaces only files/bin/wineserver and leaves the source alone, and it refuses an existing folder;
  • an unpinned tag is refused before anything is fetched.

3 passed locally, and ruff with the CI's rules is clean. The build itself (fetch, GE prep, compile) isn't covered by the test. I haven't re-run the build since this change.

@mancube, thank you for testing it on another machine.

@Foxiquek, thanks for taking it to GE. GloriousEggroll closed #1016 as a duplicate of the same fix, which landed in GE's tree on 27 Nov as d3b6ae7. The docs now say so: a GE-Proton release after 11-14 that includes it needs no local build, and this script is only for 11-14.

Written with Claude Code.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:comment:7207361007 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/261#issuecomment-7207361007). Originally posted by [Anzymanz](https://github.com/Anzymanz) on 2026-11-27T01:31:49Z. --- Updated: `main` merged in, plus 8858f44 for the review points. @LooperSalty, your four points: 1. **Usage path.** The usage line now names `tools/`. 2. **Patch hash.** The patch is pinned by sha256 (`9ee40d56…a74b`). The script refuses it if the download differs. 3. **GE-Proton commit.** GE-Proton is fetched at a pinned commit, not the tag: `GE-Proton11-14` → `777d72b4`. Any other tag is refused until its commit is added to `ge_commit`. 4. **Credit.** THIRD_PARTY.md has a row for CachyOS/wine-cachyos#50: ajsem1337, from neonbyte1's version, LGPL-2.1-or-later. The patch is downloaded, not copied. The docs (EN and FR) now say the numbers are the contributor's own and not reproduced by the project. **Codex review (a test).** The protocol check and the copy are now functions; sourcing the script only defines them. `tests/test_build_ge_wineserver.py` covers three cases: - the check passes and fails on a fake `objdump`'s output; - the copy replaces only `files/bin/wineserver` and leaves the source alone, and it refuses an existing folder; - an unpinned tag is refused before anything is fetched. 3 passed locally, and ruff with the CI's rules is clean. The build itself (fetch, GE prep, compile) isn't covered by the test. I haven't re-run the build since this change. @mancube, thank you for testing it on another machine. @Foxiquek, thanks for taking it to GE. GloriousEggroll closed #1016 as a duplicate of the same fix, which landed in GE's tree on 27 Nov as `d3b6ae7`. The docs now say so: a GE-Proton release after 11-14 that includes it needs no local build, and this script is only for 11-14. Written with Claude Code.
Anzymanz commented 2026-11-27 19:59:24 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by Anzymanz on 2026-11-27T19:59:24Z.


GE-Proton now has the same wineserver change on its master: d3b6ae738 (em-fixups/0078-server-store-process-views-in-an-rb-tree.patch, from GloriousEggroll/proton-ge-custom#1013; GloriousEggroll/proton-ge-custom#1016 was closed as its duplicate). It isn't in a release yet: GE-Proton11-14 doesn't carry it. Once a release does, the build step this PR adds isn't needed, and I'll close the PR then, unless you'd rather have the docs point at that release instead.

main is merged in again (3be9fc5); the script's tests pass (3 of 3).

Written with Claude Code.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:comment:7227065679 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/261#issuecomment-7227065679). Originally posted by [Anzymanz](https://github.com/Anzymanz) on 2026-11-27T19:59:24Z. --- GE-Proton now has the same wineserver change on its master: d3b6ae738 (`em-fixups/0078-server-store-process-views-in-an-rb-tree.patch`, from GloriousEggroll/proton-ge-custom#1013; GloriousEggroll/proton-ge-custom#1016 was closed as its duplicate). It isn't in a release yet: GE-Proton11-14 doesn't carry it. Once a release does, the build step this PR adds isn't needed, and I'll close the PR then, unless you'd rather have the docs point at that release instead. `main` is merged in again (3be9fc5); the script's tests pass (3 of 3). Written with Claude Code.
Anzymanz commented 2026-11-29 14:37:52 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by Anzymanz on 2026-11-29T14:37:52Z.


Superseded by GE-Proton11-15, which carries this fix; closing.

Written with Claude Code.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:comment:7257453107 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/261#issuecomment-7257453107). Originally posted by [Anzymanz](https://github.com/Anzymanz) on 2026-11-29T14:37:52Z. --- Superseded by GE-Proton11-15, which carries this fix; closing. Written with Claude Code.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
LooperSalty/AnyXboxX!261
No description provided.