User Tools

Site Tools


games:osu

Information

  • osu! 1)
  • osu!lazer 2)

Prerequisites

Notes

  • This does not work yet and is TODO 3)

Dependencies

sudo dnf install git-core mono-addins-devel

Download/Update Source

cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/osu!/src' && git clone --recursive -b 'master' 'https://github.com/ppy/osu.git' ~/'Projects/osu!/src' --depth '1' && sync

Compile and Install

cd ~ && rm -Rf ~/'Projects/stepmania/build' ~/'Projects/stepmania/run' && mkdir -p ~/'Projects/stepmania/build' ~/'Projects/stepmania/run' && cd ~/'Projects/stepmania/build' && cmake ~/'Projects/stepmania/src' -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE='Release' && cmake ~/'Projects/stepmania/src' -DCMAKE_INSTALL_PREFIX=~/'Projects/stepmania/run' -DCMAKE_CXX_FLAGS='-Ofast -pipe -march=native' -DCMAKE_C_FLAGS='-Ofast -pipe -march=native' -DWITH_FFMPEG_JOBS='3' -DWITH_MINIMAID='0' && sync && make -j3 install && sync

Restore Content

mkdir -p ~/'.stepmania-5.1' && gio open ~/'.stepmania-5.1'

Settings

  • Requires StepMania to be started once

Global Offset

  • This magic number comes from the Linux version of OpenITG 4)
  • This works best on a PSX-to-USB adapter
  • This does not work well at all when using an Arduino
GlobalOffsetSeconds=-0.065612

Machine Name

MachineName=Hatebeat

No Mouse Cursor

ShowMouseCursor=0

No Update Check

UpdateCheckEnable=0

Desktop Launcher

mkdir -p ~/'.local/share/applications/StepMania' && nano ~/'.local/share/applications/StepMania/StepMania.desktop'
[Desktop Entry]
Name=StepMania
Categories=Game;
Exec=env vblank_mode='0' '/home/CHANGEME/sm-run/stepmania-5.1/stepmania'
Type=Application
StartupNotify=true
Path=/home/CHANGEME/sm-run/stepmania-5.1
Icon=stepmania-ssc
sed -i 's/CHANGEME/'$USER'/g' ~/'.local/share/applications/StepMania/StepMania.desktop'

Icon

cp -Rf ~/'Projects/stepmania/src/icons' ~/'.local/share'

Quick Commands

Execute

StepMania

cd ~/'Projects/stepmania/run' && ~/'Projects/stepmania/run/stepmania'
vblank_mode='0'

File Manager

Source

gio open ~/'Projects/stepmania/src'

Build

gio open ~/'Projects/stepmania/build'

Run

gio open ~/'Projects/stepmania/run'

Home

gio open ~/'.stepmania-5.1'
3)
Nuget, Mono, and the osu!lazer project itself gives varying errors…
4)
no idea why it works well, but it does
games/osu.txt · Last modified: 2018/09/05 14:02 by Sean Rhone