Generating workshop/inventory/shipbuilder icons fail if CKPE is loaded
Generating icons:
Inventory Icons: CreationKit.exe -GenerateInventoryIcons:yourespname.esm Workshop Icons: CreationKit.exe -GenerateWorkshopIcons:yourespname.esm Shipbuilder Icons: CreationKit.exe -GenerateShipBuilderIcons:yourespname.esm
This will normally construct tif files in :
M:\SteamLibrary\steamapps\Source\TGATextures\Interface\ICONTYPE\MODNAME
Which you then use assetwatcher to distribute to the data\textures and an xbox folder with data\textrures under it as well (the produced dds files are different formats)
Relevant log section:
RENDERING: Packing vertex position with coordinate outside given range -- Coordinate: [-512.000000 -512.000000 0.000000] Range: 512.000000 DEFAULT: Icon #1 : Working on form:'FE000810' Block compressed textures must be multiples of 4 in size: textures/zeeogre/zeeogrelogo_1024x1024.dds DEFAULT: Icon #2 : Working on form:'FE000862' Block compressed textures must be multiples of 4 in size: textures/zeeogre/zeeogre_screen_512x512_90_color.dds Block compressed textures must be multiples of 4 in size: textures/zeeogre/zeeogrelogo_1024x1024.dds DEFAULT: Icon #3 : Working on form:'FE000863' Block compressed textures must be multiples of 4 in size: textures/zeeogre/zeeogre_screen_512x512_90_color.dds
in addition the produced .tifs were corrupted
the custom logo each one had was scrambled.
Block compressed textures must be multiples of 4 in size
For BC1, BC3, BC4, BC5, BC7 need size multiples of 4, since it is technically necessary.
https://learn.microsoft.com/en-us/windows/win32/direct3d10/d3d10-graphics-programming-guide-resources-block-compression
From the name "Block" is equal to 4x4
The error itself is a software exception, crash dump just catches it and calls CTD. It's not a big deal.
I'll leave it for now, I'll think about how to remove this window.
the challenge is that it works correctly to generate those icons when CKPE is uninstalled, so there's something squirrely happening as it handles the -Generate...icons cmdline.
The generate icons doesn't directly create the .dds, it only creates the .tif, which assetwatcher then uses the block conversion.
The situation is like this, a Bethesda dump is now appearing in my build. I deleted the mod, tried the original, and I get a dump with a similar error.
I'm marking this as a bug because need to find a solution to what's broken there.