Skip to content

Steam Parse graphics provider root#5532

Open
HopeSuffers wants to merge 1 commit into
FEX-Emu:mainfrom
HopeSuffers:fix/steam-graphics-provider-root
Open

Steam Parse graphics provider root#5532
HopeSuffers wants to merge 1 commit into
FEX-Emu:mainfrom
HopeSuffers:fix/steam-graphics-provider-root

Conversation

@HopeSuffers

Copy link
Copy Markdown

Currently "FEXCompatTool" assumes that the rootfs provided by "STEAM_COMPAT_GRAPHICS_PROVIDER" is the parent directory of "graphics_provider.json".

This is not always correct. The Steam graphics provider manifest can specify the root path in graphics_provider_v0.root, and that path can be either absolute or relative to the manifest.

This PR parses "graphics_provider.json" and uses "graphics_provider_v0.root" when available. Relative paths are resolved against the real manifest path, while invalid/missing manifests keep the previous parent-directory fallback.

Fixes: #5434

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.

Steam/CompatManager: Should parse graphics_provider.json and decode rootfs

1 participant