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

Use DepotDownloader to reduce download size #24

Open
pointydev opened this issue Oct 13, 2023 · 1 comment
Open

Use DepotDownloader to reduce download size #24

pointydev opened this issue Oct 13, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@pointydev
Copy link

As you know, the game files used by the client are also downloaded when running a CS2 server, rather than just files dedicated to that purpose. However, you can use a third party application called DepotDownloader to ignore certain files using the -filelist and -depot parameters, therefore cutting down on download size. DepotDownloader can also cache Steam Guard credentials.

The lists of files can be found here:

The asset files found in these depots can be inspected using Source 2 Viewer (aka ValveResourceFormat), which may be able to identify files not needed for DS operation.

Thanks,
pointy

@joedwards32
Copy link
Owner

Cool idea!

The challenge will be figuring out which files can be done away with.

Currently, the best way to get the container to start quickly is to attach a persistent volume so that you only need to download updates on container start:

-v /var/lib/docker/cs2-data:/home/steam/cs2-dedicated/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants