Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ZeeOgre opened this issue Jan 13, 2025 · 8 comments
Open
Labels
bug Something isn't working SF Creation Kit Starfield

Comments

@ZeeOgre
Copy link

ZeeOgre commented Jan 13, 2025

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
Copy link
Author

ZeeOgre commented Jan 13, 2025

in addition the produced .tifs were corrupted

the custom logo each one had was scrambled.

@Perchik71
Copy link
Owner

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 Perchik71 added the invalid This doesn't seem right label Jan 13, 2025
@Perchik71
Copy link
Owner

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

@Perchik71 Perchik71 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 13, 2025
@Perchik71 Perchik71 reopened this Jan 13, 2025
@Perchik71
Copy link
Owner

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

@ZeeOgre
Copy link
Author

ZeeOgre commented Jan 13, 2025

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.

@Perchik71
Copy link
Owner

@Perchik71 Perchik71 added the SF Creation Kit Starfield label Jan 14, 2025
Perchik71 added a commit that referenced this issue Jan 25, 2025
SF:
- Fixed crash by generation icons #107, disable patch CrashDump, so that it doesn't catch exceptions during these operations.
@Perchik71
Copy link
Owner

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 Perchik71 reopened this Jan 25, 2025
@Perchik71 Perchik71 added bug Something isn't working and removed invalid This doesn't seem right labels Jan 25, 2025
@Perchik71
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SF Creation Kit Starfield
Projects
None yet
Development

No branches or pull requests

2 participants