Giter Club home page Giter Club logo

Comments (6)

rossengeorgiev avatar rossengeorgiev commented on September 26, 2024

depot info commands displays info about manifests. To do that it needs to downloaded them. To downloaded them it needs a manifest request code. To get the code, the account needs to own a license for the app/depot. Thus, here we have anonymous who doesn't have license for the that app.

The info you are looking for you can grab from product info, although I don't think you get depot names if the account doesn't have a license. steamctl --anonymous apps product_info --skip-licenses 1289310 | jq .depots

from steamctl.

nisehime avatar nisehime commented on September 26, 2024

Hm, but it seems steamdb is able to show the same info without owning the app? For example: https://steamdb.info/depot/2141641/ - the app is released today.

Considering it needs a decryption key steamdb doesn't own the app, but the file list itself is here along with all the metadata.

Also, what's the point of skip-licenses in depot info then? It basically doesn't make any difference. In the output there's Encrypted filenames: false line, but since you're required to own the license it's always going to be false anyway. So I naturally thought that depot info is about depots, not just manifests.

from steamctl.

rossengeorgiev avatar rossengeorgiev commented on September 26, 2024

Technically, steamdb shouldn't be able to access the manifest, because it requires a license to get manifest request code. See https://steamdb.info/donate. The implement behaviour is correct unfortunately.

skip-licenses is as the name suggests, skips license checks. So if you have already downloaded the manifest and decryption key in cache, then you can use the flag to skip the checks. If they are not in cache, then it has to go online and attempt to get them. Cache can also be used to run commands without login into Steam, make things faster.

from steamctl.

nisehime avatar nisehime commented on September 26, 2024

Technically, steamdb shouldn't be able to access the manifest, because it requires a license to get manifest request code.

I know, but it seems it does access it without the license somehow.

Manifest file contains the info about the number of chunks, compressed/uncompressed size, creation date, checksums, etc and encrypted list of files, right? To get the manifest you need to get manifest request code which requires owning a license. Also you need a decryption key to decrypt filenames, right? To request a decryption key you also need to own a license. So basically if you got the manifest code it means you can get the decryption key as well. But on steamdb there are depot entries with all the manifest metadata but with encrypted filenames. And it's not only some old depots before manifest codes were enforced, but new releases as well.

from steamctl.

nisehime avatar nisehime commented on September 26, 2024

And I still don't understand in which situation Encrypted filenames might be true. Cached manifests from steamctl are saved with decrypted filenames already. Same with steam's depotcache

from steamctl.

rossengeorgiev avatar rossengeorgiev commented on September 26, 2024

Manifest request codes were added recently to combat free download of manifests. Prevent leaks. Product info now also returns different information depending on whether you own a license.

Depot key is for the depot, decrypting the file names and their content, which has existed for a long time.

steamdb uses all kind of tricks to get the info, and this current trick will eventually go away. That is the difference. Replicating steamdb from scratch is practically impossible today.

from steamctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.