Newer guide: p/3822351(last updated September 7th, 2014)
Imgur album breifly describing my process:
http://imgur.com/a/7JEig (do not rely on this alone as it isn't up-to-date with latest changes; refer to text guide below for updates)
Here's some detailed instructions for getting osu! on Ubuntu (tested on 13.04, 13.10, and 14.04 (x86_64)):1. Add the Wine PPA
System Settings > Software & Updates > Other Software > Add... >
ppa:ubuntu-wine/ppa > Close
or
Terminal >
sudo add-apt-repository ppa:ubuntu-wine/ppa2. Update Software Sources
Terminal >
sudo apt-get update3. Install Wine
Terminal >
sudo apt-get install wine1.7- Should install around 230 or so MB of archives
- At the time of writing,
wine1.7 will give you the latest Wine, 1.7.9. If you specify just
wine, it will give you 1.6.
- Accept the license for the fonts package (well, read it first of course
; may have to click the Terminal window and use Tab and Arrow Keys to navigate)
4. Set up a 32-bit Wine Prefix
Terminal >
WINEARCH=win32 winecfg- This implies you want your main Wine prefix to be 32-bit. If you want osu! to be in it's own prefix, make a folder somewhere and use
WINEPREFIX=[location] to specify it)
- Feel free to just close the configuration window afterwards
5. Install .NET Framework 2.0
Terminal >
winetricks dotnet20- You do not need any other dotnet. People seem to feel the need to install dotnet30 and 40, but I'm unsure why...
6. Download osume.exe
Terminal >
wget http://osu.ppy.sh/release/osume.exe7. Create a
osu! folder in the
Program Files folder in your Wine prefix, move
osume.exe to it, and start osume.exe
Terminal >
mkdir '.wine/drive_c/Program Files/osu!' && mv osume.exe '.wine/drive_c/Program Files/osu!' && cd '.wine/drive_c/Program Files/osu!' && wine osume.exe- Long command that creates the directory, moves osume.exe to it, puts the Terminal into that folder, and runs osume.exe
- You can manually create the folders and move osume.exe with GUI also (just create an
osu! folder in
Program Files and drag
osume.exe to it and right-click it to run it with
Wine Windows Program Loader)
8. Wait for
osu! update to completely download osu!
- If you have a beatmap and/or skin library backup somewhere, now would be a good time to restore it.
9. Start osu!
- If you cannot start osu! at this point, it is likely because of graphics drivers. If this is the case, you have to either install proprietary drivers, update the open-source drivers, or install 32-bit OGL libraries.
- Run osu! from Terminal via
wine 'osu!.exe' and try checking for any specific errors if issues appear.
10. Do any initial in-game setup you want
- Includes logging-in, setting a resolution, changing keybinds, etc.
- If you cannot see the login prompt (likely the osu! game window will be above it), you'll have to exit osu! and either try disabling compositing, or setting osu!'s resolution lower in its cfg file
- If setting a fullscreen resolution causes osu! to crash and you cannot close it, see additional notes.
11. Exit osu!
At this point, you should have osu! on your computer, congratulations
Additional Notes:- From this point on, the only thing you need to do to run osu! is just run the osu!.exe binary (double-click it or use the wine command from Terminal).
- If you want a Desktop and/or Menu shortcut to osu!, you'll have to either do this manually (really easy once you get the hang of it), or use something like
wine-launcher-creator (that program is pretty helpful, especially if you have/want osu! on it's own prefix easily)
My XFCE icon for reference:
http://pastebin.com/R6sM63ju (use it as a guideline)
- .osz downloads should automatically just work (did for me anyway; otherwise, just drag them to the Songs folder manually)
- You do not need gdiplus, but it is optional if you
really want the few things it affects to look better. If you do opt for this, be prepared to download 538M, and run
winetricks gdiplus and also note I cannot vouch for how compatible gdiplus is currently.
- I cannot vouch for how well osu! runs in a Wine prefix with other things installed, but I imagine it would be fine for most things (if any problems occur, do try it from a clean prefix if you didn't already)
- Choosing OpenGL mode in osu!'s Options will likely not work (osu! restarts back to DirectX mode). The reasoning for this is unknown.
- You cannot use the current osu! Installer from the Download page unless you install .NET Framework 3.0 (3.5?), and even then I'm not too sure if that works. As-per the guide above, you shouldn't need to do this at all though, but should you try it, be prepared for a troubleshooting process if things go wrong.
- If you have the older osu! installer that relies on .NET Framework 2.0 instead, you can use it, but last I tried it, it would crash during install. If this happens, do not re-run the installer, and copy osume.exe to the osu! folder and run it. You should have all the needed shortcuts if using this method.
- The reason for a 32-bit Wine Prefix is because of the dotnet20 installer. If you want a multiarch prefix (32/64 bit),
you'll have to modify the dotnet20 installer package to accept 64-bit OSes. There are very few situations I can think of where this would be wanted... (you're better off putting osu! in a separate 32-bit prefix)
- If you have a
Program Files (x86) folder present in the Wine prefix you tried installing osu! to, you have a multiarch prefix, which (for sake of simplicity) you don't want. You'll want to start over from Step 4.
- Should osu! crash or lock-up, you can try one of the following commands after pressing
Alt + F2:
wineserver -kkillall wineserverxkill > *click on osu!*
- If none of that works, try bringing up Terminal instead (
Ctrl + Alt + T is default in most DEs) and trying the command(s) there
- If all else fails,
do REISUB (be prepared for reboot)
- You may wish to try different video drivers (like going from fglrx to radeon) or other driver-specific troubleshooting (like --tls=0 on fglrx) if a crash or lock-up occurs
- If you have in-game scoreboard, combo popup, or other graphical corruption, a solution may be to enable
StrictDrawOrdering (Terminal >
winetricks strictdrawordering=enabled) but this can drop performance (your experience may vary). Another option is to use a d3d command stream-patched Wine and enable it (CSMT=enabled).
Here's a PPA for such a version of Wine (do
not submit AppDB results with this version of Wine). Do either one or the other. If going from StrictDrawOrdering to CSMT though, make sure to remove the StrictDrawOrdering setting, or set it back to disabled. Using gallium-nine also fixes corruption.
Be sure to only choose one of these methods though (don't use more than one at a time).
- If you use a fullscreen resolution other than your native resolution, osu! may scale strangely in some cases. A quick fix I found was to just go under Options and set the frame limit to Unlimited (gameplay). Another option is to disable the window decorator from controlling windows (under winecfg)
- You may have to look into some hardware-specific stuff to get everything working good with your setup (such as setting a primary screen for multi-monitor setups, setting tablets to only hook to one screen, switching your touchpad to absolute mode, etc.)
- You may have to alter some commands slightly if you happen to use another desktop environment, distro of Linux, or some non-standard Ubuntu setup.
Here is the Wine AppDB entry for osu!.
And if all of that is seemingly too complicated, you could try PlayOnLinux.
boat wrote a pretty nice guide here. I can't vouch for how well it may work or offer support about it directly, but I'm sure others can.
Good luck
Random Tips:- If your tablet is experiencing strange behavior (
see my thread here for reference), try removing
xserver-xorg-input-wacom (and it's dependency
xserver-xorg-input-all).
- If using open-source graphics drivers, it is recommended to have the latest Kernel you feel comfortable with. When using
radeon, it is also recommended you manually enable DPM (
radeon.dpm=1 as a kernel parameter; unless it's automatically enabled). If using Saucy Salamander (13.10) or feel brave with another similar distro (Mint, Debian, etc;) you should also consider adding
Oibaf's Updated and Optimized Open Graphics Drivers PPA.
- Setting the environment variable
vblank_mode=0 (either via EXPORT or just run it like
vblank_mode=0 wine 'osu!.exe') disables vsync, and may lessen input delay. Only applicable to open-source graphics drivers.
- Disabling PulseAudio may lessen audio delay and issues. Use
pasuspender,
as removing PulseAudio is generally a bad idea. You may have to go through winecfg or winetricks to set ALSA to be used.
-
Use of a Realtime Kernel may also further lessen any latency.