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
games:stepmania [2020/09/15 15:46] – [Ubuntu] Sean Rhonegames:stepmania [2022/03/29 05:30] (current) Sean Rhone
Line 16: Line 16:
  
 ====== Dependencies ====== ====== Dependencies ======
 +
 +===== Fedora Workstation =====
 +
 +  * [[distros:fedora_workstation_gnome|Fedora]]
 +  * Last tested: 2021/12/29
 +
 +  sudo dnf install git-core cmake gcc-c++ libmad-devel libvorbis-devel nasm yasm bzip2-devel gtk3-devel libjpeg-turbo-devel pulseaudio-libs-devel alsa-lib-devel libva-devel glew-devel systemd-devel
  
 ===== openSUSE Tumbleweed ===== ===== openSUSE Tumbleweed =====
  
   * [[distros:opensuse_tumbleweed_gnome|openSUSE Tumbleweed]]   * [[distros:opensuse_tumbleweed_gnome|openSUSE Tumbleweed]]
-  * Last tested: 2020/09/05+  * Last tested: 2021/06/18
  
-  sudo zypper install git-core cmake-full gcc gcc-c++ libmad-devel libvorbis-devel libbz2-devel nasm gtk3-devel libjpeg8-devel alsa-devel libva-devel glew-devel libpulse-devel+  sudo zypper install git-core cmake-full gcc gcc-c++ libmad-devel libvorbis-devel libbz2-devel nasm gtk3-devel libjpeg8-devel alsa-devel libva-devel glew-devel libpulse-devel libudev-devel
  
 ===== Ubuntu ===== ===== Ubuntu =====
  
-  * [[distros:ubuntu_desktop|Ubuntu (desktop)]] +  * [[distros:ubuntu_desktop|Ubuntu]] 
-  * Last tested: 2020/06/11 on Ubuntu 20.04+  * Last tested: 2021/10/29 on Ubuntu 21.04
  
-  sudo apt install git g++ cmake libmad0-dev libvorbis-dev nasm 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+  sudo apt install git g++ cmake libmad0-dev libvorbis-dev nasm 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 libudev-dev
  
 ====== Download/Update Source ====== ====== Download/Update Source ======
Line 39: Line 46:
 ====== Compile and Install ====== ====== Compile and Install ======
  
-****+  :!: If more or less than 4 CPU cores should be used when compiling FFMPEG, change ''DWITH_FFMPEG_JOBS'' 
 + 
 +  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 -j$(nproc) install && sync 
 + 
 +===== System FFmpeg ===== 
 + 
 +  https://github.com/stepmania/stepmania/issues/2197 
 +  This was attempted instead of working around the authentication issue 
 +  :!: As of 2022/03/17 on Fedora 35, this is untested with gameplay, but StepMania compiles fine 
 +  * :!: Apparently bundled FFmpeg was fixed and this isn't needed 
 + 
 +  sudo dnf install 'ffmpeg-devel'
  
-  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+  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' -DWITH_SYSTEM_FFMPEG='1' && sync && make -j$(nproc) install && sync
  
 ====== Simply Love ====== ====== Simply Love ======
Line 63: Line 81:
 ====== Restore Content ====== ====== Restore Content ======
  
-****+  mkdir -p ~/'.stepmania-5.1' ~/'.stepmania-5.1/NoteSkins/dance'
  
-  mkdir -p ~/'.stepmania-5.1' ~/'.stepmania-5.1/NoteSkins/dance' && gio open ~/'.stepmania-5.1'+  gio open ~/'.stepmania-5.1'
  
 ====== Settings ====== ====== Settings ======
  
-  * Requires StepMania to be started once+  * :!: Requires StepMania to be started once
  
   gio open ~/'.stepmania-5.1/Save/Preferences.ini'   gio open ~/'.stepmania-5.1/Save/Preferences.ini'
Line 89: Line 107:
 Name=StepMania Name=StepMania
 Categories=Game; Categories=Game;
-Exec=env vblank_mode=0 '/home/CHANGEME/Projects/stepmania/run/stepmania-5.1/stepmania'+Exec='/home/CHANGEME/Projects/stepmania/run/stepmania-5.1/stepmania'
 Type=Application Type=Application
 StartupNotify=true StartupNotify=true
Line 142: Line 160:
  
   gio open ~/'.stepmania-5.1'   gio open ~/'.stepmania-5.1'
 +
/var/www/wiki/data/attic/games/stepmania.1600199177.txt.gz · Last modified: 2020/09/15 15:46 by Sean Rhone