forum

Solution: Running osu! In Ubuntu or Xubuntu

posted
Total Posts
943
show more
ukeluppi
can someone upload a video on how to install that I can not really
boat
If doing it manually seems too complicated (even though it really isn't), install playonlinux http://www.playonlinux.com/en/download.html and use this script to install osu! http://www.playonlinux.com/en/app-1856-osu.html

It's pretty much literally the same procedure, just that the script does it for you.
Espionage724

Katsuo wrote:

when i try to wine osume.exe i get this:

Unhandled Exception:
System.InvalidProgramException: Invalid IL code in #ryb.#syb:#Zqb (string[]): IL_0165: stloc.3


[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL code in #ryb.#syb:#Zqb (string[]): IL_0165: stloc.3

can someone help me? I added repository, i also setup 32-bit prefix for wine, i have installed net framework 2.0... any ideas?
Hmm, that error particularly I believe occurs when dotnet20 wasn't installed properly. I might recommend trying it again.
ukeluppi
the specified location is not supported???? no found!!!! help meee please
ukeluppi

boat wrote:

If doing it manually seems too complicated (even though it really isn't), install playonlinux http://www.playonlinux.com/en/download.html and use this script to install osu! http://www.playonlinux.com/en/app-1856-osu.html

It's pretty much literally the same procedure, just that the script does it for you.

^the specified location is not supported^ no found! help me
Espionage724

ukeluppi wrote:

boat wrote:

If doing it manually seems too complicated (even though it really isn't), install playonlinux http://www.playonlinux.com/en/download.html and use this script to install osu! http://www.playonlinux.com/en/app-1856-osu.html

It's pretty much literally the same procedure, just that the script does it for you.

^the specified location is not supported^ no found! help me
Can you get the screenshot or quote of the exact problem?
ukeluppi
Espionage724
Hmm, I'm unsure about how to troubleshoot POL issues, but last time I checked, I believe the process was pretty smooth. Only thing I could suggest is to maybe start over from the beginning and remove the old osu! install.
bahamete
Okay, here are my general points of advice for running osu! in Arch Linux (I recently bought a new hard drive and had to do it all again)
1. Create a NEW, FRESH 32-bit wineprefix. ($ WINEARCH=win32 WINEPREFIX='~/.wine'; rm -rf ~/.wine; wine 'wineboot') or so
2. Install .NET 2.0 ($ winetricks dotnet20)
3. Install image libraries. (# pacman -S lib32-libpng lib32-giflib lib32-libjpeg-turbo)
4. Install graphics libraries. (# pacman -S lib32-mesa) but choose your graphics card of course ($ lspci | grep VGA)
4. Set proper audio output in Wine. ($ winecfg)

DO NOT run osu! with Mono though that seems counter-intuitive; it will immediately throw an InvalidProgram exception.
If you get pink sliders and backgrounds do not load, etc, you need the 32-bit image libraries mentioned above.
If you aren't using open-source driver for your graphics card, you probably should be, but it's your system so you know best.

These steps work for me. It is very finicky but once you get it, it should run absolutely fine. Good luck
ukeluppi

bahamete wrote:

Okay, here are my general points of advice for running osu! in Arch Linux (I recently bought a new hard drive and had to do it all again)
1. Create a NEW, FRESH 32-bit wineprefix. ($ WINEARCH=win32 WINEPREFIX='~/.wine'; rm -rf ~/.wine; wine 'wineboot') or so
2. Install .NET 2.0 ($ winetricks dotnet20)
3. Install image libraries. (# pacman -S lib32-libpng lib32-giflib lib32-libjpeg-turbo)
4. Install graphics libraries. (# pacman -S lib32-mesa) but choose your graphics card of course ($ lspci | grep VGA)
4. Set proper audio output in Wine. ($ winecfg)

DO NOT run osu! with Mono though that seems counter-intuitive; it will immediately throw an InvalidProgram exception.
If you get pink sliders and backgrounds do not load, etc, you need the 32-bit image libraries mentioned above.
If you aren't using open-source driver for your graphics card, you probably should be, but it's your system so you know best.

These steps work for me. It is very finicky but once you get it, it should run absolutely fine. Good luck
I really do not understand anything, you could upload a video tutorial
bahamete

ukeluppi wrote:

I really do not understand anything, you could upload a video tutorial
Maybe, if you don't understand what I said or don't want to research the stuff, Linux isn't really for you. :)
I would do a video tutorial but I think my explanation is good enough... I am getting a new laptop soon and I will try and install osu! on there, too. I will make note of everything I do from a fresh Arch install.

The 5 stuff in my post I wrote in brackets, you must type them in a terminal, but please research all the commands I posted so you don't do anything silly - in particular, 'rm -rf ~/.wine' will remove your entire Wine prefix.

For those Arch users, I realised there is an "osu!" package on the AUR (https://aur.archlinux.org/packages/osu/). I haven't tried it, yet.
mekadon_old

bahamete wrote:

For those Arch users, I realised there is an "osu!" package on the AUR (https://aur.archlinux.org/packages/osu/). I haven't tried it, yet.
judging at the pkgbuild it should be pretty much the same anyway. Also for convenience I just write a bash script that launches the game and dumped it into /usr/bin so that I can run it with dmenu
Frizz
Decided to give myself a try on Xubuntu 12.04. Would have used Arch but due to its bleeding-edge nature it tend to give me packages which were not "just works" and actually made me go nuts. Also pacman managed to screw up my system half a year ago too.

Loads up fine although it takes a while. Framerate can never get past 60fps no matter what I do (245fps max on Win7 though) and I get both input and audio delay which are really noticeable in standard mode but it's rather less noticeable in osu!mania. Framerate would drop down to <35fps in some cases especially on beatmap select. The only biggest problem in here is that the slider shows up pitch black (and virtually invisible with 100% background dim).

Sakisan

Katsuo wrote:

when i try to wine osume.exe i get this:

Unhandled Exception:
System.InvalidProgramException: Invalid IL code in #ryb.#syb:#Zqb (string[]): IL_0165: stloc.3


[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL code in #ryb.#syb:#Zqb (string[]): IL_0165: stloc.3

can someone help me? I added repository, i also setup 32-bit prefix for wine, i have installed net framework 2.0... any ideas?
I had the same error.

And I found earlier in this thread that boat had this error too.

boat wrote:

Well I got it running without reinstalling, I just messed up the prefix step..
I had to make sure to do
export WINEPREFIX=/path/to/wine32
before
wine osume.exe

I also had some trouble running the game.
in winecfg I checked the emulated esktop (in the graphics tab)
and in the osu!<username>.cfg file I changed the resolution to match the resolution of the emulated desktop,
Only thing left to make it playable is the framerate I guess
Rori Vidi Veni
mumumumumumumumumum
boat
I don't got linux available as of now so I can't really test things out but I've posted on the POL forums for some help, I'll get back to you once I've gotten a reply.

In the meantime you could try launching it through the terminal using LANG=ja_JP.UTF-8 wine osu.exe

From what I've gathered though I can not promise anything, at least not through POL alone as it can't set the LANG variable on it's own.
ukeluppi
Please Video!!!! tutorial please
boat
Apparently it can set the LANG variable, so if anybody wants to test this out, I would highly appreciate it.
Save this http://www.boaty.org/POL/osu%21installer and run it through "Tools > Run a local script"
Here's a map with Japanese characters to test it out with https://osu.ppy.sh/s/106
edit: tested it myself and the Japanese didn't work, unfortunately.

ukeluppi wrote:

You're using osu!install.exe. Either you altered my script, you're using a different one or you're trying to install it without one at all, which doesn't work and generates this error message.

If you can't install it manually you can find my script here here, in the link above (osu!installer) or through the POL client.
ukeluppi
url failed playonlinux help meee
mekadon_old
https://imgur-archive.ppy.sh/uARrAKj.png

Got this. It works fine few weeks ago though (I'm guessing it's because of updates, since arch)
EDIT: Reconfigured wine again and worked again. Huh.

boat wrote:

In the meantime you could try launching it through the terminal using LANG=ja_JP.UTF-8 wine osu.exe
Didn't work for me either, installed takao/tahoma just in case and still didn't work.
boat
I imagine for it to work you first have to install and configure a Japanese locale, which will take some time for me to sort out a script for, if that would even be possible to do through POL.

I'll look into it but I don't have much time to spare so don't expect it any time soon, not from me at least.

ukeluppi wrote:

url failed playonlinux help meee
?

If you can't get a visual installer from the official POL script repository to work then perhaps you should reconsider your choice of OS.

There is nothing wrong with the script itself, all you have to do is run it, not the osu!installer.exe.



Step 1. Download and install PlayOnLinux for your respective distribution.

Step 2. Install Wine through your respective Software Manager (i.e Ubuntu's Software Center) or download and install it from WineHQ.

Step 3. To install osu! with the script from the official POL repository;

Navigate to File > Install
Tick the "Testing" checkbox
In the search bar, type in "osu". You should now see the script listed, select it and press the Install button.

Step 4. Follow the installation instructions. It's not rocket science.

Alternative installation instructions;
Download and extract the osu!installer package from here. In the PlayOnLinux client, navigate to Tools > Run a local script and load the osu!installer script, then follow the installation instructions.

jeez
mekadon_old
I actually found the solution. What I did was copy all my fonts from Windows into ~/.wine/drive_c/windows/Fonts (I think just copying msgothic.ttf msmincho.ttf is enough, my entire font folder in Windows is almost 1GB ._.) and Japanese fonts finally works

so what do you want to do for yout POL script is probably wget these fonts into the font folder in wine

I uploaded them, for those who need it,
http://nadeko.tsundere.my/dump/msgothic.ttc
http://nadeko.tsundere.my/dump/msmincho.ttc

Those who got the same issue, just copy the two fonts into ~/.wine/drive_c/windows/Fonts, you don't need to $ export LANG="ja_JP.UTF-8" I think.
mmnah
Hi.

Too lazy to read the entire thread, so i'll just ask here.
I'm planning on using ArchLinux as my main OS at the desktop PC. And the only thing i'm aware of is osu! performance under wine.
Can someone report their pc configuration and fps you got under linux? Also, if you can, tell me the fps you got on the same machine under windows.
mekadon_old

ohyou wrote:

Hi.

Too lazy to read the entire thread, so i'll just ask here.
I'm planning on using ArchLinux as my main OS at the desktop PC. And the only thing i'm aware of is osu! performance under wine.
Can someone report their pc configuration and fps you got under linux? Also, if you can, tell me the fps you got on the same machine under windows.
~120fps with a laptop with Core i7-3517U @ 3GHz, 1GB AMD Radeon 7570M, 8GB RAM and the game at 800*600 resolution.
~400fps on Windows on 1366*668 resolution, 800*600 is around ~800-1000fps
ukeluppi
I do not understand, my English is bad, playonlinux not found There is an easier method :( :( :( :( :( :( :( :( :( :( :( :( :( :(
Sakisan
I have 60-80 fps in linux
and 1500-3000 fps in windows ^^'

I found instructions on how to improve fps in wine, but it involves recompiling the kernel. Seems very risky as I haven't ever done that before. :p
boat
Updated installer with the fonts. Korean requires the title to be romanized and Chinese should work as well.

http://www.boaty.org/POL/osu%21installer
http://www.boaty.org/POL/osu%21installer.tar.gz

these are invalid, I'll edit this when I've fixed them, in the meantime use the script from the pol repository

Or just download the fonts yourself and as mekadon already pointed out put them into the /windows/fonts/ folder.
http://www.boaty.org/POL/msgothic.ttc
http://www.boaty.org/POL/msmincho.ttc
Score_Under
I'm running Arch Linux with a Radeon HD 7770, and I have quite a few issues running Osu. After the first couple of songs (it varies) the game will start consistently crashing before any song can be played, and on some startups the sound just doesn't work at all. I've tried both with boat's POL installer and with the AUR installer. There are several places it likes to crash:
  1. Exiting the options screen
  2. Entering the song list screen
  3. Picking a song (but not yet picking the difficulty), after a couple of seconds
  4. Picking the difficulty, before the song loads -- by far the most common and so far I haven't managed to get past this after my first couple of times
Nothing is printed in the terminal around the time of the crash. Is there anything I can use to debug this, or has someone solved a similar problem?
kouzuki_karen
I got osu! to run on Linux Mint, however I have a problem with text strings in the game, which seem to get cut off near the end of the text. Also, when I make a link for the osu!.exe and run it, osu just crashes on startup. What can I do to fix these issues?

(I followed this to set it up)
Espionage724

Frizz wrote:

...Framerate can never get past 60fps no matter what I do (245fps max on Win7 though) and I get both input and audio delay which are really noticeable in standard mode but it's rather less noticeable in osu!mania. Framerate would drop down to <35fps in some cases especially on beatmap select.]
Try using the enviroment variable vblank_mode=0 if you haven't already.
mmnah

mekadon wrote:

ohyou wrote:

Hi.

Too lazy to read the entire thread, so i'll just ask here.
I'm planning on using ArchLinux as my main OS at the desktop PC. And the only thing i'm aware of is osu! performance under wine.
Can someone report their pc configuration and fps you got under linux? Also, if you can, tell me the fps you got on the same machine under windows.
~120fps with a laptop with Core i7-3517U @ 3GHz, 1GB AMD Radeon 7570M, 8GB RAM and the game at 800*600 resolution.
~400fps on Windows on 1366*668 resolution, 800*600 is around ~800-1000fps

Sakisan wrote:

I have 60-80 fps in linux
and 1500-3000 fps in windows ^^'

I found instructions on how to improve fps in wine, but it involves recompiling the kernel. Seems very risky as I haven't ever done that before. :p
Thank you kindly.
Aposke
Hi, I have a quick question regarding importing beatmaps. I went through the tutorial at the beginning of the thread and everything works like a charm, except directly loading beatmaps via the "open with osu!" option in the browser download window doesn't work – that's not a big issue in itself, but I didn't notice that until I had tried importing several beatmaps that way. Now I just copy/paste them into the "Songs" folder, but those few beatmaps I tried importing directly are now "permanently" broken for my installation, even if I delete and re-download them. That's why I'd like to know if there's any way of clearing the "Failed Imports" cache of the program without reinstalling it (I'm kinda afraid of re-installing since this is the first time I got osu! to run this smoothly under Linux and I don't want to risk breaking my install).

Thanks in advance for your answers!
boat
What makes you think reinstalling will break anything though?
Gaelephant
Espionage724's guide on first post still working for 'buntu 13.10 i386.
Thank you so much, I wa unable to make osu! work in debian, even in sid. virtualbox+ubuntu working fine !
bahamete
If you only seem to get 60fps, use

vblank_mode=0 wine osu\!.exe

(Or however you normally invoke osu!), It makes your graphics card ignore your monitor's refresh rate (which is probably 60fps).
However, why people want to play with over 60fps is beyond me. It causes tearing and unnecessarily wastes battery life.
Aposke
Wow, the snow update somehow broke my osu! installation on Ubuntu 12.10. and now I can't start up the program at all, not even if I try re-installing it.
For some VERY strange reason this update also seems to have had some weird effect on my wine installation, as I keep getting the "winemenubuilder.exe has encountered a serious error" problem , no matter what I try to start with wine.

Also, @boat: Something always breaks when I try to tinker around with it under Linux. No exceptions. This time, even pressing the "update" button was enough. :/

edit: Suddenly started getting a more precise error message from osu!.exe: "Application has generated an exception that could not be handled. Process ID=0x24 (36), Thread ID=0x25 (37)."
zed-kun_old

Aposke wrote:

Wow, the snow update somehow broke my osu! installation on Ubuntu 12.10. and now I can't start up the program at all, not even if I try re-installing it.
For some VERY strange reason this update also seems to have had some weird effect on my wine installation, as I keep getting the "winemenubuilder.exe has encountered a serious error" problem , no matter what I try to start with wine.

Also, @boat: Something always breaks when I try to tinker around with it under Linux. No exceptions. This time, even pressing the "update" button was enough. :/

edit: Suddenly started getting a more precise error message from osu!.exe: "Application has generated an exception that could not be handled. Process ID=0x24 (36), Thread ID=0x25 (37)."
I'm getting the exact same error - winemenubuilder.exe breaks as of the 15th's snow update.
If you want to set WINEDEBUG=warn+all you'll be able to see all sorts of ridiculous messages you probably don't care about - https://gist.github.com/plausibility/7982450 has a wine debug stack trace and all that jazz.

Peppy, what have you done to us poor Linux users? :(
m42a
I can also confirm this problem.
zed-kun_old
Sort of a fix in the mean time - I pulled an older version of osu (from a few days ago) from my laptop and dropped that into my wine folder and ran that directly.
You can get it here if you want to try yourself: http://gibsonsec.org/~zed/files/osu!.exe (md5sum: d47ef68157ed98a4973a7b0d53eddc78)
Hopefully peppy won't mind me distributing this as a fix in the mean time.
Aposke

zed-kun wrote:

Sort of a fix in the mean time - I pulled an older version of osu (from a few days ago) from my laptop and dropped that into my wine folder and ran that directly.
You can get it here if you want to try yourself: http://gibsonsec.org/~zed/files/osu!.exe (md5sum: d47ef68157ed98a4973a7b0d53eddc78)
Hopefully peppy won't mind me distributing this as a fix in the mean time.
Thanks a lot, sir! This version works flawlessly. Now to remember not to update it until the end of winter! :P
show more
Please sign in to reply.

New reply