You are not logged in.

#1 2018-06-21 02:58:16

helvetica
Member
Registered: 2018-06-21
Posts: 8

[SOLVED] Building osu! using Mono

I want to build osu! and play it natively (with no wine) on Arch.

As the instruction says, I should recursively clone the repository and then do

nuget restore

but when I do

mono nuget.exe restore

I get this. As the result, I can't build the game with

msbuild

I'm not sure how to fix this.

Last edited by helvetica (2018-06-24 10:13:25)

Offline

#2 2018-06-21 09:24:34

Awebb
Member
Registered: 2010-05-06
Posts: 6,286

Re: [SOLVED] Building osu! using Mono

Why don't you use monodevelop as recommended?

Offline

#3 2018-06-21 09:43:34

helvetica
Member
Registered: 2018-06-21
Posts: 8

Re: [SOLVED] Building osu! using Mono

Awebb wrote:

Why don't you use monodevelop as recommended?

Because I have troubles with installing it from AUR

UPDATE: I've just installed MonoDevelop, but it crashes when I try to open osu.sln. If I run MonoDevelop from terminal, it doesn't print any errors.

Last edited by helvetica (2018-06-21 10:01:02)

Offline

#4 2018-06-21 11:03:56

helvetica
Member
Registered: 2018-06-21
Posts: 8

Re: [SOLVED] Building osu! using Mono

MonoDevelop doesn't crash anymore thanks to this topic. But now MonoDevelop can't find .NET Core even if I specify the path to dotnet executable.
https://i.imgur.com/9X6QFnx.png

modedit: replaced oversized image with link, please review our forum policy /Xyne

Last edited by Xyne (2018-06-22 21:44:24)

Offline

#5 2018-06-21 19:17:55

helvetica
Member
Registered: 2018-06-21
Posts: 8

Re: [SOLVED] Building osu! using Mono

Visual Studio Code detects dotnet, but I still can't build osu! because of 'package downgrade'. Does someone know how to fix this?
https://i.imgur.com/IPyA17q.png

modedit: replaced oversized image with link, please review our forum policy /Xyne

Last edited by Xyne (2018-06-22 21:44:39)

Offline

#6 2018-06-22 13:32:31

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED] Building osu! using Mono

/usr/bin/dotnet is a symlink to /opt/dotnet/dotnet

Maybe monodevelop doesn't handle symlinks correctly, try the direct path.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2018-06-22 19:10:01

helvetica
Member
Registered: 2018-06-21
Posts: 8

Re: [SOLVED] Building osu! using Mono

It helped. Thanks. But I have the same problem as above, 'package downgrade' doesn't let me build osu.
https://i.imgur.com/0QUW5cX.jpg

modedit: replaced oversized image with link, please review our forum policy /Xyne

Last edited by Xyne (2018-06-22 21:44:55)

Offline

#8 2018-06-22 19:26:23

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: [SOLVED] Building osu! using Mono

I wonder why ">= 1.6.1" and ">= 2.0.0" result in a downgrade... What is that strange logic that tries to downgrade if greater numbers are allowed as well? You can try to set the required version to 2.0.0 in all cases, maybe that works.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#9 2018-06-22 19:58:21

helvetica
Member
Registered: 2018-06-21
Posts: 8

Re: [SOLVED] Building osu! using Mono

Ok, the problem with a downgrade is fixed by deleting osu folder and cloning the repository again. Strange, isn't it? I have finally built osu, but it runs without in game text.. It will never end.
https://i.imgur.com/KNehXNQ.jpg

modedit: replaced oversized image with link, please review our forum policy /Xyne

Last edited by Xyne (2018-06-22 21:45:09)

Offline

#10 2018-06-22 20:40:48

helvetica
Member
Registered: 2018-06-21
Posts: 8

Re: [SOLVED] Building osu! using Mono

Should I create an issue on github and mark this topic as solved?

Offline

#11 2018-06-22 21:47:53

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [SOLVED] Building osu! using Mono

@helvetica
Please take a moment to review the code of conduct, in particular the points about posting images (i.e. only post thumbnails) and bumping threads (edit your last post when it's the last in the thread).


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#12 2018-06-24 10:15:13

helvetica
Member
Registered: 2018-06-21
Posts: 8

Re: [SOLVED] Building osu! using Mono

The final solution is here.

Last edited by helvetica (2018-06-24 10:15:36)

Offline

Board footer

Powered by FluxBB