User Tools

Site Tools


devices:iphone

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
devices:iphone [2018/06/10 21:34] – created Sean Rhonedevices:iphone [2020/08/06 11:42] 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)]]
 +  * Last tested: 2020/06/11 on Ubuntu 20.04
 +
 +  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 ======
 +
 +****
 +
 +sudo dnf install libtool automake autoconf readline-devel libusb-devel make
 +
 +  cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/libirecovery/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://github.com/libimobiledevice/libirecovery.git' ~/'Projects/libirecovery/src' && sync
 +
 +cd ~/'Projects/libirecovery/src'
 +
 +~/'Projects/libirecovery/src/autogen.sh'
 +
 +====== 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'