diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 13:15:22 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 13:15:22 -0500 |
| commit | 0aaa35f596eadc584e04c1b45d0f59a65d8a9d71 (patch) | |
| tree | 6e62e5bf5d8b8ac669ad20dfd5ee847c9280f5b5 /tools/tex_export.py | |
| parent | 821cc1dc234fde9ebb335d0e65ce649d31cc93c5 (diff) | |
| parent | 1a1962fcbfbc39a294ab78b14f94aee4ff5fc3f9 (diff) | |
Merge pull request #2446 from FreddyxS
Diffstat (limited to 'tools/tex_export.py')
| -rw-r--r-- | tools/tex_export.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tex_export.py b/tools/tex_export.py index c3d2d9e98..46d6dca3e 100644 --- a/tools/tex_export.py +++ b/tools/tex_export.py | |||
| @@ -13,8 +13,8 @@ For each texture: | |||
| 13 | - writes <out>/<archive>/<cpu blob>_<q index>_<WxH>_<format>.dds and records the choice in export_log.json, | 13 | - writes <out>/<archive>/<cpu blob>_<q index>_<WxH>_<format>.dds and records the choice in export_log.json, |
| 14 | with "heuristic": true whenever two distinct placements fitted (the pick is a score, not a verified layout) | 14 | with "heuristic": true whenever two distinct placements fitted (the pick is a score, not a verified layout) |
| 15 | - with --png, also writes the same path with .png for every texture tools/dds_png.py can decode (BC1-BC5, BC7 | 15 | - with --png, also writes the same path with .png for every texture tools/dds_png.py can decode (BC1-BC5, BC7 |
| 16 | and 8-bit RGBA/BGRA, stored values with no sRGB transfer; the blue channel of BC5 is a reconstructed normal Z). | 16 | and 8-bit RGBA/BGRA or R10G10B10A2_UNORM, with no sRGB transfer; BC5 blue is a reconstructed normal Z). |
| 17 | The rest (BC6H and every other uncompressed format: R8, R8G8, 16-bit, R10G10B10A2, float, integer) keep their | 17 | The rest (BC6H and other uncompressed formats: R8, R8G8, 16-bit, float, integer) keep their |
| 18 | DDS only and are counted as "png unsupported". A PNG that fails to decode or write is counted as | 18 | DDS only and are counted as "png unsupported". A PNG that fails to decode or write is counted as |
| 19 | "png error:<Type>" and its DDS stays; neither changes the exit code | 19 | "png error:<Type>" and its DDS stays; neither changes the exit code |
| 20 | 20 | ||