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
It would be nice if the client could keep around a few versions of the game files to prevent excessive downloading when watching older replays, or in my case, when switching between the production server and the test server when those two are on different versions of the game.
EDIT: I actually ended up writing my own version manager as a separate cli application and it's been pretty useful. In doing so, I came up with a few ideas for how to store the files so that there is no duplication. What I ended up doing was storing files in a directory structure like this:
where the first layer of directories uses the file version number and the second layer has the same structure as ProgramData. The index file is essentially used to cache API responses when querying for file versions/hashes. It looks like this:
where first it lists all of the file versions and file metadata in the order they were installed, and then it lists the featured mod information (really just the id and technical name) along with the installed versions and a list of indices referencing the required files in the file list.
When the user requests to switch to an installed patch version, the version manager can then verify the checksums of the required files and copy them to the corresponding ProgramData directory.
The text was updated successfully, but these errors were encountered:
It should fix the excessive downloading. Would still be nice if you could see what versions you have installed, delete them, and play them though, but you can close if you think that's a "wont do" sort of feature.
It would be nice if the client could keep around a few versions of the game files to prevent excessive downloading when watching older replays, or in my case, when switching between the production server and the test server when those two are on different versions of the game.
EDIT: I actually ended up writing my own version manager as a separate cli application and it's been pretty useful. In doing so, I came up with a few ideas for how to store the files so that there is no duplication. What I ended up doing was storing files in a directory structure like this:
where the first layer of directories uses the file version number and the second layer has the same structure as ProgramData. The index file is essentially used to cache API responses when querying for file versions/hashes. It looks like this:
where first it lists all of the file versions and file metadata in the order they were installed, and then it lists the featured mod information (really just the id and technical name) along with the installed versions and a list of indices referencing the required files in the file list.
When the user requests to switch to an installed patch version, the version manager can then verify the checksums of the required files and copy them to the corresponding ProgramData directory.
The text was updated successfully, but these errors were encountered: