forum

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

posted
Total Posts
107
show more
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
Topic Starter
Forefront

StarveBread wrote:

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


Modify the script from `wget` to `/usr/bin/wget`, I'm still unsure why this is a problem, must be something to do with `$PATH`?

Teekun wrote:

Package https://gitlab.com/osu-wine cannot find
Help


It's https://gitlab.com/osu-wine/osu-wine
FinL

Forefront wrote:

StarveBread wrote:

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


Modify the script from `wget` to `/usr/bin/wget`, I'm still unsure why this is a problem, must be something to do with `$PATH`?


I tried following that and I'm still getting issues trying to get it to work. Its still saying "missing wget"
Topic Starter
Forefront

FinL wrote:

Forefront wrote:

StarveBread wrote:

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


Modify the script from `wget` to `/usr/bin/wget`, I'm still unsure why this is a problem, must be something to do with `$PATH`?


I tried following that and I'm still getting issues trying to get it to work. Its still saying "missing wget"


`sudo sed -i 's|wget|/usr/bin/wget|g' /usr/bin/osu-wine`?

Edit: Fixed the script yesterday, check master branch.
FinL

Forefront wrote:

FinL wrote:

Forefront wrote:

StarveBread wrote:

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


Modify the script from `wget` to `/usr/bin/wget`, I'm still unsure why this is a problem, must be something to do with `$PATH`?


I tried following that and I'm still getting issues trying to get it to work. Its still saying "missing wget"


`sudo sed -i 's|wget|/usr/bin/wget|g' /usr/bin/osu-wine`?

Edit: Fixed the script yesterday, check master branch.

Alright awesome it doesn't have this issue. Its probably something simple, but I have to ask what I'm missing in this and what command I need in order to fix this. I appreciate you! :D
https://pastebin.com/R3KpDQUc
EDIT: I didn't install my video drivers correctly. Lol
Now that I got my drivers configured right, the game is running fine now. THANK YOU!!!
StarveBread

StarveBread wrote:

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

I wouldn't call this a fix but I had to switch to Arch Linux from Pop!OS. Now installed without a problem.
VickGamingHD
When I click on the .osz, I get an error "There is no Windows program configured to open this type of file" which won't go away until I close Osu (If I click Okay, it pops back up)
Edit: When I tried to open Osu for the second time I get this error:
victor@Victor-Linux:~/.local/share/osu-wine/OSU$ wine 'osu!.exe'

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Uri' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.UriParser' threw an exception. ---> System.MissingMethodException: Method 'System.Runtime.Versioning.BinaryCompatibility.get_TargetsAtLeast_Desktop_V4_5' not found.
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
at System.Uri..cctor () [0x00000] in <636efcf692b0405ea4fa824f23e76a7d>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.get_ExecutablePath () [0x0003a] in <f93aec9c741d4a62bc670b4e74643a27>:0
at #=zHg7CmRSFOx4mExqRrw==.#=z9XMhlZ2UPsDf () [0x00009] in <581c99af6b244f5e37cc7cc68f73fd69>:0
at #=zHg7CmRSFOx4mExqRrw==.#=z$oQFxWU= () [0x0000a] in <581c99af6b244f5e37cc7cc68f73fd69>:0
at #=q2sT1wSrYVCHqK27wdYJID4MI8Lu7qL_5Nv5prv0vsqQ=.#=zF8iP9vU= () [0x00000] in <581c99af6b244f5e37cc7cc68f73fd69>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Uri' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.UriParser' threw an exception. ---> System.MissingMethodException: Method 'System.Runtime.Versioning.BinaryCompatibility.get_TargetsAtLeast_Desktop_V4_5' not found.
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
at System.Uri..cctor () [0x00000] in <636efcf692b0405ea4fa824f23e76a7d>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.get_ExecutablePath () [0x0003a] in <f93aec9c741d4a62bc670b4e74643a27>:0
at #=zHg7CmRSFOx4mExqRrw==.#=z9XMhlZ2UPsDf () [0x00009] in <581c99af6b244f5e37cc7cc68f73fd69>:0
at #=zHg7CmRSFOx4mExqRrw==.#=z$oQFxWU= () [0x0000a] in <581c99af6b244f5e37cc7cc68f73fd69>:0
at #=q2sT1wSrYVCHqK27wdYJID4MI8Lu7qL_5Nv5prv0vsqQ=.#=zF8iP9vU= () [0x00000] in <581c99af6b244f5e37cc7cc68f73fd69>:0
marshallracer
So I just tested this script and it basically seems to work just fine (laptop, not my main machine, want to check it on there when I'm back home)
Had a issue though when running osu-wine for the first time, it got stuck on a stub at some point and after waiting eternities I had to CTRL+C out of it (sadly I forgot to save the relevant console)
When trying to run it again it just exited out immediately until I realized I had to osu-wine --kill because it was still stuck in that particular stub
So after killing it and running osu-wine again it just started fine, performance is alright (it's a laptop after all) even in windowed mode with all the fancy stuff I usually have turned on
Latency felt pretty fine, I guess just a few ms off but as I usually wouldn't play on this machine I can't and don't want to judge on that too much

Intel Core i3-4010U with integrated graphics and oibaf drivers
4GB RAM
latest Lubuntu 18.04

I do have some concerns about the included MS Fonts in the winepackage though but I'm not a cop so what am I gonna say
Cilfaen
I'm running into a small issue with installing using this tool, logs below
install.sh log

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.

./osu-wine log

WARN: Missing: /etc/osu-wine.conf!
INFO: Check: Base dir /home/ME/.local/share/osu-wine
INFO: Downloading pre-made Wineprefix
ERRO: Missing 7zx!


Any help would be appreciated!
DarkSphere00
Hello,

The installation worked like a charm!
Thanks for that because I was having so much trouble with winetricks and dotnet 462...

I have a problem though: if I uncomment the PATH line, osu! doesn't even start although I've properly installed osu-wine...

What should I do?
I'm running Manjaro
123321mario
It doesn't work :
_Joku

123321mario wrote:

It doesn't work :

Had the same issue, the problem was that 7z was not installed on my distro.
You can install it with

  • sudo apt install p7zip p7zip-full p7zip-rar

Hope it helps :D
Topic Starter
Forefront

DarkSphere00 wrote:

Hello,

The installation worked like a charm!
Thanks for that because I was having so much trouble with winetricks and dotnet 462...

I have a problem though: if I uncomment the PATH line, osu! doesn't even start although I've properly installed osu-wine...

What should I do?
I'm running Manjaro


The `PATH` line should only be uncommented if you use PooN's `wine-osu`, which specifically puts the executable there.
DarkSphere00
@Forefront I was indeed trying to use PooN's `wine-osu`.

The problem however was that it did not start, which I fixed by recompiling it.
LinkTFox
Alrighty i'm big dumb. I don't know how wine works on chromebooks (I use a Lenovo 300e) i'm bored and wanna play osu on my school's chromebook cause i'm not allowed to use my main pc and well gotta continue the grind -^-


If you have any info that can help me that'd be greatly appreciated
Topic Starter
Forefront

LinkTFox wrote:

Alrighty i'm big dumb. I don't know how wine works on chromebooks (I use a Lenovo 300e) i'm bored and wanna play osu on my school's chromebook cause i'm not allowed to use my main pc and well gotta continue the grind -^-


If you have any info that can help me that'd be greatly appreciated


If it's x86, install Linux on it. If it's arm*, you can't.
xolophreny
Hm, has anyone managed to get Discord RPC working in case it didn't work initially? Twas fine for me on Arch after installing that AUR package the author mentions, couldn't get it running after switching to another distro
NaMLiM
did i need poon wine to use the staging_audio_duration variable?
jamblueberry
How do i reinstall i broke mine
Mozzir

theinventor143 wrote:

How do i reinstall i broke mine


found a solution?
Mozzir

theinventor143 wrote:

How do i reinstall i broke mine

Run " ./install.sh uninstall " as root/sudo
Topic Starter
Forefront

NaMLiM wrote:

did i need poon wine to use the staging_audio_duration variable?


Yes. You should just use Wine 5.7 though, most people confirmed they don't need Poon's patch anymore, since 5.x improved latency a lot.
icr0
Is anyone else getting strange `An error occurred! Please check your internet connection.` problems? I can confirm that my internet works fine, and the servers are apparently up. I think that there's no firewall-related problems either.

Edit:
I can ping irc.ppy.sh fine. The log complains about something related to RAS. I'm looking into this

Edit 2:
Still have no idea what happened. I tried installing it with a vanilla Lutris install with zero configuration/customization using this: https://lutris.net/games/osu/.

It just worked, saved me a ton of headache.
2str8
Am I only one, who can't launch osu with latest wine-staging? ArchLinux
show more
Please sign in to reply.

New reply