Say at launch when the BCPack tables are missing #391

Closed
Garu667 wants to merge 660 commits from upstream-pr/391 into main
Garu667 commented 2026-11-28 01:23:18 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by Garu667 on 2026-11-28T01:23:18Z.


Fixes #385.

Without VICTORY_BCPACK_TABLES, the title still runs, but its BCPack textures (faces, clothes, walls) show as square block noise. The only sign was one warning line early in the log. On an RTX 3080 we took it for a texture regression too: since #366, every one of our runs on 0148258 had that warning and those faces.

Where Change
scripts/play.ps1 Warns at launch when the variable is unset or does not point to a file. The launch goes on.
dstorage.rs The one runtime warning now says the textures show as square block noise.
README.md The setup line says what happens without the tables.

Checks: the PowerShell parser reports no errors in play.ps1, and cargo check -p victory-hle passes. Nothing changes when the tables are set.

🤖 Generated with Claude Code

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5535334218 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/391). Originally posted by [Garu667](https://github.com/Garu667) on 2026-11-28T01:23:18Z. --- Fixes #385. Without `VICTORY_BCPACK_TABLES`, the title still runs, but its BCPack textures (faces, clothes, walls) show as square block noise. The only sign was one warning line early in the log. On an RTX 3080 we took it for a texture regression too: since #366, every one of our runs on `0148258` had that warning and those faces. | Where | Change | | --- | --- | | `scripts/play.ps1` | Warns at launch when the variable is unset or does not point to a file. The launch goes on. | | `dstorage.rs` | The one runtime warning now says the textures show as square block noise. | | `README.md` | The setup line says what happens without the tables. | Checks: the PowerShell parser reports no errors in `play.ps1`, and `cargo check -p victory-hle` passes. Nothing changes when the tables are set. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
TaynanGT commented 2026-11-29 11:37:29 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:37:29Z.


Thanks for making the missing-table warning visible without preventing launch. Please keep the launcher, runtime warning and README consistent, and confirm that an invalid path is reported as well as an unset variable. The tables themselves should remain external under the existing asset policy.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7255238283 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/391#issuecomment-7255238283). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-29T11:37:29Z. --- Thanks for making the missing-table warning visible without preventing launch. Please keep the launcher, runtime warning and README consistent, and confirm that an invalid path is reported as well as an unset variable. The tables themselves should remain external under the existing asset policy.
Garu667 commented 2026-11-29 13:27:45 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by Garu667 on 2026-11-29T13:27:45Z.


Checked: the launcher warns when the variable is unset, points to a missing file, or points to a folder (exercised the launcher block alone). At runtime, by code reading, an unreadable path logs "read BCPack tables: ..." and a bad file logs "invalid BCPack tables: ..." on the first BCPack request. The launcher only checks that the file exists, not its contents.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7256555390 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/391#issuecomment-7256555390). Originally posted by [Garu667](https://github.com/Garu667) on 2026-11-29T13:27:45Z. --- Checked: the launcher warns when the variable is unset, points to a missing file, or points to a folder (exercised the launcher block alone). At runtime, by code reading, an unreadable path logs "read BCPack tables: ..." and a bad file logs "invalid BCPack tables: ..." on the first BCPack request. The launcher only checks that the file exists, not its contents.
TaynanGT commented 2026-11-29 14:39:05 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T14:39:05Z.


Thanks for checking unset, missing-file and directory paths separately. A file-existence check in the launcher and content validation at runtime are the right distinction. The tables remain external; the warning and README should explain the visible texture corruption without preventing launch.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7257468949 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/391#issuecomment-7257468949). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-29T14:39:05Z. --- Thanks for checking unset, missing-file and directory paths separately. A file-existence check in the launcher and content validation at runtime are the right distinction. The tables remain external; the warning and README should explain the visible texture corruption without preventing launch.
TaynanGT commented 2026-11-30 17:10:06 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:10:06Z.


main has moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the current main and open a new PR; I'll review it there.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7285826063 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/391#issuecomment-7285826063). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T17:10:06Z. --- `main` has moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the current `main` and open a new PR; I'll review it there.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
TaynanGT/Vice-Tay!391
No description provided.