-
Notifications
You must be signed in to change notification settings - Fork 14
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
Feature Request: Validate all files post install #32
Comments
Currently my idea is to have an array of arrays like so [
[FILEPATH, HASH, DEPOT]
] |
Maybe adding a bool at the end would also help, then you could download the depots, check files for errors, if the file has an error the bool gets set to true, the depot gets redownloaded, the files gets checked again and if the bools is true it comes with a popup about the users pc being weird |
Don't know if this is possibly while keeping windows support :/ |
I'll keep it open for now but this probably won't become anything |
Why would this not work on windows ? I think this is a great idea. |
is it because haslib doesn't work on windows ? |
My idea would need be able to redownload depots, that would either require prompting the user for auth again or keeping the process with steamcmd running, if we did that it'd either require a lot of stuff I have no idea how to do or the pexpect library but that thing's flacky as hell on windows |
I think I know what you mean - you want a mechanism that confirms the files hash - and if that check fails the application then can re-downloads the failed depots associated with the hash. That would then require us to restart the steam command meaning we would need to re-login to steam. I don't know if this is possible without requiring the user to relogin - this could only be possible if steamcmd supported an interactive shell i.e. you run With all that being said - I don't think its a bad thing to ask the user to relogin - yeah its annoying - but they have corrupted files so without this intervention they won't be able to play. Final thought - wouldn't |
It does but the command gives an error +validite |
I went ahead and tried adding it to the dev branch on windows, I'll improve the message and add Linux support after a break |
Checking a hash of every file after installing and redownloading the depot if not valid might alleviate some issues
The text was updated successfully, but these errors were encountered: