forum

Solution: Running osu! In Ubuntu or Xubuntu

posted
Total Posts
943
show more
mekadon_old

Espionage724 wrote:

mekadon wrote:

Sliders look terribly ugly
Fonts look terrible (maybe I should change the font rendering in wineprefix, but I'm kinda sleepy so doing that later when I wake up)
Not entirely sure what's up with the sliders (maybe try the Force slider setting from osu!'s Options), but as for Fonts, maybe try installing gdiplus with winetricks?
Tried forcing slider rendering, doesn't work. Gdiplus helps with my fonts though.

Another interesting thing I find, the window moves by itself when on Taiko mode.



I'm not sure if it's due to my window manager (dwm), but I made an openbox session (just a tiny edit on ~/.xinitrc), and it works...
m42a
Yeah, that happens on xmonad as well. If I sink the window and force it to tile it stops moving. I think the window border is messing it up.
Espionage724

m42a wrote:

Yeah, that happens on xmonad as well. If I sink the window and force it to tile it stops moving. I think the window border is messing it up.
Hmm from winecfg, try toggling the settings that reference to controlling Windows and Borders.
m42a
Both the "Allow the window manager to decorate the windows" and "Allow the window manager to control the windows" work when unchecked, but they cause ugly and out-of-place Windows-style titlebars to be drawn on top of the window and cause the osu! cursor to be offset from the actual mouse position. Emulating a virtual desktop and running osu! in fulscreen also works, but then I can't see the window title. Sinking the window is, IMO, the least bad option.
mekadon_old

m42a wrote:

Emulating a virtual desktop and running osu! in fulscreen also works, but then I can't see the window title. Sinking the window is, IMO, the least bad option.
What does sinking a window mean? I know it's a term used in xmonad, but I'm not sure how do they call it in DWM.
Maybe I'll try get osu! running on qemu, but I don't really want to install things I don't use often lol. Maybe I should just load an openbox session instead of DWM in ~/.xinitrc, but it's really a pain editing every time I want to play osu! (btw other games I tried that run on wine works fine)
m42a
I'm not sure how much this applies to dwm, but in xmonad, there are 2 types of windows: floating windows, and sunk windows. Floating windows can be moved around and resized using the mouse. Sunk windows are arranged by the window manager rather than the user. So if you sink osu!, when it tries to move the window manager says "No, you go over there" and the window stays in the same spot.

And when I say "virtual desktop" I don't mean something like qemu or virtualbox. In winecfg, there's an option under the Graphics tab to create a windows desktop to run the wine program on rather than letting it use your Linux desktop. This desktop acts like a window in your Linux desktop with Windows windows inside it. If you run osu! in fullscreen there's only 1 window, so it looks normal.
Katsuo_old_1
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?
ukeluppi
can someone upload a video on how to install that I can not really
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!
show more
Please sign in to reply.

New reply