User Tools

Site Tools


games:stepmania

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
games:stepmania [2018/11/12 21:46]
Sean Rhone [Run]
games:stepmania [2018/12/03 13:55] (current)
Sean Rhone
Line 1: Line 1:
 +====== Information ======
  
 +  * StepMania ((http://www.stepmania.com)) ((https://github.com/stepmania/stepmania))
 +  * 5.1-new ((https://github.com/stepmania/stepmania/tree/5_1-new))
 +
 +===== Resources =====
 +
 +  * http://jousway.co.uk/
 +  * http://www.flashflashrevolution.com/vbz/showthread.php?t=133223
 +  * https://search.stepmaniaonline.net/
 +
 +===== Notes =====
 +
 +  * Store ''RandomMovies'' and ''Songs'' in ''~/.stepmania-5.1''
 +
 +====== Dependencies ======
 +
 +===== Ubuntu =====
 +
 +  * [[distros:ubuntu_desktop|Ubuntu (desktop)]] ((18.04.1 LTS))
 +
 +  sudo apt install git g++ cmake libmad0-dev libvorbis-dev yasm libbz2-dev libpcre++-dev zlib1g-dev libjpeg-dev libxrandr-dev libxinerama-dev pkg-config libasound2-dev libpulse-dev libjack-jackd2-dev libva-dev libgl1-mesa-dev libglew-dev libgtk2.0-dev
 +
 +====== Download/Update Source ======
 +
 +****
 +
 +  cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/stepmania/src' && git clone --branch '5_1-new' --depth '1' --recurse-submodules 'https://github.com/stepmania/stepmania.git' ~/'Projects/stepmania/src' && 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
 +
 +====== Simply Love ======
 +
 +  * https://github.com/dguzek/Simply-Love-SM5
 +
 +  rm -Rf ~/'.stepmania-5.1/Themes/Simply Love' && mkdir -p ~/'.stepmania-5.1/Themes' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://github.com/dguzek/Simply-Love-SM5.git' ~/'.stepmania-5.1/Themes/Simply Love'
 +
 +====== Restore Content ======
 +
 +****
 +
 +  mkdir -p ~/'.stepmania-5.1' && gio open ~/'.stepmania-5.1'
 +
 +====== Settings ======
 +
 +  * Requires StepMania to be started once
 +
 +  gio open ~/'.stepmania-5.1/Save/Preferences.ini'
 +
 +===== Global Offset =====
 +
 +  * This magic number comes from the Linux version of OpenITG ((no idea why it works well, but it does))
 +  * This works best on a PSX-to-USB adapter
 +  * This does not work well at all when using an Arduino Leonardo R3
 +
 +  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='/usr/bin/env' vblank_mode='0' '/home/CHANGEME/Projects/stepmania/run/stepmania-5.1/stepmania'
 +  Type=Application
 +  StartupNotify=true
 +  Path=/home/CHANGEME/Projects/stepmania/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'
 +
 +===== Autostart =====
 +
 +****
 +
 +  mkdir -p ~/'.config/autostart' && cp ~/'.local/share/applications/StepMania/StepMania.desktop' ~/'.config/autostart/StepMania.desktop'
 +
 +====== Quick Commands ======
 +
 +===== Execute =====
 +
 +==== StepMania ====
 +
 +  cd ~/'Projects/stepmania/run/stepmania-5.1' && ~/'Projects/stepmania/run/stepmania-5.1/stepmania'
 +
 +  vblank_mode='0'
 +
 +===== File Manager =====
 +
 +==== Source ====
 +
 +****
 +
 +  gio open ~/'Projects/stepmania/src'
 +
 +==== Build ====
 +
 +****
 +
 +  gio open ~/'Projects/stepmania/build'
 +
 +==== Run ====
 +
 +  gio open ~/'Projects/stepmania/run/.stepmania-5.1'
 +
 +==== Home ====
 +
 +****
 +
 +  gio open ~/'.stepmania-5.1'
games/stepmania.txt ยท Last modified: 2018/12/03 13:55 by Sean Rhone