Move game_data to RW directory inside user folder for linux

This commit is contained in:
Live session user 2024-07-13 16:19:02 -07:00
parent 83c8204d23
commit a1fbab5de7
5 changed files with 14 additions and 13 deletions

View file

@ -48,7 +48,7 @@ bool TRP::Extract(std::filesystem::path trophyPath) {
return false;
s64 seekPos = sizeof(TrpHeader);
std::filesystem::path trpFilesPath(std::filesystem::current_path() / "game_data" /
std::filesystem::path trpFilesPath(std::filesystem::current_path() / "user/game_data" /
title / "TrophyFiles" / it.path().stem());
std::filesystem::create_directories(trpFilesPath / "Icons");
std::filesystem::create_directory(trpFilesPath / "Xml");
@ -88,4 +88,4 @@ bool TRP::Extract(std::filesystem::path trophyPath) {
index++;
}
return true;
}
}