You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shadPS4 recently added a feature to keep updates separate from the main game. They are placed in a directory immediately next to the game install, with the name CUSAXXXXX-UPDATE. The naive scanning script implemented in the latest Playnite update finds the EBOOT.BIN in both the main game and the update, adding two games to the library.
I implemented my own scanning script before this update, and already fixed the bug. All I did was add a powershell filter on the packages folder that only accepts directories named CUSA#####. If there are other filename patterns for legitimate ps4 packages, I haven't seen them, but the code could easily be updated to handle them. The relevant code is below. Use it or don't.
Install a package with shadPS4.
Enable the "Enable Separate Update Folder" in shadPS4 general settings
Install an update package with shadPS4.
Scan for PS4 packages.
Diagnostics ID
9c6934f0-c6d5-45e2-a142-44bd98c12198
Screenshots
The text was updated successfully, but these errors were encountered:
Bug Description
shadPS4 recently added a feature to keep updates separate from the main game. They are placed in a directory immediately next to the game install, with the name CUSAXXXXX-UPDATE. The naive scanning script implemented in the latest Playnite update finds the EBOOT.BIN in both the main game and the update, adding two games to the library.
I implemented my own scanning script before this update, and already fixed the bug. All I did was add a powershell filter on the packages folder that only accepts directories named CUSA#####. If there are other filename patterns for legitimate ps4 packages, I haven't seen them, but the code could easily be updated to handle them. The relevant code is below. Use it or don't.
[array]$games = Get-ChildItem -LiteralPath $ImportArgs.ScanDirectory -Recurse | Where-Object { $_.DirectoryName -match 'CUSA\d+$' } | Where { $_.Name -eq "ISO.BIN.EDAT" -or $_.Name -eq "EBOOT.BIN" }
To Reproduce
Install a package with shadPS4.
Enable the "Enable Separate Update Folder" in shadPS4 general settings
Install an update package with shadPS4.
Scan for PS4 packages.
Diagnostics ID
9c6934f0-c6d5-45e2-a142-44bd98c12198
Screenshots
The text was updated successfully, but these errors were encountered: