-legacypvr not working on PVRTexToolCL.exe, works on GUI

This topic contains 2 replies, has 2 voices, and was last updated by  andreasp79 4 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31095

    andreasp79
    Member

    When I run PVRTexToolCL.exe with the -legacypvr flag, I still get a PVR 3 data format (first 3 chars in the file are ‘PVR’, instead of the header size like in PVR 2). Processing the exact same image from the GUI (Save as legacy option) correctly outputs PVR2 data.

    Does the GUI use the command line tool internally? Is there a way to do from the command line what the GUI does?

    #36474

    Hi Andreas,

    This could be because it’s invoking the wrong command line – if you mix old and new arguments, it will attempt to use the old command line, which unfortunately uses -pvrlegacy, instead of -legacypvr. This means that the argument will be ignored, and you’ll get out a PVR3 file regardless.

    Thanks,
    Tobias

    #36475

    andreasp79
    Member

    Thanks – I couldn’t get -pvrlegacy to work either, but replacing -fPVRTC4 with -f PVRTC1_4 in my command line fixed this.

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.