Tutorial  Updated

Run osu! on linux without Wine

Disclaimer: This instructions are outdated.
visit https://github.com/ppy/osu#building-and-running for current building instructions

For those who wanna play or try osu! on Linux but don't want to use Wine there is a new version of the client currently in development called osu! Lazer and it's open source!
But first, as stated on the GitHub page of the project:
This is still heavily under development and is not intended for end-user use. This repository is intended for developer collaboration. You're welcome to try and use it but please do not submit bug reports without a patch. Please do not ask for help building or using this software.
This means altought you can log-in with your acount, there's no online match and you can expect a lot of inestability and bug.
So in order to try this we have to build it from source.
I'm using Linux Mint 18.1 so this tutorial will focus on Debian based distributions.

In order to build it you gonna need to install some tools:



    • Wget to get some files from the web
    • Git to get the source code
    • Mono-develop to compile it
    • And the source code itself
First open your terminal
You can get both from your distribution repository so just:
Code:
$ sudo apt install git
$ sudo apt install wget
Mono can also be found in your distribution repositories but it will be outdated so first we add the MonoDevelop Project repository:

for Ubuntu 16.04 (or distributions using the same kernel):
Code:
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
$ echo "deb http://download.mono-project.com/repo/ubuntu vs-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-vs.list
$ sudo apt-get update

for Ubuntu 14.04 (or distributions using the same kernel):
Code:
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
$ echo "deb http://download.mono-project.com/repo/ubuntu vs-trusty main" | sudo tee /etc/apt/sources.list.d/mono-official-vs.list
$ sudo apt-get update

Then simply:
Code:
$ sudo apt-get install monodevelop
These instruction alongside support for other distros and platforms can be found he: http://www.monodevelop.com/download/#fndtn-download-lin-ubuntu

Building osu!


Use Git to get the source code from github:
Code:
$ git clone --recurse-submodules https://github.com/ppy/osu
then CD into osu and use Git to download nuget.exe
Code:
$ cd osu
$ wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
now restore the packages using nuget
Code:
$ mono ./nuget.exe restore
when restoring the nuget package i received warning about 'Detected package downgrade'
i solve the issue by Installing .NET Core SDK from Here
Finally use msbuild to 'build' osu! this will take some time and it should give 0 errors and 0 warnings.
Code:
$ msbuild
you can now run osu! using mono from ~/osu/osu.Desktop/bin/Debug/net471/osu.exe!
Code:
$ mono ~/osu/osu.Desktop/bin/Debug/net471/'osu!.exe'
 
Last edited by SagaP,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • K3Nv2 @ K3Nv2:
    I tried that new Pepsi lime it just taste like pepsi
  • DTApple @ DTApple:
    With lime, right?
  • K3Nv2 @ K3Nv2:
    Just pepsi lol
  • K3Nv2 @ K3Nv2:
    Oh yeah it's D-Days 80th anniversary today
  • BigOnYa @ BigOnYa:
    I drink the Coke with lime all the time, in my Spiced rum (Captain Morgans) I hate pepsi
  • K3Nv2 @ K3Nv2:
    Probably better just to jizz a lime squeeze inside it
  • DinohScene @ DinohScene:
    volvic > anything else
    +1
  • K3Nv2 @ K3Nv2:
    My piss is water
  • BigOnYa @ BigOnYa:
    That looks like the router i just got from microcenter. Spectrum wanted to charge me $7 a month for a wifi router, so I said no thank you and just bought one, I paid like $65 tho
  • K3Nv2 @ K3Nv2:
    Linksys?
  • BigOnYa @ BigOnYa:
    Yea its Linksys, but not sure if same model, has 4 antennas
  • K3Nv2 @ K3Nv2:
    6gbps and two usb ports that supports ntfs is pretty solid dont care if it's reconditioned for $55
  • K3Nv2 @ K3Nv2:
    Just trying to figure out if it's vpn supported
  • K3Nv2 @ K3Nv2:
    I could probably set it up like a nas device
  • K3Nv2 @ K3Nv2:
    TP your router
    +1
  • K3Nv2 @ K3Nv2:
    Unless @Psionic Roshambo can convince me to spend $100 on a better option I'm probably going with it
  • BigOnYa @ BigOnYa:
    Works great for me, all i need. Can go way back on edge of property and still get 3/5 bars. And it let me setup IP Vanish on it no problem.
  • K3Nv2 @ K3Nv2:
    Google fibers router sucks keeps randomly blocking websites
  • BigOnYa @ BigOnYa:
    Does it say "Unexpected Database Error"?
  • K3Nv2 @ K3Nv2:
    Might as well 403
    +1
  • K3Nv2 @ K3Nv2:
    I yell at my isp like listen if I get a virus that's on me stop trying to protect me
    +1
  • BakerMan @ BakerMan:
    and i just scratched my leg again, this time fortunately the only thing that came out was the itch
    BakerMan @ BakerMan: and i just scratched my leg again, this time fortunately the only thing that came out was the itch