DDS texture inspection ### DDS texture inspection These findings check the DDS header, format, dimensions, mipmaps and payload before texture use or export. Fatal findings refuse unsafe data. Re-export from the original texture with a supported format and complete mip chain; check truncated files and free disk space. Preserve technical maps. Informational findings such as a valid payload or a required PATHC registration describe the format and are not corruption reports. **`bad_dimensions`** - `DDS dimensions are invalid: {width}x{height}.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`bad_header_size`** - `DDS header size is {header_size}, expected 124.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`bad_magic`** - `DDS magic is missing.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`bad_pixel_format_size`** - `DDS pixel format size is {pf_size}, expected 32.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`depth_zero`** - `DDS depth field is 0; preserve the target template/PATHC context for Crimson replacements.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`dx10_header_too_short`** - `DDS declares a DX10 header, but the 20-byte DX10 payload is missing.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`effective_last4`** - `Effective Crimson last4 class is 0x{effective_last4}.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`header_too_short`** - `DDS header is too short: {len(blob)} bytes.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`last4_mismatch`** - `DDS header last4 is 0x{crimson_last4_header}; expected 0x{effective_last4} for this path/format.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`mip_count_zero`** - `DDS mip count field is 0; treating it as 1.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`missing_mips`** - `DDS mip chain has {mip_count} level(s); {expected_mips} would be a full chain for {width}x{height}.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`non_power_of_two_dims`** - `DDS dimensions are not powers of two: {width}x{height}.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`overlay_patched`** - `DDS header last4 already matches 0x{effective_last4}.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`payload_size_valid`** - The accompanying detail identifies the failing value or dependency. Follow the recovery guidance for this section. **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`payload_truncated`** - The accompanying detail identifies the failing value or dependency. Follow the recovery guidance for this section. **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`requires_pathc`** - `DDS format {dds_format or dxgi_format} uses DX10 metadata and should be registered through PATHC/manifest metadata.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`unknown_alpha_layout`** - `DDS uses an unsupported alpha-only layout: bits={rgb_bit_count}.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`unknown_dxgi_format`** - `DDS uses an unknown DXGI format id: {dxgi_format}.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`unknown_fourcc`** - `DDS uses an unknown legacy FOURCC: {pretty_fourcc}.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`unknown_luminance_layout`** - `DDS uses an unsupported luminance layout: bits={rgb_bit_count}.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`unknown_pixel_format_flags`** - `DDS uses unsupported pixel format flags: 0x{pf_flags}.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) **`unknown_rgb_layout`** - `DDS uses an unsupported RGB layout: bits={rgb_bit_count}.` **Source**: [`inspection.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/core/texture_pipeline/inspection.py) CDMW 0.12.0-alpha.8