Skip to content

*.png gwent icon files/images exported from texture.cache seem to be broken #30

@exploiteddna

Description

@exploiteddna

Issue

Exporting images from texture.cache, specifically png "icon" files, the images/textures that are used for in-game Gwent cards. Resulting files are missing color data, corrupt, etc. ... not entirely sure what's wrong but something isn't right. Sometimes it will only extract a png image that is a single pixel with a color value of (255,0,255) Check screenshot here: screenshot or see attached files (both examples attached)... have tested this on multiple texture.cache to ensure it was reproducible on other texture.cache files containing gwent card textures/images -- these assets are found at
...\gameplay\gui_new\icons\gwint*.png or the analogous paths for a few DLCs

"Missing color" example
neu_dandelion
Single pixel example
neu_avallach_dlc

Steps to reproduce

Open WKit, Create new mod project, Open "Lexar" mode asset explorer, select Texture Cache, navigate to texture.cache from a mod, Mark the files you want to export, select the 'export' and 'unbundle' checkboxes at the bottom of the dialogue box, select 'Add to mod', wait for the assets to be extracted from texture.cache and added into project files (/files/Mod/Uncooked/*)

Actual Result

Files were extracted and added to mod, but the images (png format) are broken, perhaps missing a color channel. See linked image here (same as above): https://i.imgur.com/n84vVczl.png

Expected result

I expect to have the images with proper color data so they can be used to tweak mod, make fixes, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions