June 3, 2013

Getting osu! to work in Linux Mint 15 (and other Linux distros)

If you use Linux Mint 15 (like me) and you want to play osu! on it, then you are in luck. The latest version of Wine handles osu! quite well like never before.
The familiar main screen of the game.
Firstly though, you have to install Wine. Open up Software Manager and search for "wine". Select "playonlinux" and it will install all the necessary files for you. Although we won't be using PlayOnLinux, the files that are installed along with it are essential to get this running.
Select 'playonlinux' and hit install
Once PlayOnLinux is installed, open up Terminal.

Make sure you have a 32-bit Wine prefix enabled and not 64-bit (as .NET Framework 2.0 does not have 64-bit support).

If you already have Wine installed and a 64-bit prefix, you can simply remove the exisitng 64-bit prefix by going:
rm -r ~/.wine

After that, create a new 32-bit prefix of Wine:
WINEARCH=win32 WINEPREFIX=~/.wine winecfg

Next, you'll need to use Winetricks to acquire dotnet20. gdiplus is optional, but highly recommended to make most ingame fonts and elements look better.
winetricks dotnet20 gdiplus

Now download the osu! installer from the website and place it on your Desktop or Downloads folder.

In your Terminal, navigate to the folder that contains the osu! installer file and execute the installer using Wine:
wine osu!installer.exe

On the installer, you want to hit Next twice (once past the intro, again after confirming directory) to start the installation

After copying files, the installer should halt. Do not click anything further once the halt occurs for now.

Head over to your Wine's Program Files folder.
/home/<USERNAME>/.wine/dosdevices/c:/Program Files

Now copy the osu! folder to somewhere safe. (Best place is to make a copy of the folder inside the same directory)

Now go back to the installer, either Send or Don't Send the error report, Close, and then Finish.

Now put the osu! folder you moved earlier back into Program Files.

Run osume.exe from within the osu! folder.

Wait for it to get done updating, and then you should be automatically taken in-game. Congratulations, osu! is now installed! You should also have a Desktop shortcut still.

[via WineHQ]