feat(build): Intel XeSS in the build settings: the build fetches Intel's libxess.dll under Intel's licence #110
No reviewers
Labels
No labels
area/build
area/install
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!110
Loading…
Reference in a new issue
No description provided.
Delete branch "nyannoying/LongshotLauncher:feat/xess-switch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Longshot's Intel XeSS (Longshot#459) runs only once Intel's
libxess.dllis beside the game, and today a player has to find Intel's file alone. This adds an Intel XeSS switch to the build settings: the build fetches Intel's library under Intel's licence, as the DLSS and FSR 4 switches do for theirs.It needs Longshot#459, which adds
make_game.py --fetch-xess-runtime --accept-intel-licenseandscripts/xess_sdk.py. Until a version's tools carry that script, the switch can't be turned on and says "This version can't fetch it yet." (MakeGameCommand.XessBuilds), so the order of the two merges doesn't break a build.Rebased onto #111: XeSS gets the same treatment as DLSS and FSR 4 there. It turns on whatever the GPU, and its line is red on a PC without Intel graphics.
What changed
SystemInfo.XessRuns). As with DLSS and FSR 4 since #111, it turns on whatever this PC's cards, and its line says "This PC has no Intel graphics." in red where no card is Intel's (Upscalers.Unsupported). It is locked only where this version's tools can't fetch Intel's library. Turning it on shows Intel's licence first (LicenceOf.Intel:libxess.dll2.0.2.68, signed by Intel, from github.com/intel/xess at de0fb9c1, under the Intel Simplified Software License). Both are remembered insettings.json(Xess,XessLicense), and a tick saved without the licence is not one. Linux gets no row: Intel makes no XeSS library for it.Upscalers.Chosenpasses the switch as the player set it.make_game.pygets--fetch-xess-runtime --accept-intel-license, andLONGSHOT_XESS_SDKis set to the launcher'sxess-sdkfolder (one set on the PC is not passed on, as with the DLSS and FSR folders). make_game.py then putslibxess.dll,LICENSE-INTEL-XESS-SDK.txtandTHIRD-PARTY-INTEL-XESS-SDK.txtinto the game folder. When this version's tools can't fetch it, the build log says so and the folder gets none. The settings line saysXeSS (no card here runs it)as #111's does for the others.XeSS on,asked, not fetchedoroffin the report.LicenceViewModeltakesLicenceOf { Nvidia, Amd, Intel }instead of a bool.--longshotlicence check name XeSS.How it was tested
On Windows 11 with an Intel Arc B580, on
8954181(main57237ec), in a worktree checked out with LF line endings (withcore.autocrlf=true, the release fixtures' signature check fails on main too, as #111 notes):python -I tests/test_launcher_core.py --longshot <Longshot#459 at 6a7f71be>: 1286 checks passed, the licence's commit matched againstscripts/xess_sdk.py'sCOMMIT. Against Longshot main (bbe7a078, noxess_sdk.py): 1286 passed, the XeSS licence check skipped. A copy ofxess_sdk.pywith another commit fails it.python -I tests/test_release.py: 31 tests OK.dotnet build LongshotLauncher.slnx --configuration Release -p:RestoreLockedMode=true -warnaserror: 0 warnings, 0 errors (SDK 10.0.403 here:global.json's 10.0.404 was lowered for the runs only, not committed).xess_sdk.py, without the licence, or on LinuxUpscalerschecks with XeSS: fetched on a PC without Intel graphics, red only without an Intel cardXessRunstools/screenshotsscenessettings-windows-intel,xess-licence(new) andsettings-windows-unsupported, drawn on8954181.Not run:
mise run ci:smoke(no mise on this PC; its build andtest_release.pyare above, and no shell script changed), and a whole build through the launcher with the switch on (it would prepare this card's shaders again). Longshot#459's own checks cover the fetch: 26 s, each file matched its SHA-256.🤖 Generated with Claude Code
730da6a64f8954181546Rebased onto main
57237ec(#111), head8954181. XeSS now works as #111 made DLSS and FSR 4 work: the switch turns on whatever the GPU, its line is red without Intel graphics, andUpscalers.Chosenpasses it to the build. The core tests give 1286 checks passed andtest_release.py31 OK. The description and screenshots are updated.