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

osu-lazer: 2020.801.0 -> 2020.806.0 #94833

Merged
merged 1 commit into from Aug 7, 2020

Conversation

notgne2
Copy link
Contributor

@notgne2 notgne2 commented Aug 7, 2020

Motivation for this change

Bump version.

While testing, I also discovered that this build of osu-lazer was unable to play multiplayer, due to some unusual and presumably misinformed hash/tamper check of a game component (osu.Game.dll), so I've made a patch to hardcode it to a hash from their appimage (the version itself appears to be irrelevant), though I can integrate the process of acquiring this hash into the Nix derivation if necessary.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@notgne2 notgne2 changed the title osu-lazer: 2020.725.0 -> 2020.801.0 osu-lazer: 2020.801.0 -> 2020.806.0 Aug 7, 2020
- // should eventually be handled in a better way.
- VersionHash = $"{Version}-{RuntimeInfo.OS}".ComputeMD5Hash();
- }
+ VersionHash = "253aa3a3a356a71295bf5b018cd4fda1";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this need to be touched along with other updates?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I've tested no, it may just be that the versions were "close enough", but I don't think the version gets sent alongside this, the only place it seems to be used is here https://github.com/ppy/osu/blob/80496d8d7f436eb1fee0a87d35c0b5ccde450b7c/osu.Game/Screens/Multi/Play/TimeshiftPlayer.cs#L61

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diff LGTM
gui launches fine

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

Successfully merging this pull request may close these issues.

None yet

3 participants