Store: licences for owned add-ons via LARP_OWNED + "I own the Ultimate Edition" option (from CNF upstream) #523

Open
github-bot wants to merge 3 commits from github-bot/gh-523 into main AGit
Owner

@⁠wh1trope on GitHub · 2026-12-06 01:50 UTC · original
wh1trope:feature/larp-owned → main · +69 −8 · 14 files · 3 commits · open

Summary

Ports the XStore licence change from CNF's latest official source release: add-ons the user owns on their console account can be listed in LARP_OWNED and get a valid licence. Adds a menu option so owners don't have to edit the launcher.

  • Menu option at the top of the first tab: Display → Edition → I own the Ultimate Edition, off by default. On, the layer sets LARP_OWNED to the Ultimate Edition Upgrade's store id (9PN4LLBR8RCH) at the next start. Translated to all 9 languages.
  • LARP_OWNED: comma-separated store ids. Only the ids listed are granted, nothing by pattern. If it is already set (e.g. in launch.ps1), the menu option does not override it.
  • Unset and option off: behaves exactly as before (no add-ons owned).
  • Every durable id the game asks about is logged once with the answer, so the ids can be read from the log.
  • Documented in docs/environment-variables.md.

The code in xstore.rs is CNF's version unchanged.

Testing

  • cargo build --release -p larp.
  • Series X profile, nothing set: the log shows one store: durable licence asked line per id the game asks for (9PN4LLBR8RCH, 9PLVSSH8849X), both owned=false.
  • With LARP_OWNED=9PN4LLBR8RCH: 9PN4LLBR8RCH owned=true, 9PLVSSH8849X owned=false.

🤖 Generated with Claude Code

**@⁠wh1trope** on GitHub · 2026-12-06 01:50 UTC · [original](https://github.com/gamingwithhomie/larp/pull/523) `wh1trope:feature/larp-owned` → `main` · +69 −8 · 14 files · 3 commits · open ## Summary Ports the XStore licence change from CNF's latest official source release: add-ons the user owns on their console account can be listed in `LARP_OWNED` and get a valid licence. Adds a menu option so owners don't have to edit the launcher. - **Menu option** at the top of the first tab: **Display → Edition → I own the Ultimate Edition**, **off by default**. On, the layer sets `LARP_OWNED` to the Ultimate Edition Upgrade's store id (`9PN4LLBR8RCH`) at the next start. Translated to all 9 languages. - `LARP_OWNED`: comma-separated store ids. Only the ids listed are granted, nothing by pattern. If it is already set (e.g. in `launch.ps1`), the menu option does not override it. - Unset and option off: behaves exactly as before (no add-ons owned). - Every durable id the game asks about is logged once with the answer, so the ids can be read from the log. - Documented in `docs/environment-variables.md`. The code in `xstore.rs` is CNF's version unchanged. ## Testing - `cargo build --release -p larp`. - Series X profile, nothing set: the log shows one `store: durable licence asked` line per id the game asks for (`9PN4LLBR8RCH`, `9PLVSSH8849X`), both `owned=false`. - With `LARP_OWNED=9PN4LLBR8RCH`: `9PN4LLBR8RCH owned=true`, `9PLVSSH8849X owned=false`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Ports the XStore change from CNF's latest official source: durables named
in LARP_OWNED (comma-separated store ids, such as 9PN4LLBR8RCH, the
Ultimate Edition Upgrade) get a valid licence; unset, nothing changes.
Every id the game asks about is logged once with the answer.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-06 01:54:26 +00:00
github-bot changed title from Store: licences for owned add-ons via LARP_OWNED (from CNF upstream) to Store: licences for owned add-ons via LARP_OWNED + "I own the Ultimate Edition" option (from CNF upstream) 2026-12-06 02:01:53 +00:00
Display -> Edition: on, the layer sets LARP_OWNED to the Ultimate Edition
Upgrade's store id at the next start, so owners need not edit the launcher.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/523/head:github-bot/gh-523'
git switch 'github-bot/gh-523'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-523'
git switch 'github-bot/gh-523'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-523'
git switch 'github-bot/gh-523'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-523'
git switch 'main'
git merge --squash 'github-bot/gh-523'
git switch 'main'
git merge --ff-only 'github-bot/gh-523'
git switch 'main'
git merge 'github-bot/gh-523'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.