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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
games:stepmania [2018/11/12 21:46] – [Run] Sean Rhonegames:stepmania [2020/06/12 05:17] 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)]] ((20.04 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 libxtst-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='4' -DWITH_MINIMAID='0' && sync && make -j4 install && sync
 +
 +====== Simply Love ======
 +
 +  * [[https://github.com/dguzek/Simply-Love-SM5|GitHub]]
 +  * Uses ''beta'' branch
 +
 +  rm -Rf ~/'.stepmania-5.1/Themes/Simply Love' && mkdir -p ~/'.stepmania-5.1/Themes' && git clone --branch 'beta' --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' ~/'.stepmania-5.1/NoteSkins/dance' && 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
 +
 +====== Desktop Launcher ======
 +
 +  mkdir -p ~/'.local/share/applications/StepMania' && nano ~/'.local/share/applications/StepMania/StepMania.desktop'
 +
 +<code>
 +[Desktop Entry]
 +Name=StepMania
 +Categories=Game;
 +Exec='/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</code>
 +
 +  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'
/var/www/wiki/data/pages/games/stepmania.txt · Last modified: 2022/03/29 05:30 by Sean Rhone