Load BCPack format tables from a local file #366

Manually merged
github merged 1 commit from github-bot/gh-366 into gh-pr/366/base 2026-11-27 20:07:36 +00:00 AGit
Owner

@⁠TaynanGT on GitHub · 2026-11-27 19:57 UTC · original
TaynanGT:fix/load-bcpack-tables-locally → main · +89 −102 · 7 files · 1 commits · merged 2026-11-27 20:02 UTC

I removed the bundled BCPack format tables. For titles that use BCPack, point VICTORY_BCPACK_TABLES at a local copy you are authorised to use. The decoder tests use generated tables by default, and the repository policy rejects binary files.

The 13 BCPack tests, the DirectStorage BCPack test and the repository asset-policy test passed. I also checked that the runtime builds without the tables.

**@⁠TaynanGT** on GitHub · 2026-11-27 19:57 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/366) `TaynanGT:fix/load-bcpack-tables-locally` → `main` · +89 −102 · 7 files · 1 commits · merged 2026-11-27 20:02 UTC I removed the bundled BCPack format tables. For titles that use BCPack, point `VICTORY_BCPACK_TABLES` at a local copy you are authorised to use. The decoder tests use generated tables by default, and the repository policy rejects binary files. The 13 BCPack tests, the DirectStorage BCPack test and the repository asset-policy test passed. I also checked that the runtime builds without the tables.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 20:01:46 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-27 19:57 UTC · original · edited 2026-11-27 20:00 UTC

Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T19:59:32.221020Z 916321e PR opened
🔒 Security Review ✅ Completed 2026-11-27T20:00:28.303344Z 916321e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review" or "@⁠codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-27 19:57 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/366#issuecomment-7227037933) · edited 2026-11-27 20:00 UTC <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"916321e42b6e838fa5a1c62da008f1ea442508ff","has_any_findings":true,"has_unresolved_findings":true,"status":"completed"},"security_review":{"commit_sha":"916321e42b6e838fa5a1c62da008f1ea442508ff","has_any_findings":null,"has_unresolved_findings":null,"status":"completed"}} --> <!-- codex-security-review:v1 {"blockingSeverityThreshold":"P0","headSha":"916321e42b6e838fa5a1c62da008f1ea442508ff","mergeGateEnabled":false,"pullRequestNumber":366,"repository":"TaynanGT/Vice-Tay","status":"completed"} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-27T19:59:32.221020Z">2026-11-27T19:59:32.221020Z</relative-time> | `916321e` | PR opened | | 🔒 **Security Review** | ✅ **Completed** <relative-time datetime="2026-11-27T20:00:28.303344Z">2026-11-27T20:00:28.303344Z</relative-time> | `916321e` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review" or "@⁠codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-27 19:59 UTC · original · reviewed

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 916321e42b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@⁠codex address that feedback".

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-27 19:59 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/366#pullrequestreview-6092857221) · **reviewed** <!-- codex-review-receipt:v1 --> ### 💡 Codex Review Here are some automated review suggestions for this pull request. **Reviewed commit:** `916321e42b` <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@⁠codex address that feedback". </details>
@ -1518,1 +1517,3 @@
Tables::builtin().map_err(|e| format!("the built-in BCPack tables: {e}"))
let path = std::env::var_os("VICTORY_BCPACK_TABLES")
.ok_or("set VICTORY_BCPACK_TABLES to the path of your local BCPack format tables")?;
read_bcpack_tables(std::path::Path::new(&path))
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-27 19:59 UTC · original

P1 Badge Preserve the BCPack tables variable in the launcher

When a user sets VICTORY_BCPACK_TABLES and launches through the documented scripts/play.ps1 or Play-VIctory.cmd flow, scripts/play.ps1:263–265 removes the variable because it is absent from the preserved $paths list. This loader then reports missing tables and every BCPack request fails, even though the user supplied a valid file as instructed. Add VICTORY_BCPACK_TABLES to the launcher's preserved path variables so the standard launch flow can use the newly required external tables.

Useful? React with 👍 / 👎.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-27 19:59 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/366#discussion_r4723230138) **<sub><sub>![P1 Badge](https://img.shields.io/badge/P1-orange?style=flat)</sub></sub> Preserve the BCPack tables variable in the launcher** When a user sets `VICTORY_BCPACK_TABLES` and launches through the documented `scripts/play.ps1` or `Play-VIctory.cmd` flow, `scripts/play.ps1:263–265` removes the variable because it is absent from the preserved `$paths` list. This loader then reports missing tables and every BCPack request fails, even though the user supplied a valid file as instructed. Add `VICTORY_BCPACK_TABLES` to the launcher's preserved path variables so the standard launch flow can use the newly required external tables. Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
github-bot changed target branch from main to gh-pr/366/base 2026-11-27 20:07:34 +00:00
github manually merged commit 916321e42b into gh-pr/366/base 2026-11-27 20:07:36 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.