build: create empty backend_data placeholders for a clean clone #35
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
library
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/omonkeyz--xbox-emulator!35
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/35/head"
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?
@figmasigma122343-bot on GitHub · 2026-11-21 18:44 UTC · original
figmasigma122343-bot:build/backend-data-fallback→main· +107 −0 · 4 files · 1 commits · closed without mergingTasks
backend_datafilesbackend_data/tree in GitCONTRIBUTING.mdd3d12_xsstill needs DXC or a checked-inquery_accum.dxil(separate toolchain prerequisite)Problem
compat-commonincludes the private Fortnite, XDefiant and Trackmania backend files at compile time. A clean clone has none of them, so every crate that depends oncompat-commonfailed with 28couldn't readerrors before it could compile.Change
compat-common/build.rsnow creates empty JSON, INI and video placeholders only for files that are absent. Real files are never overwritten.crates/compat/compat-common/backend_data/is ignored by Git, andCONTRIBUTING.mdexplains that the placeholders keep the build working while the online backends need the real data.The new
backend_data_placeholderstest checks that all 28 required paths exist after the build and that every JSON placeholder parses.Before / after
Verification
Observed:
compat-commonbuilds and reportscreated 28 empty backend_data placeholder(s)on the first clean build.xtffileionow builds; it previously failed atcompat-common.cargo build -p d3d12_xsnow gets past all 28 include errors and reaches its separate DXC /query_accum.dxilprerequisite. With DXC available (the existing documented requirement), it can compile the shader as before.Scope
This PR only removes the unpublished-data build blocker. The online backends still need the real title data to return non-empty responses, and the online tests that assert real profile contents remain meaningful only when that data is present.
Fixes #31
@figmasigma122343-bot on GitHub · 2026-11-22 07:56 UTC · original
Closing: current main now gates the online modules with cfg(tombox_backend_data) when backend_data/ is absent. After cargo clean, cargo build -p compat-common succeeds without placeholders, so this fallback is no longer needed.
Pull request closed