forum

Solution: Running osu! In Ubuntu or Xubuntu

posted
Total Posts
943
show more
emane
AdeHaze, now I have Debian, so its very smillar to Ubuntu.
NoYzE, my computer is pretty old (7 years). So Widnows isn't good way for me ;)
Espionage724
Updated osume.exe link for anyone looking for it: http://m1.ppy.sh/release/osume.exe
emane

Any idea for this 404?
nick_O

emane wrote:


Any idea for this 404?
same issue here with Ubuntu 14.04
luka-devnull
Hey all! Just have to say: excellent game! Running on Arch Linux x86_64 with wine-silverlight, and used "winetricks dotnet35 gdiplus" (in a 32-bit winebottle, of couse) and everything seems to be OK :)

One small problem though: I have a ThinkPad X201 Tablet and my stylus' lag is incredible. I've never noticed it before because I've never been moving it this fast :o
Does anyone have an idea how to increase polling rates on serial Wacom tablets? I'm having a hard time finding information around the internet on how to do this. Any help would be greatly appreciated!

EDIT: I figured out what I needed to do. Since the Wacom on my laptop is serial, I recompiled my kernel with a 1000 Hz tickrate, increased the baudrate on it from 19200 to 38400, enabled low_latency on it's serial port and dropped the raw sample rate to 1 and disabled suppression.
Needless to say there is no lag on the stylus anymore :P
[ Full Moon ]
Run osu! on Ubuntu is very eazy

> download Wine 1.7
> download Playonlinux
> run playoblinux : add a new software
> game
> osu ... ( install osu on appdata )




Install song > download beatmap and extract to folder /song

screen

power007

[ Neko Baka ] wrote:

Run osu! on Ubuntu is very eazy

> download Wine 1.7
> download Playonlinux
> run playoblinux : add a new software
> game
> osu ... ( install osu on appdata )
you forget the last thing
>enjoy your 2x perfomance drop comparing to windows OS, audio delay, input lag and so on...

while osu! runs on linux in wine it's not gonna be playable, only if peppy will release native version...
emane
Ok, I get it.
On kubuntu/ubuntu and other debian like systems osu works, but problem is with debian. Idk why, beacause packets are the same...
_Kuroni_
Tested and worked on Ubuntu 15.04 (Vivid) perfectly fine. Thanks man :)

One small thing, some unicode characters from different languages (Japanese, Vietnamese, etc.) does not display properly. For example, Japanese characters turned into weird squares, and most of Vietnamese characters is not displayed (some works though). Anyway to fix?

EDIT: Reinstall Wine fixed the Vietnamese problem (ttf-mscorefonts-installer missing files), but Japanese characters still appear as weird blank boxes, screenshots below:



Any solution?
luka-devnull

Trung_Rinto wrote:

Japanese characters still appear as weird blank boxes
Mine were too until I removed my .wine32 today since it was being dumb and wouldn't run osu! for whatever reason. While rebuilding the wineprefix, I ran
WINEPREFIX=~/.wine32 WINEARCH=win32 winetricks -q dotnet20 dotnet40 gdiplus corefonts cjkfonts
and most characters started working that never worked before. Weird part is corefonts and cjkfonts never worked before I nuked the wineprefix, and some Kanji still show up as empty boxes. Better than it was before, though!



EDIT: I just realised that I "borrowed" some fonts from a Windows 7 machine and put them in ~/.local/share/fonts. That might have done it too.
_Kuroni_

aus4000 wrote:

EDIT: I just realised that I "borrowed" some fonts from a Windows 7 machine and put them in ~/.local/share/fonts. That might have done it too.
Which fonts? Please reply soon :))
luka-devnull

Trung_Rinto wrote:

Which fonts? Please reply soon :))
Literally the whole C:\Windows\Fonts. Probably unnecessary to take all of them (1,240 fonts!), but I guess it did the trick :D

I'll also note that they weren't working until I nuked ~/.wine32. Just remember to move osu! somewhere safe (I have mine placed in ~/Games/osu!) before you accidentally delete it!
_Kuroni_

aus4000 wrote:

Literally the whole C:\Windows\Fonts. Probably unnecessary to take all of them (1,240 fonts!), but I guess it did the trick :D

I'll also note that they weren't working until I nuked ~/.wine32. Just remember to move osu! somewhere safe (I have mine placed in ~/Games/osu!) before you accidentally delete it!

Ironically, now only JAPANESE displays as weird blank box. Both Korean and Chinese (Simplified and Traditional) worked fine. Tried to install fakejapanese :

WINEPREFIX=~/.wine32 WINEARCH=win32 winetricks -q fakejapanese

It'll pop out some Takao fonts in the ~/.wine32/drive_c/windows/Fonts. Also tried to manually copy those files to the ~/.local/share/fonts but no use. Any idea?
based_bluetawn
argh! The latest update requiring dotnet 4.5.2 broke wine! Installing dotnet20 on a 32 bit prefix then dotnet 45 gives me an error saying dotnet20 is already installed!

NoYzE wrote:

how about native with osu next?^^
I really doubt it. net framework is ONLY windows. The devs would need to port osu to an engine (godot or unity?) and deploy from there or use a platform independent language like C++. I don't understand why they update to the latest net framework when I don't notice any new game features being dependent on them.
YaLTeR

based_bluetawn wrote:

NoYzE wrote:

how about native with osu next?^^
I really doubt it. net framework is ONLY windows. The devs would need to port osu to an engine (godot or unity?) and deploy from there or use a platform independent language like C++. I don't understand why they update to the latest net framework when I don't notice any new game features being dependent on them.
You forgot about mono. The devs probably just need to replace Windows-only dependencies and windows-only code.
Itachi17

Trung_Rinto wrote:

aus4000 wrote:

Literally the whole C:\Windows\Fonts. Probably unnecessary to take all of them (1,240 fonts!), but I guess it did the trick :D

I'll also note that they weren't working until I nuked ~/.wine32. Just remember to move osu! somewhere safe (I have mine placed in ~/Games/osu!) before you accidentally delete it!

Ironically, now only JAPANESE displays as weird blank box. Both Korean and Chinese (Simplified and Traditional) worked fine. Tried to install fakejapanese :

WINEPREFIX=~/.wine32 WINEARCH=win32 winetricks -q fakejapanese

It'll pop out some Takao fonts in the ~/.wine32/drive_c/windows/Fonts. Also tried to manually copy those files to the ~/.local/share/fonts but no use. Any idea?
Try to run osu! like this:
WINEPREFIX=/path/to/prefix LANG="ja_JP.UTF8" wine path/to/osu.exe
_Kuroni_

Itachi17 wrote:

Try to run osu! like this:
WINEPREFIX=/path/to/prefix LANG="ja_JP.UTF8" wine path/to/osu.exe
Nah, doesn't work.
based_bluetawn

YaLTeR wrote:

You forgot about mono. The devs probably just need to replace Windows-only dependencies and windows-only code.
You really can't since 1: microsoft owns that code 2: it is compiled and takes work to decompile.

What osu relies on besides net framework is windows libraries. It's the software interface the OS provides to programs for different features (like getting system time or accessing a usb device). Linux and other *nix/UNIX oses try to be POSIX compliant which means all (or most) programs work on all similar OSes. That's why you can run x program on all linux distros. Windows doesn' try to be POSIX compliant. It can be, but you are porting linux libraries to windows and stacking things on top instead of actually fixing the problem.

Anyone got a fix for net 4.5.2? :x
YaLTeR
Yeah that's exactly why osu! is working on OSX natively right now, because it's not possible.
based_bluetawn
the OSX version is a portable WINE
Itachi17

based_bluetawn wrote:

YaLTeR wrote:

Anyone got a fix for net 4.5.2? :x
Just create a new 32 bit prefix and install dotnet45.
winetricks dotnet45 corefonts
AGRX

based_bluetawn wrote:

argh! The latest update requiring dotnet 4.5.2 broke wine! Installing dotnet20 on a 32 bit prefix then dotnet 45 gives me an error saying dotnet20 is already installed!

NoYzE wrote:

how about native with osu next?^^
I really doubt it. net framework is ONLY windows. The devs would need to port osu to an engine (godot or unity?) and deploy from there or use a platform independent language like C++. I don't understand why they update to the latest net framework when I don't notice any new game features being dependent on them.
OS X and Linux osu will be using monogame and run under mono framework and OpenGl.
YaLTeR

based_bluetawn wrote:

the OSX version is a portable WINE
The OSX version is using Mono.
AGRX

YaLTeR wrote:

based_bluetawn wrote:

the OSX version is a portable WINE
The OSX version is using Mono.
No osx version is portable WINE at the moment people are also complaining about bad performances and latencies.
Mono is mainly developed for Linux but also for Mac.
YaLTeR
I meant the native version currently in development.
Chronody

based_bluetawn wrote:

Anyone got a fix for net 4.5.2? :x
I fixed it by making a fresh WinePrefix, installing dotnet45 with:
$ WINEPREFIX="PATH/TO/PREFIX" winetricks -q dotnet45 corefonts

Afterwards installing osu (as usual) with:
$ WINEPREFIX="PATH/TO/PREFIX" wine osu!install.exe
but with this it still had unplayable performance.
To fix that i simply changed the update stream to experimental/cutting-edge and restarted osu!.

Now it's playable again :)

(I have a Ubuntu 14.04 64-Bit System and wine 1.7.44)

Hope this helps :D

Edit: One drawback i just noticed, is that you need a supporter tag to play multiplayer in the experiemental update stream!
luka-devnull

Trung_Rinto wrote:

Ironically, now only JAPANESE displays as weird blank box.
Oh wow. At least we're getting somewhere!
It'll pop out some Takao fonts in the ~/.wine32/drive_c/windows/Fonts. Also tried to manually copy those files to the ~/.local/share/fonts but no use. Any idea?
It has to be C:\Windows\Fonts from a Windows computer, not the wineprefix. I'll have to dig around and see what fonts are really needed. You also need to refresh your font cache after you add fonts to ~/.local/share/fonts otherwise they won't show up at all. Logging out and logging back in should do the trick if you're using a DE.


based_bluetawn wrote:

I really doubt it. net framework is ONLY windows.
While that is true, based peppy has been moving stuff over to MonoGame AFAIK, which will make it cross-platform. :)
_Kuroni_

aus4000 wrote:

It has to be C:\Windows\Fonts from a Windows computer, not the wineprefix. I'll have to dig around and see what fonts are really needed. You also need to refresh your font cache after you add fonts to ~/.local/share/fonts otherwise they won't show up at all. Logging out and logging back in should do the trick if you're using a DE.
So I tried copying some Sazanami and Kochi (Gothic and Mincho) but no works. Also I've been logging on and off, restarting the machine, even nuking the wineprefix to do everything from scratch. No works at all.

Oh well, at least I can see some Korean characters in game chat :D
Ponii-chan
I finally managed to run osu!

I'm a complete noob and I could not install it because:

1) When I installed .net 2.0, and then tried to run osu installer, it said: "Hi! Could not install .NET. Click here to manually install and download."
2) I though that maybe I had to upgrade .NET to 4.5, but I had to install dotnet30 first, and it gave me a setup error every time.
3) I tried PlayOnLInux approach but of course it also gave me an error...

So I finally tried to run osu that I used on windows and which I copied to linux. I followed what this good person said in the first few minutes of this video https://www.youtube.com/watch?v=7RwEBXVx7UU and I finally managed to run osu!

So if you're as mentally challenged as I am and get errors every time you do something, then download osu! on windows (maybe ask a friend if you don't have windows yourself), copy the whole folder to linux, follow the steps from the aforementioned video and enjoy osu!.

I have to run osu from the terminal, but it's not a such a big deal and probably there is a better way to do this which I don't know (I made a script and it seems to work.

Hopefully everyone else can use the installer and don't have to use such primitive methods, and hopefully it's ok to run osu like that.

Thank you for reading my cool story.
TheCoffeeLord

Ponii-chan wrote:

https://www.youtube.com/watch?v=7RwEBXVx7UU
Shit, I don't get this at all. Not to bash on that dude's English, but I couldn't follow the directions at all. I'm a noob at Linux, so that's probably why. Anyway, I already have a windows installation of osu! from a while back and I put it in my wine folder for osu!. What do I do now?
Ponii-chan

TheCoffeeLord wrote:

Ponii-chan wrote:

https://www.youtube.com/watch?v=7RwEBXVx7UU
Shit, I don't get this at all. Not to bash on that dude's English, but I couldn't follow the directions at all. I'm a noob at Linux, so that's probably why. Anyway, I already have a windows installation of osu! from a while back and I put it in my wine folder for osu!. What do I do now?
Ok, I'll tell you everything I had to do in order to play osu!. I use Ubuntu 14.04 btw, but it should work on most linux versions. Anyway, that's what you have to do in order to play osu! using this method:

1) Install osu! on windows and copy the entire folder to your linux folder. It doesn't have to be a wine folder. In fact, I'd say that it is better if it is not there. I have my osu! folder on a different partition and it works great. Wherever you put it, remember the path to your osu! folder.

2) Download and install wine. It should work on most wine versions, I use 1.6.2 and it works.

3) Navigate to your home folder and press ctrl+H. It'll show hidden folders. Look for a folder named .wine (notice the dot). If this folder was made as a 32-bit folder, then I guess you can skip this step and step 4 (not sure though). If it's 64-bit or you don't know whether it's 32 or 64, then rename the old .wine folder to something else, like .wine2. If you don't have the .wine folder, then you can move on to step 4.

4) Open the terminal (ctrl+alt+T on ubuntu) and copy & paste the following command:

WINEARCH=win32 winecfg

It'll make a new .wine folder with a 32-bit prefix. You need a 32-bit version to install .NET in the next step.

5) When wine finishes making the new .wine folder, go to terminal again and put in this command:

winetricks dotnet20

This will download and install .NET required to run the game. Follow the instructions and install it.


Congratulations! Now you can play osu!. Go to your osu! folder and double click the exe file, or right-click -> open with -> wine.

I guess you could create a shortcut on your desktop, but I have no idea how to do it. Just keep in mind that I'm a linux noob myself, so there's probably a better way to do all this.
TheCoffeeLord
Thank you so much! This is the first time I've been able to even get it running.

Unfortunately it seems to be running very poorly. I tried switching to OpenGL and it refused to let me do so, and I couldn't switch to Cuttingedge either. I tried changing both of those settings in the config file but that didn't work. Also, the player controls are missing.

Oh well, if I can't figure it out I suppose I could just dual-boot.
_Kuroni_

TheCoffeeLord wrote:

Unfortunately it seems to be running very poorly. I tried switching to OpenGL and it refused to let me do so, and I couldn't switch to Cuttingedge either. I tried changing both of those settings in the config file but that didn't work. Also, the player controls are missing.
Try doing this:

WINEPREFIX=~/.wine WINEARCH=win32 winecfg

Open the Graphics tab, turn on both the "Capture mouse...blah blah blah sth" and "Use Native DirectX 9 ... blah blah blah" or something like that (remember to turn on both). It is much less laggy and actually pretty nice to play without any delay of input.
based_bluetawn
Is it possible to run osu with opengl on linux? It would make sense.
_Kuroni_

based_bluetawn wrote:

Is it possible to run osu with opengl on linux? It would make sense.
No idea. Maybe no
Poku
Used on mint with other commands and it works great :>
YaLTeR
Got the latest Cutting Edge set up and working with dotnet45. 2000+ FPS consistently (which is way better than what it was on Linux), universal offset is -30 (compared to 0 on Windows) and there's a slight keyboard input delay: I have to hit the keyboard keys earlier (however I don't notice any mouse / tablet input delay).
ccxex29

based_bluetawn wrote:

Is it possible to run osu with opengl on linux? It would make sense.
it makes no sense.. Linux doesnt have directx, so it runs osu in opengl mode eventho it shows its on dx mode.. if you want to use directx mode, then u need to install library for directx..
Seri
I tested osu! cutting edge (and beta) on linux mint with the latest wine and winetricks (winetricks corefonts dotnet45) and encountered this strange issue:


Note how the game objects (sliders, approachcircles, etc) are really laggy, but everything else (score/combo animation, the combo stars flying around, all the menus, the cursor when auto is off) is perfectly smooth. (the frametimes are okay too!)

Keep in mind that this was done in a VM (so ignore the major audio desync and poor overall performance), but a friend of mine confirmed this on his desktop PC as well.

@YaLTeR: Did you anything besides "winetricks dotnet45" in a 32 bit wineprefix?
YaLTeR

Seri wrote:

@YaLTeR: Did you anything besides "winetricks dotnet45" in a 32 bit wineprefix?
(path points to a non-existent folder right now, winecfg will create it)
WINEPREFIX=path WINEARCH=win32 winecfg
(set up username and organization, checked the autocapture mouse in fullscreen applications tick)
WINEPREFIX=path WINEARCH=win32 winetricks -q dotnet45 corefonts
(it somehow worked, previously it'd get stuck on dotnet30)
Copied osu!install.exe (the one that doesn't download the .NET Framework itself) to "path/drive_c/Program Files/osu!", cd'd there, WINEPREFIX=path WINEARCH=win32 osu\!install.exe
show more
Please sign in to reply.

New reply