I'm getting errors when running some etcpack.exe processes at the same time. It seems the processes use the same temporary file (tmp.ppm) therefore cannot access this file in a parallel way.
Could anybody please help me?
The error log:
[malitc-11]Mipmap level: 0
[malitc-1]Compressing. Output file: Z:\Projects\game\build\..\release\textures_android\ice_zone08_props_lm.ktx
error: Could not open file tmp.ppm
error: Could not read tmp.ppm file.
Hi katatunix,
This is something we are aware of. The latest version of TCT stores the temporary files in the execution directory rather than the temp directory and so as long as the two processes are started in different directories you won't have any issues.
Another (untested) workaround would be to set different temp directories for each instance of etcpack.
The 'recommended' fix, in this instance, is to not run etcpack in parallel.
Hope this helps,
Rich
For extra points, write a wrapper executable that invokes the real one with randomized temp directories!
Thank you all,
However, I really need to run etcpack in parallel. It would be great if ARM has a plan to improve this in the next versions
Thanks again for your report, as Rich Evans has already mentioned we are aware of the issue and we will take your input into account when planning new release.For the time being please try to use one of the suggested workarounds.
Cheers,
Jacek
Hi JacekIt's 2018, is this issued have been addresses, cause I found a similar issued,Regards,Bo
2019....
Just to update with the latest position on this one, we currently have no plans for new releases of Mali Texture Compression Tool, and this is not fixed in the current release although the proposed workaround works fine.