Pathfinder: Wrath of the Righteous - Enhanced Edition

Pathfinder: Wrath of the Righteous - Enhanced Edition

View Stats:
TacticaT Nov 6, 2021 @ 10:04pm
Mac OS file save location bug
The Mac version of the game has a pretty important typo in its code.

On Mac(and linux of course) the ~ character is a shortcut for the users home directory, and the Application Support folder for a user would then be in "~/Library/Application Support"

Unfortunately, there was some sort of typo, in the code where instead of passing the ~ so that it gets correctly expanded, it is actually getting passed as the un-expanded charcter.

So the game literally made a folder called "~" in my user directly (with the full support path created underneath it... so there is literally a path of "~/Library/Application Support/Owlcat Games/Pathfinder Wrath Of The Righteous/Saved Games" inside my normal ~ user profile folder :(
< >
Showing 1-1 of 1 comments
アンジェル Nov 6, 2021 @ 10:07pm 
Originally posted by TacticaT:
The Mac version of the game has a pretty important typo in its code.

On Mac(and linux of course) the ~ character is a shortcut for the users home directory, and the Application Support folder for a user would then be in "~/Library/Application Support"

Unfortunately, there was some sort of typo, in the code where instead of passing the ~ so that it gets correctly expanded, it is actually getting passed as the un-expanded charcter.

So the game literally made a folder called "~" in my user directly (with the full support path created underneath it... so there is literally a path of "~/Library/Application Support/Owlcat Games/Pathfinder Wrath Of The Righteous/Saved Games" inside my normal ~ user profile folder :(

You mean like ~ ?

Originally posted by craigchambers:
I've been chasing this for a while and just re-reported it; one of the mods said that they would raise it (yay!). On Mac I found with some help from MacSaya...

Cross-platform cloud saves were working after the 1st Mac patch (I think), they broke after the 3rd or so.
My best guess is that a config somewhere accidentally hardcoded the variable/shortcut to the user's home folder (~ on Linux/Mac; WinAppDataLocalLow on Windows) twice.
This causes it to create a ~ folder within ~ (which is a bug).
The app will only upload from this location, however it actually stores the saves in a different location that was previously syncing via the Steam app folders.

My cloud saves page here: https://store.steampowered.com/account/remotestorageapp/?appid=1184370 has 3 kinds of saves now,...
some with no folder and no preceding path (those that used to work on both platforms),

some with WinAppDataLocalLow as the folder with a path like "Owlcat Games/Pathfinder Wrath Of The Righteous/Saved Games/Auto_1.zks"

some with Machome as the folder with a path like "~/Library/Application Support/Owlcat Games/Pathfinder Wrath Of The Righteous/Saved Games/Quick_1.zks"

I only got this far by creating symbolic links that ensure that the new saves end up in the folder that now uploads to Steam Cloud.

  • App only uploads from: /Users/me/~/Library/Application Support/Owlcat Games/Pathfinder Wrath Of The Righteous/Saved Games (note the extra ~)

  • Game saves all actual data in:
    /Users/me/Library/Application Support/unity.Owlcat Games.Pathfinder Wrath Of The Righteous (note no extra ~, because /Users/me/ = ~)

  • Steam downloads old saves (from 2nd patch to 4th) from cloud to:
    /Users/me/Library/Application Support/Steam/userdata/9558731/1184370/remote/ (manually putting in here will upload too, but nothing can currently use them)
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Nov 6, 2021 @ 10:04pm
Posts: 1