Creation-Kit-Platform-Extended icon indicating copy to clipboard operation
Creation-Kit-Platform-Extended copied to clipboard

Generating workshop/inventory/shipbuilder icons fail if CKPE is loaded

Open ZeeOgre opened this issue 11 months ago • 8 comments

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

image

ZeeOgre avatar Jan 13 '25 02:01 ZeeOgre

in addition the produced .tifs were corrupted

the custom logo each one had was scrambled.

ZeeOgre avatar Jan 13 '25 02:01 ZeeOgre

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

Perchik71 avatar Jan 13 '25 18:01 Perchik71

The error itself is a software exception, crash dump just catches it and calls CTD. It's not a big deal.

Perchik71 avatar Jan 13 '25 18:01 Perchik71

I'll leave it for now, I'll think about how to remove this window.

Perchik71 avatar Jan 13 '25 18:01 Perchik71

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.

ZeeOgre avatar Jan 13 '25 22:01 ZeeOgre

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.

Perchik71 avatar Jan 25 '25 07:01 Perchik71

I'm marking this as a bug because need to find a solution to what's broken there.

Perchik71 avatar Jan 25 '25 07:01 Perchik71