RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Osu linux port?

    Scheduled Pinned Locked Moved Help and Support
    osu
    2 Posts 2 Posters 384 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • retropieuser555R
      retropieuser555
      last edited by

      Hi all, I'm just wondering if anyone has had a go at compiling Osu for a raspberry pi? I've got a zero and a pi4 so I imagine it'll work on the pi4, probably not enough power on the zero. Apparently one version of Osu (Lazer) is for arm, so I guess that should work? Wondering if anyone has given it a go before and have any pointers or tips.

      Pi 5 4GB

      Retroflag GPI with raspberry pi zero 2 w/ wifi

      Retroachievements:- lovelessrapture

      1 Reply Last reply Reply Quote 0
      • G
        GYKGAMER
        last edited by GYKGAMER

        You still need this? It took me a while but I did build it using the instructions below

        (Windows)
        git clone https://github.com/ppy/osu
        cd osu
        dotnet workload install android maui-android
        dotnet publish -c Debug --runtime linux-arm64 (or Release)
        (Saved location)\osu\osu.Desktop\bin\Release\net6.0
        Copy over linux-arm64 folder to the pi
        
        
        (Raspberry Pi)
        sudo apt install 7zip
        sudo apt install libsdl2-dev
        https://www.un4seen.com/download.php?bass24-linux
        go into \bass24-linux.zip\libs\aarch64 and copy the libbass.so to /usr/lib
        https://www.un4seen.com/download.php?z/0/bass_fx24-linux
        go into bass_fx24-linux.zip\libs\aarch64 and copy the libbass_fx.so to /usr/lib
        https://www.un4seen.com/download.php?bassmix24-linux
        go into bassmix24-linux.zip\libs\aarch64 and copy the libbassmix.so to /usr/lib
        /home/pi
        git clone --recursive https://github.com/veldrid/veldrid-spirv/
        cd ext
        ./sync-shaderc.sh
        mv src shaderc
        cd ..
        ./build-native.sh -release linux-x64
        cd build/Release/linux-x64
        mv libveldrid-spirv.so liblibveldrid-spirv
        sudo cp liblibveldrid-spirv /lib/aarch64-linux-gnu
        /home/pi
        mkdir libs
        cd libs
        wget https://chromium.googlesource.com/android_tools/+archive/20ee6d20/ndk/platforms/android-21/arch-arm64/usr/lib.tar.gz
        7z x lib.tar.gz
        7z x lib.tar
        sudo cp libandroid.so /lib/aarch64-linux-gnu
        sudo cp libdl.so /lib/aarch64-linux-gnu/
        sudo cp liblog.so /lib/aarch64-linux-gnu/
        sudo apt-get install libstb-dev
        add kernel=kernel8.img to /boot/firmware/config.txt
        sudo reboot
        cd (wherever you have osu)
        chmod +x osu\!
        LIBGL_ALWAYS_SOFTWARE=true ./osu\!
        stop the game from loading after the fonts load (ctrl + c)
        nano ~/.local/share/osu-development/framework.ini
        change "WindowedSize" to 640x480
        chnage "FrameSync" to Unlimited
        change "WindowMode" to Windowed
        save the file
        LIBGL_ALWAYS_SOFTWARE=true ./osu\!
        osu should load in at 640x480 windowed
        

        ceb13383-7674-4078-bb0b-b40ace6a4b48-image.png

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.