Oye, el post también está en español!
This post is partially based on Katoumegumi’s guide on the Arch Wiki.
Backstory
After giving up on Windows crashes, I decided to go back to Linux. In my experience it has been more stable than Microsoft’s OS, only rendering my machine unbootable once (the linux kernel got nuked for some reason when updating).
Installation
Installing Wine
We first need to install wine and winetricks, to do so run:
Preparing wineprefix
We now need to install dependencies like fonts or dotnet to make osu! run correctly
(update 12/19/2023): added dotnet45
to make it work with gosumemory
Installing osu!
Skipping this part, but basically download the installer and run it.
I already have my own 3-year-old installation with all my everything on it, so I’m bind-mounting it.
Create a directory:
And then I added the following fstab line:
Trying to open it up
Running WINEARCH=win32 WINEPREFIX=~/.wineosu wine ~/.wineosu/osu/osu\!.exe
twice leads us in the osu! installer with no network connection found.
This is a bit easy to fix, as Wine itself yields this error if you scroll up a bit:
Looking the package up in the Arch Linux repos, a package called lib32-gnutls
shows up which looks to be exactly what we want.
After installing it, the SSL connection worked and the game is going to sta- too bad!
You thought that was gonna be IT!
It wants a GL context, which we don’t have apparently, so installing lib32-mesa
fixes it. Easy!
Now, the window is… dark? WHEN ARE WE DONE?
Welp, when going to almost the top of the file, we can see this:
“GLXPixmap hack”? The game is, according to peppy, held with duct tape, so no hacks are really going to work.
Here we go, installing libxcomposite for lib32 should fix it.
It opens up… but with no audio.
Browsing through the Arch forums I found this post which pointed me to installing lib32-alsa-plugins lib32-libpulse lib32-openal
.
And we’re finally done! I can go to the menu screen, and play some maps.
(Make sure you set the offset to at least -25ms
. The offset wizard might help you when setting the optimal value, though!)
Setting up the start script
edit a file in ~/.wineosu/osu/start.sh
with the following contents:
Setting up the freedesktop entry
Download the osu! logo:
and finally edit a new file in the path ~/.local/share/applications/osu.desktop
[Desktop Entry]
Type=Application
Comment=A free-to-play rhythm game inspired in Osu! Tataekae! Ouendan!
Icon=/home/<username>/.wineosu/osu/icon.png
Exec=/home/<username>/.wineosu/osu/start.sh
Path=/home/<username>/.wineosu/osu
GenericName=osu!
Name=osu!
StartupNotify=true
That’s it
Way harder than I thought. If you want the command with all dependencies, type in: