Without VICTORY_BCPACK_TABLES, textures turn to square noise and only one log line says why #385
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Imported from TaynanGT/Vice-Tay. Originally posted by cafeoh on 2026-11-27T22:42:16Z.
Since #366 the BCPack tables are no longer bundled (right call, asset policy). But when the file isn't set, the game still runs, and many textures come out as square block noise: faces (they look wet or garbled), clothes, walls.
On our run (RTX 2080 Ti, Series S,
main014825837) the only sign was one warning line early in the log. It looks like a rendering bug, so testers will likely report it as one. We did, at first.Ideas, any one would help:
play.ps1checks the path at launch and stops, or prints a clear warning, when it's missing;With the tables set, the noise is gone on the same save and settings.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:37:36Z.
Thanks for isolating the block noise to the missing BCPack tables with the same save and settings. #391 addresses the warning and documentation. This should be distinguished from shader or material corruption that persists with valid tables configured.
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-30T06:50:02Z.
I investigated a bit
The assets are packed with a format that requires the table, which is a Microsoft asset, to decode it
So it's a licensing trap essentially...
Supplying it means licensing issue not supplying it means assets decoding issues
I got an idea though, statistical models might be able to guess it, or we might be able to infer it
After all validation is easy to get with sha
Let me investigate for a solution for this issue
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-30T07:10:02Z.
Follow-up on whether the tables can be avoided:
Edit: an earlier version of this comment cited 2.4% (BC7) and 12.8% (BC5) exact blocks as the result of fitting. Those figures were measured with the dictionaries left empty, not fitted.
So today the options stay as they are: user-supplied tables, with #391's warning at launch and #465's validation, or shipping the file as a documented exception as upstream VIctory does. A one-time local calibration that fits the tables from the user's own game files could give approximate textures without the file. I'm checking whether the game data holds enough exact ground truth to make that worthwhile.
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-30T08:29:12Z.
Update: the game data doesn't hold an exact copy of the tables (no texture is stored both BCPack-packed and plain), but BC1's tables can be fitted from it closely. #466 adds
victory bcpack-fit, which the launchers run once (about two minutes). WithoutVICTORY_BCPACK_TABLES, BC1 textures then decode close to the console: held out, a median of 36.5 dB against the next mip, where plain textures reach 37.7 dB. That covers about 31,000 of the roughly 32,400 BCPack textures in GTA VI's stores. BC3–BC7 (mostly BC7) still need the format tables and still show as block noise without them.Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:00:52Z.
mainhas moved to a new line of the code and everything is now named Vice-Tay:vice-tay.exe play, andVICE_TAY_*switches instead ofVICTORY_*(details in #468). Could you check whether this still happens on the currentmainand say so here, with a log if you can?Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T20:16:02Z.
This is fixed by construction now - the tables ship with the build.
crates/vice-tay-formats/src/bcpack.rshasTables::builtin(), which isinclude_bytes!("bcpack-tables.bin"). There's no file to point at any more andVICE_TAY_BCPACK_TABLESonly exists as a test variable for comparing against reference chunks. So the failure mode you described - the game runs, textures come out as square block noise, one warning line early in the log - can't happen for want of the tables.You were right that it was going to get reported as a rendering bug, and it was. Worth saying what settled it: the models, the index rank tables, the BC7 control codes and the dictionaries are constants of the format, not the game's data, so they can live in the repo.
If you see square block noise on a current build, that's a different bug and worth its own report - with the log, since the cause would be somewhere else entirely.