Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note about not compressing DirectStorage games #423

Open
Aemony opened this issue Apr 20, 2024 · 5 comments
Open

Note about not compressing DirectStorage games #423

Aemony opened this issue Apr 20, 2024 · 5 comments

Comments

@Aemony
Copy link

Aemony commented Apr 20, 2024

Not really a bug, but more of a head's up since I don't see it mentioned anywhere in the readme or wiki. It should probably be mentioned somewhere that the tool should not be used to compress modern DirectStorage enabled games since doing that negates the purpose of DirectStorage.

DirectStorage relies on BypassIO to skip the volume stack of Windows and achieve most of its intended CPU overhead reductions, however that I/O optimization won't engage for NTFS-compressed files.

@Iridium-IO
Copy link
Member

Added this info to the main readme - unfortunately there's no internal way to tell whether files can be accessed via DirectStorage and there's no Steam API calls to check either.

@unni257
Copy link

unni257 commented Jul 29, 2024

Hi

Sorry for commenting on a closed issue, but I just came across this and wonder if it could help identify and skip compression of DirectStorage-enabled games?

By all accounts, that page isn't really accurate (see Corsair's blog post on the matter), but maybe it's better than nada? 🥲

@Iridium-IO
Copy link
Member

Iridium-IO commented Jul 29, 2024

As I said before, there's no API to access that data. SteamDB has their own way of finding that info out.

There's also the matter that just because a game supports DirectStorage, doesn't mean it will be active. Maybe once more games actually support it I'll look into it, but right now it's not worth it for less than two dozen games

@Aemony
Copy link
Author

Aemony commented Aug 9, 2024

For reference, SteamDB just identifies DirectStorage by the inclusion of the dstorage.dll file in a few common subfolders of the game, see their ruleset here: https://github.com/SteamDatabase/FileDetectionRuleSets/blob/main/tests/types/SDK.DirectStorage.txt

@Iridium-IO
Copy link
Member

@Aemony that's excellent, might be able to use that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants