PVRTexToolGUI and ASTC Evaluation Codec

This topic contains 4 replies, has 2 voices, and was last updated by  Joe Davis 2 years, 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #51287


    Dear Forum members I’m strugeling a little bit with the combination of these 2 tools. Maybe one knows better.

    I have PVRTexTool installed and for short tests, I also enjoy the GUI editor to click my texture together.
    I have astcenc installed and working in terminal.
    I’m testing everything on a OSX machine but also need to be able to run it on Linux.

    Now 2 Questions:

    – I want to build astc textures from the GUI editor, but the Editor tells me “Error: astcenc not found. Please download and place in PATH” where does the editor search for the tool, what kind of PATH does the tool refer to, or where is this path set?

    – I like to get a pvr Texture File with PVRV3 headers but using ASTC compression, how are these 2 linked togehter, how do you get the PVRTexTool to compress with the astcenc but use its own header.

    I’m thankfull for any help or hints as I didn’t find much in the docs describing how these 2 tools work together.


    Joe Davis

    Hi Patric,

    The message is referring to the PATH environment variable. On a Unix-like OS (e.g. OS X and Linux), you can query the current PATH value with the following Terminal command:

    echo $PATH

    If you add the ASTC directory to this variable, TexTool will be able to find the compressor. You can add it to the PATH with the following command:

    export PATH=$PATH:/the/astc/directory

    Doing the above will only add it to your path for the current Terminal session. If you would like to set it permanently so TexTool can find the tool without launching TexTool from the Terminal, you can follow the steps in this guide: http://www.cyberciti.biz/faq/appleosx-bash-unix-change-set-path-environment-variable/

    I like to get a pvr Texture File with PVRV3 headers but using ASTC compression, how are these 2 linked togehter

    TexTool will use ARM’s compressor to generate the compressed image. TexTool will then generate an appropriate header for the data when it is saved out to PVR or any of the other supported container formats.

    I’ll discuss this issue with the documentation team to improve future revisions of the manual



    Hello Joe

    Thx for the fast response, but then I still have a problem, I set the evironment variable PATH for astcenc already but pvrtextool does not recognize it.


    That was the last action right before comming to cry here.
    Then I also tried to have the astcenc stored in /usr/bin/ what also works for Terminal use but both dont change anything in PVRTexToolGUI

    Anything obvious I’m missing?



    Ok as you said, environement works in Terminal, In GUI tool I dont get it working.

    PVRTexToolCLI -i myFile.png -o myFileASTC8.pvr -f ASTC_8x8 -m -q astcmedium

    Created texture works perfectly in engine and header is the PVRV3, so works for me as the whole compression goes on a linux machine anyway, GUI was just me running the Testcases.

    Thank you


    Joe Davis

    Hi Patric,

    I’ve spoken to the TexTool lead about this again. It seems that ASTC compression hadn’t been tested with the OS X PVRTexToolGUI before the release. Due to the way OS X handles environment variables, it’s a little trickier to get the GUI to find the ASTC binary compared to Windows and Linux. We’ll look into resolving this issue in a future release.

    I’ve filed feature request BRN57797 in our tracker for an option to be added to the PVRTexToolGUI Preferences dialog for the ASTC compressor path.

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