forum

osu-wine with prepackaged Wineprefix, almost 100% guaranteed working

posted
Total Posts
107
Topic Starter
Forefront
Gonna hop right in.

Quick information
  1. Winetricks-free
  2. Pretty much guaranteed to work, as it skips out the hard part (winetricks)
  3. Full support for CJK characters (VL PGothic + MS YaHei) and no graphical glitches (gdiplus installed)
  4. Uses dotnet45


Instructions

1. git clone https://gitlab.com/osu-wine/osu-wine

2. cd osu-wine

3. sudo ./install.sh

	# READ CAREFULLY THE QUESTIONS!

4. osu-wine

	# AGAIN, CAREFULLY READ THE QUESTIONS!

5. You're done! 



Extras
<!> Before proceeding, please run the following command:
cp /etc/osu-wine.conf ~/.osu-wine.conf


Marc's Rich Presence ---
  1. Open ~/.osu-wine.conf
  2. Find variable marcRPC and change false to true

ThePooN02's Wine --- WARNING! Variable install_wine_osu is VERY EXPERIMENTAL! Do not touch it!
  1. Open ~/.osu-wine.conf
  2. Find variable PATH and uncomment it (remove the preceeding #)
  3. Optional, uncomment variable STAGING_AUDIO_DURATION

Disclaimer: double check that Poon's Wine is in /opt/wine-osu/bin

Update:
Wine 5.7 should be tried first before attempting to compile/install other patched Wine versions. The reason being Wine 5 seemed to have greatly improved audio latency for games including osu!. This has been confirmed by a lot of people.

Credits
  1. Original osu-wine script: https://github.com/Nefelim4ag/osu-wine
  2. Wineprefix from https://gitlab.com/osu-wine/osu-wineprefix along with information
  3. Rich Presence from https://github.com/Marc3842h/rpc-wine
  4. Poon's patched Wine available in his blog at https://blog.thepoon.fr/osuLinuxAudioLatency/
  5. Article on fixing most installer issues including loops: https://www.gloriouseggroll.tv/how-to-get-out-of-wine-dependency-hell/


If you just want a wrapper, you can use the improved osu-wine script with no pre-packaged Wineprefix at https://gitlab.com/diamondburned/osu-wine

hmmm





Picture from -zaw


Troubleshooting

Stuck in a loop or the updater
Ubuntu (unconfirmed)
sudo apt install -y libc6 libgcc1 libglib2.0-0 libgphoto2-6 libgphoto2-port12 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 liblcms2-2 libldap-2.4-2 libmpg123-0 libopenal1 libpulse0 libudev1 libx11-6 libxext6 libxml2 zlib1g libasound2-plugins libncurses5 libcapi20-3 libcups2 libdbus-1-3 libfontconfig1 libfreetype6 libglu1-mesa libgnutls30 libgsm1 libgssapi-krb5-2 libgtk-3-0 libjpeg8 libkrb5-3 libncurses5 libodbc1 libosmesa6 libpcap0.8 libpng16-16 libsane1 libsdl2-2.0-0 libtiff5 libv4l-0 libva-drm2 libva-x11-2 libva2 libvulkan1 libxcomposite1 libxcursor1 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 libxslt1.1 libxxf86vm1

Arch
sudo pacman -S giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo libxcomposite lib32-libxcomposite libxinerama lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader cups samba dosbox


Illegal insructions on osu-wine
Due to incompatible CPU architectures and all the jazz I won't be going into details, you have to recompile wine-osu on AUR.


Edit1: Fixed image
Edit2+3: Added info
Edit4: Added extra troubleshoots
-zaw
worked 100% for me
php
works like a charm, the only solution i found for my osu to work on arch, +1
natemonster321
Works great, nothing else i tried worked on my Void install. already transferred all my beatmaps
Xmgplays
Where does this install osu! in? I'm getting the discord-rpc.dll bug during updates and need to know to fix it.
php

Xmgplays wrote:

Where does this install osu! in? I'm getting the discord-rpc.dll bug during updates and need to know to fix it.

What you have to do is move the /osu-wine/static/discord-rpc.dll to your ~/.local/share/osu-wine/OSU and it will work.
Xmgplays

Louse wrote:

Xmgplays wrote:

Where does this install osu! in? I'm getting the discord-rpc.dll bug during updates and need to know to fix it.

What you have to do is move the /osu-wine/static/discord-rpc.dll to your ~/.local/share/osu-wine/OSU and it will work.



I did that but now I'm having trouble starting it after exiting i.e. I have to reinstall to run it for a second time otherwise it just stays at 0% cpu usage even after I kill and restart it.
Topic Starter
Forefront

Xmgplays wrote:

Louse wrote:

Xmgplays wrote:

Where does this install osu! in? I'm getting the discord-rpc.dll bug during updates and need to know to fix it.

What you have to do is move the /osu-wine/static/discord-rpc.dll to your ~/.local/share/osu-wine/OSU and it will work.



I did that but now I'm having trouble starting it after exiting i.e. I have to reinstall to run it for a second time otherwise it just stays at 0% cpu usage even after I kill and restart it.


If you have to put discord-rpc.dll there, that means you're missing something. Usually, when the installer flashes and/or is stuck, you put the dll there. If you put the dll there beforehand, the installer will not install in the right place.

My recommendation: remove the dll.

Some useful resources: https://www.gloriouseggroll.tv/how-to-get-out-of-wine-dependency-hell/

P/S: The installer, by default, installs into ~/.local/share/osu-wine. This can be changed in either `/etc/osu-wine.conf` (not recommended) or `~/.osu-wine.conf`.
GamezombieCZ
Maybe I'm doing something wrong or something is missing on my system, but I'm getting loop on updater (Ubuntu based distro).
I had an same issue before.
https://drive.google.com/file/d/1KzDauunkOICH9jvAPJ3fjmzyPXA01jPO/view?usp=sharing
Topic Starter
Forefront

GamezombieCZ wrote:

Maybe I'm doing something wrong or something is missing on my system, but I'm getting loop on updater (Ubuntu based distro).
I had an same issue before.
https://drive.google.com/file/d/1KzDauunkOICH9jvAPJ3fjmzyPXA01jPO/view?usp=sharing


That is intended. As stupid as it sounds, `update` is literally an uninstall and install. You can run `osu-wine` safely.
GamezombieCZ

Forefront wrote:

GamezombieCZ wrote:

Maybe I'm doing something wrong or something is missing on my system, but I'm getting loop on updater (Ubuntu based distro).
I had an same issue before.
https://drive.google.com/file/d/1KzDauunkOICH9jvAPJ3fjmzyPXA01jPO/view?usp=sharing


That is intended. As stupid as it sounds, `update` is literally an uninstall and install. You can run `osu-wine` safely.

I mean I can reinstall it, but same issue is there, that updater.
Maybe bad dir.
There is topic with that loop, but it's same thing on my Linux system:
https://osu.ppy.sh/community/forums/topics/339238
Topic Starter
Forefront

GamezombieCZ wrote:

Forefront wrote:

GamezombieCZ wrote:

Maybe I'm doing something wrong or something is missing on my system, but I'm getting loop on updater (Ubuntu based distro).
I had an same issue before.
https://drive.google.com/file/d/1KzDauunkOICH9jvAPJ3fjmzyPXA01jPO/view?usp=sharing


That is intended. As stupid as it sounds, `update` is literally an uninstall and install. You can run `osu-wine` safely.

I mean I can reinstall it, but same issue is there, that updater.
Maybe bad dir.
There is topic with that loop, but it's same thing on my Linux system:
https://osu.ppy.sh/community/forums/topics/339238


Add the file in during the loop, not before the loop. It should immediately stop looping. This is a common osu error on Wine, really.
getimiskon
Thanks for your post. It works nice on my PC (with some lags, because of my old graphics card). I use Ubuntu with XFCE (It isn't Xubuntu though... It's Ubuntu MATE actually).
Lesbea
What the hell are all these things for ? I only installed dotnet40 in a clean prefix + recovered discord-rpc.dll somewhere. And it's fine, I can't even feel latency, my pulseaudio is untouched, my local offset is 0. Am I just lucky with my hardware and confs, or the fact that I keep a minimum of stuff running is enough, or both (I don't use a desktop manager for example, and I close every single application to play) ?
NaMLiM
is the white flashing screen normal? coz everytime the background change the screen goes white for a sec.. even when playing the screen randomly goes to white

edit: turned on compatibility mode fix the random flashing
edit: turning on shaders seems the cause, so turn it off and u will never need compatibility mode

*sorry for my bad english
Topic Starter
Forefront

NaMLiM wrote:

is the white flashing screen normal? coz everytime the background change the screen goes white for a sec.. even when playing the screen randomly goes to white

edit: turned on compatibility mode fix the random flashing
edit: turning on shaders seems the cause, so turn it off and u will never need compatibility mode

*sorry for my bad english


The white flashing when you have Shaders on is caused by Intel (and possibly AMD Open Source) drivers. The problem isn't there on nvidia drivers though, so there's that.

Lesbea wrote:

What the hell are all these things for ? I only installed dotnet40 in a clean prefix + recovered discord-rpc.dll somewhere. And it's fine, I can't even feel latency, my pulseaudio is untouched, my local offset is 0. Am I just lucky with my hardware and confs, or the fact that I keep a minimum of stuff running is enough, or both (I don't use a desktop manager for example, and I close every single application to play) ?


I doubt you actually read the post, did you?

1. The patched discord-rpc.dll is for actual Discord RPC support on Linux
2. gdiplus fixes buttons and icons not appearing
3. Additional CJK fonts extend character support
4. Your local offset is set to 0 because you're used to it. I'm converting a few of my friends and they can tell the obvious difference, even after tweaking Wine and PulseAudio.

Sure, you can say that you installed dotnet40 and it "worked for you" or whatever. Keep in mind that you're oversimplifying this, and most beginners can't do this. That being said, installing dotnet is literally an RNG on Winetricks, sometimes it doesn't work. This script eliminates all of that.
Intel 8086
Following the instructions worked out like a charm for me, thanks for this!
Dozy Van

Forefront wrote:

GamezombieCZ wrote:

Forefront wrote:

GamezombieCZ wrote:

Maybe I'm doing something wrong or something is missing on my system, but I'm getting loop on updater (Ubuntu based distro).
I had an same issue before.
https://drive.google.com/file/d/1KzDauunkOICH9jvAPJ3fjmzyPXA01jPO/view?usp=sharing


That is intended. As stupid as it sounds, `update` is literally an uninstall and install. You can run `osu-wine` safely.

I mean I can reinstall it, but same issue is there, that updater.
Maybe bad dir.
There is topic with that loop, but it's same thing on my Linux system:
https://osu.ppy.sh/community/forums/topics/339238


Add the file in during the loop, not before the loop. It should immediately stop looping. This is a common osu error on Wine, really.


Im also having the looping issue. What do you mean by adding a file during the loop?
Coo1
This is amazing, thank you! My latency is a bit off at the moment (running Debian 9 with Stretch, PulseAudio), any recommendations to improve it? Messing with the offset wizard didn't seem to work. McOsu runs with minimual to no noticable latency issues, if that helps.

Edit: For anyone wondering, I used this guide to improve my latency immensely!
https://blog.thepoon.fr/osuLinuxAudioLatency/#adjusting-latency
Topic Starter
Forefront

nig123 wrote:

This is amazing, thank you! My latency is a bit off at the moment (running Debian 9 with Stretch, PulseAudio), any recommendations to improve it? Messing with the offset wizard didn't seem to work. McOsu runs with minimual to no noticable latency issues, if that helps.

Edit: For anyone wondering, I used this guide to improve my latency immensely!
https://blog.thepoon.fr/osuLinuxAudioLatency/#adjusting-latency


That's the guide I linked in the post.



Dozy Van wrote:

Forefront wrote:

GamezombieCZ wrote:

Forefront wrote:

GamezombieCZ wrote:

Maybe I'm doing something wrong or something is missing on my system, but I'm getting loop on updater (Ubuntu based distro).
I had an same issue before.
https://drive.google.com/file/d/1KzDauunkOICH9jvAPJ3fjmzyPXA01jPO/view?usp=sharing


That is intended. As stupid as it sounds, `update` is literally an uninstall and install. You can run `osu-wine` safely.

I mean I can reinstall it, but same issue is there, that updater.
Maybe bad dir.
There is topic with that loop, but it's same thing on my Linux system:
https://osu.ppy.sh/community/forums/topics/339238


Add the file in during the loop, not before the loop. It should immediately stop looping. This is a common osu error on Wine, really.


Im also having the looping issue. What do you mean by adding a file during the loop?


Refer to this: https://www.gloriouseggroll.tv/how-to-get-out-of-wine-dependency-hell/
Dozy Van
orked like a charm thanks.

I understand what the issue was now thanks for that.
Larvitar
This topic should be pinned. Works perfectly.
Topic Starter
Forefront
To all of you who're still noticing delay in osu!, please refer to the Update section of my newly updated post.
KocokBatang
the game works fine no audio lag or anything, but I cannot connect to bancho? please help

log:
https://pastebin.com/VXKTViLH
FractaLDragon
When following through your steps, I got these errors
dragon@dragon-Y520:/media/dragon/6c5cb7b0-a72a-4b65-819c-7e066e4483af/osu-wine$ sudo ./install.sh
INFO: Checking dependencies...
INFO: Installing icons...
cp: cannot create regular file '//usr/share/icons/hicolor/1024x1024/apps/osu-wine.png': No such file or directory
WARN: Couldn't install 1024x1024
chmod: cannot access '//usr/share/icons/hicolor/1024x1024/apps/osu-wine.png': No such file or directory
WARN: chmod icons failed
INFO: Installing desktop files...
INFO: Installing main script...
INFO: Installing config files...
WARN: Not installing user config file! To do so, please run this command post installation:
WARN: cp /etc/osu-wine.conf ~/.osu-wine.conf
INFO: Installation completed. Run 'osu-wine' to install.

dragon@dragon-Y520:/media/dragon/6c5cb7b0-a72a-4b65-819c-7e066e4483af/osu-wine$ osu-wine
/usr/bin/osu-wine: line 35: 7ZBIN=7za: command not found
/usr/bin/osu-wine: line 36: 7ZBIN=7zx: command not found
What am I doing wrong >.<
Maroxy
Would love to try this on my Laptop yet it tells me wget is missing while it isn't missing
Turbam!!!
-
aqua astra
Hmm It does installs fine, and the audio delay is almost zero, but I can't drag and drop files. Any fix for that?
StarveBread

LordDamionDevil wrote:

Would love to try this on my Laptop yet it tells me wget is missing while it isn't missing

Having this problem as well.
I'm fairly new to linux and I have no idea on how to fix this
Teekun
Package https://gitlab.com/osu-wine cannot find
Help
show more
Please sign in to reply.

New reply