Emulator Issues #13328
closedTextures don't load on Windows when the path has special characters in it
0%
Description
Game Name?
All games
Game ID? (right click the game in the game list, Properties, Info tab)
All games
MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)
All games
What's the problem? Describe what went wrong.
Multiple of the function Dolphin relies on for texture loading use std::string to do so. I'm not a locale expert but I believe this string doesn't handle some (or all) special characters that are outside the normal ASCII range. This ends up causing errors for users who have special characters in their folder path and leads to those texture loads reporting errors.
What steps will reproduce the problem?
Assign the 'Load' folder to a folder with a special unicode character on Windows, see if the texture loads.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
5.0-19912
Is the issue present in the latest stable version?
Likely, yes.
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
Example log from user on Discord:
28:04:602 VideoCommon\Assets\DirectFilesystemAssetLibrary.cpp:222 E[Video]: Asset 'tex1_32x32_330f84ebe6b61b5f_40f4f2cdaf20dd21_9' error - failed to get last write time with error 'system:3'!
(this will likely solve itself once we move over to filesystem path everywhere..)