Custom osu! / Hexis install locations will fail #1

Open
opened 2018-06-04 20:00:44 +00:00 by howl · 0 comments
howl commented 2018-06-04 20:00:44 +00:00 (Migrated from zxq.co)

Good issue made by a-SynKronus on GitHub.

Issue in title, it's possible to install osu! in strange places. You can fix by getting install locations through the registry.

There are two safe options:

  1. Uninstall location [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall]
    You will need to loop through these until you find osu.
  2. Class [HKEY_CLASSES_ROOT\osu\shell\open\command]
    This is how osu!lazer does it.

Here is said section in osu!lazer's source code: github.com/ppy/osu@e7e822ecd5/osu.Desktop/OsuGameDesktop.cs (L56-L68)

This should link to line 56-68.


I happened by chance to check out the Hexis website yesterday for the first time after about a year to see if there was still any lifeform around at all, and I just noticed you posted this here. What are the odds?

Either way, I'm afraid that I am not working on this anymore - I haven't even touched C# in ages. If I can ever be bothered again, I'll try to get around to this, but can't guarantee you anything. (Of course, I absolutely don't mind pull requests stuck_out_tongue)


Oh right, that's kind of how git works, oops. I'll make the necessary changes and make a pull request.

Good issue made by a-SynKronus on GitHub. >Issue in title, it's possible to install osu! in strange places. You can fix by getting install locations through the registry. > >There are two safe options: >1. Uninstall location [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\] > You will need to loop through these until you find osu. >2. Class [HKEY_CLASSES_ROOT\osu\shell\open\command] > This is how osu!lazer does it. > >Here is said section in osu!lazer's source code: https://github.com/ppy/osu/blob/e7e822ecd57c9211fa9c749569e6064eb1a922ca/osu.Desktop/OsuGameDesktop.cs#L56-L68 > >This should link to line 56-68. ---------------- >I happened by chance to check out the Hexis website yesterday for the first time after about a year to see if there was still any lifeform around at all, and I just noticed you posted this here. What are the odds? > >Either way, I'm afraid that I am not working on this anymore - I haven't even touched C# in ages. If I can ever be bothered again, I'll try to get around to this, but can't guarantee you anything. (Of course, I absolutely don't mind pull requests stuck_out_tongue) ----------------- >Oh right, that's kind of how git works, oops. I'll make the necessary changes and make a pull request.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
howl/osu2hexiSharp#1
No description provided.