Skip to content

control-center: find GE-Proton 11-12+ in its -x86_64 folder, check the sha512 - #132

Merged
MTSistemi merged 1 commit into
mainfrom
fix/cc-ge-proton-folder-and-checksum
Nov 15, 2026
Merged

MTSistemi merged 1 commit into
mainfrom
fix/cc-ge-proton-folder-and-checksum

Conversation

@MTSistemi

Copy link
Copy Markdown
Owner

What

The Games page of the Control Center:

  • maps a GE-Proton release to the folder it is actually installed in;
  • checks the downloaded tarball against the .sha512sum GloriousEggroll publishes next to it, before unpacking anything.

Why

From GE-Proton11-12 the tarball unpacks into GE-Proton11-12-x86_64 instead of GE-Proton11-12. The page compared the release name with the folder name, so after an install it showed the release as "not installed" and added a second row for the folder. "Install" then downloaded the same ~540 MB again, and "Default" on the release row asked to install it first.

cartella_di() maps a release to its folder (its own name, or name-x86_64). The list shows one row per release; Remove and Default work on the folder, which is the name Heroic and Steam know. A release without a .sha512sum installs as before; a mismatch is never unpacked. The two new strings are in the seven dictionaries.

Tests

  • tests/test_cc_proton_folder.py (new, 4 tests): old and new folder layouts, not installed, no prefix match.
  • On bc250-dev, the real page module, offscreen:
    • live GitHub list: 15 releases, 15 with a sha512;
    • the page's own download thread for GE-Proton11-12 into a temp folder: right checksum → unpacked into GE-Proton11-12-x86_64 and seen as installed; wrong checksum → refused, nothing unpacked;
    • the Games page rendered with the released and the patched module. Released: GE-Proton11-12 · non installata plus an extra GE-Proton11-12-x86_64 · installata in Heroic row. Patched: one row, GE-Proton11-12 · 540 MB · installata in Heroic; the other releases unchanged.

…e sha512

From GE-Proton11-12 the tarball unpacks into GE-Proton11-12-x86_64 instead
of GE-Proton11-12. The Games page compared the release name with the folder
name, so after an install it showed the release as "not installed" next to a
second row for the folder; "Install" downloaded the same 500 MB again and
"Default" on the release row asked to install it first.

cartella_di() maps a release to the folder it is in (its own name, or
name-x86_64). The list shows one row per release, and Remove and Default
work on the folder, which is the name Heroic and Steam know.

The download is now checked against the .sha512sum GloriousEggroll
publishes next to each tarball before anything is unpacked; a release
without one installs as before. The two new strings are in the seven
dictionaries.
@MTSistemi
MTSistemi merged commit fa07ac8 into main Nov 15, 2026
5 checks passed
@MTSistemi
MTSistemi deleted the fix/cc-ge-proton-folder-and-checksum branch November 15, 2026 10:14
MTSistemi added a commit that referenced this pull request Nov 15, 2026
#133)

* control-center, remote-manager: FreeFG frame generation per game

FreeFG (daniel-h-0, MIT) adds Intel's XeSS frame generation with shaders
written for the BC-250, plus FSR 4, through OptiScaler, one game at a time.
Measured on bc250-dev, Cyberpunk 1080p: 130-133 fps shown against a bench
median of 90.7, 1% lows 30-34; the game's own rate stays near 65.

sfcc/freefg.py (no Qt) does the work and is run as a separate process, as
the desktop user, by the Games page, by the Remote Manager and by the new
skillfish-freefg command:
- the release is pinned (1.4.0) with its sha256 and unpacked with bsdtar
  into ~/.local/share/skillfish/freefg; libarchive-tools is recommended;
- the game list is FreeFG's own scan (Steam, Heroic stores) plus Heroic's
  sideloaded games, each with FreeFG's verdict;
- installing first sets PROTON_USE_OPTISCALER and PROTON_FSR4_UPGRADE to 0
  in that game's launcher entry, keeping what was there: our FSR 4 switch
  sets them to 1 launcher-wide, and GE-Proton would then load its own
  OptiScaler as dxgi.dll over FreeFG's. GE reads them with nonzero(), and
  the entry wins over the flatpak override. Then FreeFG installs with its
  BC-250 FSR 4, the automatic input and never NVIDIA's DLL. Removing runs
  FreeFG's restore and puts the entry back as it was.

The Games page gets a Frame generation card (download, game list with the
verdict, install, remove); web/giochi.html gets the same panel. The daemon
runs freefg.py through runuser as the desktop user and accepts a game only
if it is in the list FreeFG returns, never a free path from the network.

The Control Center dictionaries are merged into the shared ones with
unisci-i18n.py: the FreeFG strings, the two from the GE-Proton fix (#132)
that had not reached them, and one older AI string. Only additions; the
tool sorts the files.

Tested on bc250-dev: download and hash, list (5 games), install into
Cyberpunk with GE FSR 4 on launcher-wide and in the game, one launch (GE
stays out: PROTON_*=0 in the game's environment, FreeFG active), one bench
run (132.1 fps), removal (Heroic entry byte-identical to before, no FreeFG
file left, 0 GPU errors). The dashboard functions run as root: refusal of
a path outside the list and of an unknown action, install and remove,
files owned by the user. Card rendered offscreen. tests/test_cc_freefg.py
covers the entry edits and the pinning.

* Release 26.11.3: notes in 9 languages, site news, SECURITY.md

skillfish-base: the GPU sampler no longer races the driver's SMU mailbox
(#130). skillfish-control-center: FreeFG frame generation, GE-Proton 11-12
folder and checksum (#132). Remote Manager: FreeFG on the web Games page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant