forum

osu! port for Linux using Mono?

posted
Total Posts
52
Topic Starter
KcLKcL
The Subject tells it.
Will it possible if someone port osu! to Linux using Mono?
They have migration tool (From .NET > Mono) Which they said It's easy
Wanna give it a try, peppy?

(I'm not a programmer so, I can't do it)

http://www.mono-project.com/Main_Page


P.S: Mono also works with Mac & Windows. So It's Cross Platform
nardii
They're looking into it atm, but there are still some Windows-only dependencies like XNA which will need to be replaced first.
anonymous_old
Mono compatibility is somewhere on the todo list.

Hopefully it'll be implemented by the end of next year or something.

In the meantime you can use a VM to play on Linux.
peppy
Looking at sometime early next year, all going well.
Huskatron
So... still nada... I've been waiting its 2011 for crying out loud! :evil: lol ;)
Ephemeral

CoolBoy963 wrote:

So... still nada... I've been waiting its 2011 for crying out loud! :evil: lol ;)
Mono port is not happening due to security issues.

Use the osu!wine port instead - check this thread for more details.
akuryuujin
This is probably going to sound either really stupid or really off topic to someone who knows what they're talking about, but Xuntu has XNA in it...

You know, for that comment up a little ways.
ErunamoJAZZ
It could be considered a port for Linux (and Mac) now?

Actually in the last months has been unplayable with wine (OpenGL does not work), and many companies are working on ports of linux for their games.
I do not know that security problem having with Mono (in particular, do not like or .Net or JVM), but might consider using another language more portable.

Python + Cython might be a very good option.


I understand that something like this is hard work, but really, it's a shame that the game only runs on Windows. Also, with that the future of the game will be more promising :D
Agka
what

did you really just ask in a three year old thread for peppy to rewrite osu! in python + cython

oh god my sides
ErunamoJAZZ
I am aware than I say. And I know it's crazy (to some extent).

But because Mono is not an option, Python is the most likely alternative front of C# (could do with C++, buuuuuuuut, we all know that would be terrible). Both have a large number of libraries and utilities, and both are very comparable in functionality, even Python is most faster to write and easier to maintain.

Osu is a great game, but it only works in Winbug. Many people use Mac and Linux now, and use wine so far has been the only option, with all the discomfort that leads (disgusting performance, sometimes do not look good storyboards, no integration with the operating system, etc).

What other choice do we have those who use these operating systems?, I am also software developer, and I know a rewrite takes time, planning, and adaptation.
Knowing that Osu has OpenGL support code level, doing a rewrite in python is not impossible.
Obviously, for security reasons, some parts of the code must be compiled (Cython).


Call me crazy, but I still believe it is the best alternative to be Osu, a multiplatform game.
:)
MillhioreF
It probably isn't coming any time soon, but peppy is slowly working towards dropping DirectX and the XNA framework. This will allow osu! to be ported to other platforms more easily - until then, wine is needed, so please be patient!
peppy
Wine is actually near-native performance and integrates quite well with the operating system. Making a python version would be a rewrite (and in my opinion a very bad option), which you are free to attempt if you wish to do so. The eventual mono-compatible version will happen, at some point.
ErunamoJAZZ
It really encourages a rewrite not much (no one dares lol).
I suggested Python, so Ephemeral had said. That obvious that Mono is the most direct way to make a port for Linux-Mac.

I'm just a player, and I have little time to try to back Osu in Python (also require to see the real code to be fully compatible), in short, would have put me deep in the development of Osu :S

Peppy Thanks for responding, I'll wait with many forward to native port the Osu, since my Wine months ago does not work as it should ^_^U
Ephemeral
after having seen the source code for osu!, I can safely say that attempting to port osu! at all would be a herculean task
Nomeji
The mono version make to much time to come, I want to made it myself.
I want to help in the development of osu! for Linux.
ErunamoJAZZ

nomeji wrote:

...I want to help in the development of osu! for Linux.
lol, just came to post a link about MonoGame 3.0, and now someone wants to help with the development to Osu!4Linux!! Cool :D
Unfortunately I can not take time for it (by the university u.u), but I give all the good energy to the project :)


http://monogame.net/news/2013/01/21/monogame-30-stable-released

MonoGame 3.0 was released this Monday, and has support for XNA 4.x, I really do not know how it be developed with XNA, but according to the comments in several places, porting linux/Mac with this is not very complicated.
Even in a blog of "M$" suggested for porting games to Win8 [1].


[1]: http://blogs.msdn.com/b/bobfamiliar/arc ... rview.aspx
Darkimmortal
Why is a Mono version needed?

osu runs perfectly under Wine, just higher gpu requirements (irrelevant for all but low end laptops)

Though if there was some way of getting opengl rendering working on wine, would be a big help. I guess the bottleneck is from the directx wrapper
Agka

Darkimmortal wrote:

osu runs perfectly under Wine
[citation needed]

given than osu! supports opengl it's weird to think it hasn't been done yet, basically.
Ruirize

Darkimmortal wrote:

Though if there was some way of getting opengl rendering working on wine, would be a big help. I guess the bottleneck is from the directx wrapper
http://www.winehq.org/docs/winedev-guide/opengl

Does that not work?
ErunamoJAZZ

SilentCipher wrote:

http://www.winehq.org/docs/winedev-guide/opengl
Does that not work?
The problem is not that Wine does not work with OpenGL (it does, and very well), the problem is that a few months ago, for some unknown reason, Osu! not to change the render to OpenGL from Wine.

Darkimmortal wrote:

Why is a Mono version needed?

osu runs perfectly under Wine....
Use Wine to play is not the same as playing it natively, and as discussed above, Mono is the most suitable option for a native port.

And... LOL, with Wine is unplayable Hard and Insane maps xD!


it :)
RomenPL
I don't know if anyone is still interested, but manually installed Osu! via PlayOnLinux works perfectly. I've noticed no bugs and no FPS drops. Dotnetfx20 and dxd9 required.
niccoboss
I'm programming C# since 5 years now (.net since 7 years) and I really would like to try making osu! Mono compatible!
And running osu! in Wine doesn't wan't to work on my favorite Linux distro...
duck123
osu stutters when run in wine. It doesn't happen all the time, just sometimes (but when it starts it won't stop). Especially sliders stutter when it happens. It's not low-end hardware problem as i have gtx 660. Need to try virtual machine sometime to see if it performs any better.
Also cannot change to OpenGL.
Mithos
Tiny bit of a necro bump, but still slightly relevant. I'm glad you bumped this actually because I got some information I didn't have before (mostly PlayOnLinux). I'm putting Ubuntu 13.04 on my machine soon and I'll be sure to see how this works.
niccoboss
For me I tried Wine and PlayOnLinux both but they need better hardware for osu! then Windows.
If a native Mono port would be available the performance is sure higher.

I've looked into some of the other osu! projects by 'normal' users but it seems that peppy doesn't give the source code for osu! away :P
I started writing an osu! Clone for Mono but rewriting the whole game is epic hard :D
Also (if peppy doesn't give me protocol specification) multiplayer will not work.

I really would like to play osu! with Linux since if you configure it correctly it's way more efficient then Windows :P
power007

niccoboss wrote:

For me I tried Wine and PlayOnLinux both but they need better hardware for osu! then Windows.
If a native Mono port would be available the performance is sure higher.

I've looked into some of the other osu! projects by 'normal' users but it seems that peppy doesn't give the source code for osu! away :P
I started writing an osu! Clone for Mono but rewriting the whole game is epic hard :D
Also (if peppy doesn't give me protocol specification) multiplayer will not work.

I really would like to play osu! with Linux since if you configure it correctly it's way more efficient then Windows :P
Started new osu? great news.
when there is will be playfield (circles, sliders), please upload this beta :) Also, if it possible, create android version of it :D but dreams just dreams...
niccoboss

power007 wrote:

Also, if it possible, create android version of it
An Android version already exists, but I will try to support Android too.
EDIT: I will try to support all major platforms (Win, Linux, Mac) and Android

Project repo is already created, but I will not push any files into it now because I don't have enough time atm.

EDIT: If anyone has problems with my project, feel free to contact me.
peppy
There are quite a few of these already out there; you may be able to look to them for source code which is helpful in making faster progress.

Also I do still have a mono branch in progress. It will get there eventually (already compiles and runs :)).
niccoboss
I've asked Wojtek if I can use his project as a reference, I've started including his files into my project.

Please peppy, I don't expect that you give me the source code, but can you give me just some information, e.g. what audio wrapper you use, or how you synchronize the HitObjects with the music. That would be really great.

Btw the base game already compiles and runs :D
peppy
You can find all the info you need around here already. There are already plenty of osu!-like-clones of open and closed source variety.

And when I said compiles/runs, I mean the full osu! client. Just needs a bit of fixing and proper installers/distribution.
Darkimmortal

peppy wrote:

You can find all the info you need around here already. There are already plenty of osu!-like-clones of open and closed source variety.

And when I said compiles/runs, I mean the full osu! client. Just needs a bit of fixing and proper installers/distribution.
I wouldn't mind testing an early build, might be able to blast up the quality of osu!record beyond the current 640x480 :)
peppy
I'll let you know. Might be quite close!
Espionage724
Any news about this?
Fenek Alfa

Espionage724 wrote:

Any news about this?
Yeah, It's needed even more now, since you can't install .NET 3.5 via winetricks anymore - you need to install .NET 2.0 SP1 and .NET 3.0 first, but 3.0 installer returns 404
SPOILER
Executing w_do_call dotnet30sp1
Executing load_dotnet30sp1
------------------------------------------------------
dotnet30sp1 does not yet fully work or install on wine. Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet30
Executing load_dotnet30
Executing w_do_call dotnet20
dotnet20 already installed, skipping
------------------------------------------------------
Installing .net 3.0 runtime takes 3 minutes on a very fast machine, and the Finished dialog may hide in the taskbar.
------------------------------------------------------
Executing mkdir -p /home/fenek/.cache/winetricks/dotnet30
Downloading http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe to /home/fenek/.cache/winetricks/dotnet30
--2013-09-15 10:15:34-- http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe
Translacja download.microsoft.com (download.microsoft.com)... 80.239.159.24, 80.239.159.9
Łączenie się z download.microsoft.com (download.microsoft.com)|80.239.159.24|:80... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 404 Not Found
2013-09-15 10:15:35 BŁĄD 404: Not Found.

------------------------------------------------------
Downloading http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe failed
peppy
so change the link? come on now.
Espionage724

Fenek Alfa wrote:

Espionage724 wrote:

Any news about this?
Yeah, It's needed even more now, since you can't install .NET 3.5 via winetricks anymore - you need to install .NET 2.0 SP1 and .NET 3.0 first, but 3.0 installer returns 404
SPOILER
Executing w_do_call dotnet30sp1
Executing load_dotnet30sp1
------------------------------------------------------
dotnet30sp1 does not yet fully work or install on wine. Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet30
Executing load_dotnet30
Executing w_do_call dotnet20
dotnet20 already installed, skipping
------------------------------------------------------
Installing .net 3.0 runtime takes 3 minutes on a very fast machine, and the Finished dialog may hide in the taskbar.
------------------------------------------------------
Executing mkdir -p /home/fenek/.cache/winetricks/dotnet30
Downloading http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe to /home/fenek/.cache/winetricks/dotnet30
--2013-09-15 10:15:34-- http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe
Translacja download.microsoft.com (download.microsoft.com)... 80.239.159.24, 80.239.159.9
Łączenie się z download.microsoft.com (download.microsoft.com)|80.239.159.24|:80... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 404 Not Found
2013-09-15 10:15:35 BŁĄD 404: Not Found.

------------------------------------------------------
Downloading http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe failed
You don't need dotnet30 though. The new installer may complain you need it, but all you need is dotnet20 + osume.exe
ErunamoJAZZ
Try install .NET(2.0) without winetricks.

In debian jessie works (bad, but work).
show more
Please sign in to reply.

New reply