Project

General

Profile

Actions

Emulator Issues #13328

closed

Textures don't load on Windows when the path has special characters in it

Added by iwubcode 9 months ago. Updated 9 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Windows
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-19918

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..)

Actions #1

Updated by JosJuice 9 months ago

  • Status changed from New to Fixed
  • Fixed in set to 5.0-19918
  • Operating system Windows added
  • Operating system deleted (N/A)
Actions

Also available in: Atom PDF