mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #2699] [MERGED] Fix support for unicode paths for game install directories #2921
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2921
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/2699
Author: @k3dr1
Created: 3/28/2025
Status: ✅ Merged
Merged: 3/28/2025
Merged by: @georgemoralis
Base:
main← Head:main📝 Commits (9)
f1b8dffSlightly changed how allInstallDirsDisabled is determined5c53bebMerge branch 'main' of github.com:k3dr1/shadPS4d2aa912Show a dialog only if no game directories are set6856323Changed a comment55f6babFixed formatting118da16Support for unicode paths for game install directories0d87505Merge branch 'shadps4-emu:main' into main3c7c324Fixed game picture path conversion310c805Merge branch 'main' of github.com:k3dr1/shadPS4📊 Changes
3 files changed (+4 additions, -3 deletions)
View changed files
📝
src/common/config.cpp(+1 -1)📝
src/qt_gui/game_list_frame.cpp(+2 -1)📝
src/qt_gui/settings_dialog.cpp(+1 -1)📄 Description
Addressing Issue 2378, namely not supporting unicode characters in the path to game install folders. Toml already stores them correctly, so by just changing the toml::find_or<> template to std::u8string we can read them correctly (relevant https://github.com/ToruNiina/toml11/issues/104). This is fine because the install paths get turned into std::filesystem::path anyway.
Before:

After:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.