NVIDIA Texture Tools Exporter standalone edition does not support Chinese paths

I use NVIDIA Texture Tools Exporter Standalone Edition, and when I batch convert DDS through bat, I find that Chinese paths are not supported, and using Chinese paths will report an error.

NVTT Warning: CUDA driver not found.
NVTT Warning: CUDA driver not available for CUDA runtime 11080
Processing…
Error: DDS reader reported: Was unable to open the file F:\BAT备份参考\测试\01\tamriel.32.0.0.dds for reading!

FreeImage reported: Was unable to load the file F:\BAT备份参考\测试\01\tamriel.32.0.0.dds using FreeImage (the bitmap was nullptr)!

KTX reader reported: Was unable to open the file F:\BAT备份参考\测试\01\tamriel.32.0.0.dds for reading!

Internal info: nvttui::ExporterPlugin::OpenFileFromFilename, line 1912.
Error: main(): OpenFileFromFilename(F:\BAT备份参考\测试\01\tamriel.32.0.0.dds) failed!

Hi @yemaowuxin ! Thank you for reporting this; I can confirm this is a bug. It turns out the app was using Windows’ ANSI system calls; I’ve just added a change to switch the app to using UTF-8 and UTF-16 entirely. I’ll update here once the new version with this fix is released!

Thanks!

Hi @yemaowuxin ! We’ve now released NVIDIA Texture Tools Exporter 2023.3.0, which now stores file paths using Unicode characters instead of ANSI characters. I believe this should fix this issue (and also fix the issue where file paths would sometimes be displayed garbled in error messages if they used characters outside of the system’s code page).

Thanks again for reporting this bug! Hope this helps, and let me know if you see any issues.

–Neil

Thank you very much for the reminder!