Skip to content

Codewalker has issues loading and exporting ATI2 dds files #340

@IMCraytex

Description

@IMCraytex

Codewalker seems unable to properly read and export ATI2 dds files, In the RPF Explorer when trying to view one we get this error :
Error reading texture mip: System.Exception: Mipmap not in texture!
at CodeWalker.Utils.DDSIO.GetPixels(Texture texture, Int32 mip)
at CodeWalker.Forms.YtdForm.ShowTextureMip(Texture tex, Int32 mip, Boolean mipchange)

And upon exporting we get a corrupted dds file that is half the size of what it should be
Comparison OPENIV exports at 1.33 mb with a fully working file, Codewalker exports at 600kb and a broken file.

And when just getting the Data.FullData it still throws out an uncomplete dds file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions