User Tools

Site Tools


games:devilutionx

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:devilutionx [2020/01/19 05:45] – Add uninstall info Sean Rhonegames:devilutionx [2023/06/29 15:28] (current) – removed Sean Rhone
Line 1: Line 1:
-====== Information ====== 
  
-  * DevilutionX ((https://github.com/diasurgical/devilutionX)) 
- 
-====== Uninstall ====== 
- 
-===== Dependencies ===== 
- 
-**** 
- 
-  sudo dnf remove SDL2_ttf SDL2_mixer 
- 
-===== Save Data ===== 
- 
-  * Backup any ''.sv'' files for characters 
- 
-  gio open ~/'.local/share/diasurgical/devilution' 
- 
-===== Clean-up ===== 
- 
-**** 
- 
-  rm -Rf ~/'.local/share/diasurgical' ~/'.local/share/applications/DevilutionX.desktop' ~/'.local/share/icons/hicolor/48x48/apps/Diablo_48.png' && sync 
- 
-====== Precompiled Binary ====== 
- 
-===== Dependencies ===== 
- 
-==== Fedora ==== 
- 
-**** 
- 
-  sudo dnf install SDL2_ttf SDL2_mixer 
- 
-===== Download ===== 
- 
-  * https://github.com/diasurgical/devilutionX/releases 
-  * Download the latest ''devilutionx-linux-x86_64.7z'' release and have it at ''~/Downloads'' 
- 
-===== Install ===== 
- 
-**** 
- 
-  mkdir -p ~/'.local/share/diasurgical/devilution' && unar -o '/tmp' ~/'Downloads/devilutionx-linux-x86_64.7z' && cp '/tmp/devilutionx-linux-x86_64/'* ~/'.local/share/diasurgical/devilution' && ls ~/'.local/share/diasurgical/devilution/devilutionx' && rm -Rf '/tmp/devilutionx-linux-x86_64' ~/'Downloads/devilutionx-linux-x86_64.7z' && sync 
- 
-===== Game Data ===== 
- 
-  * Copy ''diabdat.mpq'' to ''~/.local/share/diasurgical/devilution'' 
-  * May be able to use ''spawn.mpq'' instead for the shareware/trial version of Diablo 
- 
-  gio open ~/'.local/share/diasurgical/devilution' 
- 
-===== Desktop Launcher ===== 
- 
-  nano ~/'.local/share/applications/DevilutionX.desktop' 
- 
-<code> 
-[Desktop Entry] 
-Name=DevilutionX 
-Comment=Diablo build for modern operating systems 
-Categories=Game;AdventureGame;RolePlaying 
-Exec=env MESA_GLSL_CACHE_DIR='/home/CHANGEME/.local/share/diasurgical/devilution' '/home/CHANGEME/.local/share/diasurgical/devilution/devilutionx' 
-Type=Application 
-StartupNotify=true 
-Path=/home/CHANGEME/.local/share/diasurgical/devilution 
-Icon=Diablo_48</code> 
- 
-  sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/DevilutionX.desktop' 
- 
-==== Icon ==== 
- 
-**** 
- 
-  mkdir -p ~/'.local/share/icons/hicolor/48x48/apps' && wget -O ~/'.local/share/icons/hicolor/48x48/apps/Diablo_48.png' 'https://github.com/diasurgical/devilutionX/raw/master/Packaging/resources/Diablo_48.png' 
- 
-====== Dependencies ====== 
- 
-  * :!: Anything below this is TODO 
- 
-===== Ubuntu ===== 
- 
-  * [[distros:ubuntu_desktop|Ubuntu (desktop)]] ((18.04.1 LTS)) 
- 
-  sudo dnf install cmake glibc-devel SDL2-devel SDL2_ttf-devel SDL2_mixer-devel libsodium-devel libasan libubsan 
- 
-====== Download/Update Source ====== 
- 
-**** 
- 
-  cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/devilutionX/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://github.com/diasurgical/devilutionX.git' ~/'Projects/devilutionX/src' && sync 
- 
-====== Compile and Install ====== 
- 
-**** 
- 
-  cd ~ && rm -Rf ~/'Projects/devilutionX/build' ~/'Projects/devilutionX/run' && mkdir -p ~/'Projects/devilutionX/build' ~/'Projects/devilutionX/run' && cd ~/'Projects/devilutionX/build' && cmake ~/'Projects/devilutionX/src' -DBINARY_RELEASE='ON' && 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 ====== 
- 
-  nano ~/'.local/share/applications/DevilutionX.desktop' 
- 
-<code> 
-[Desktop Entry] 
-Name=DevilutionX 
-Categories=Game; 
-Exec='/home/CHANGEME/.local/share/diasurgical/devilution/devilutionx' 
-Type=Application 
-StartupNotify=true 
-Path=/home/CHANGEME/.local/share/diasurgical/devilution 
-Icon=devilution</code> 
- 
-  sed -i 's/CHANGEME/'$USER'/g' ~/'.local/share/applications/DevilutionX.desktop' 
- 
-===== Icon ===== 
- 
-**** 
- 
-  wget -O X 'https://github.com/diasurgical/devilutionX/raw/ab60df6618edbe73b44aad459b88bfbc843554b2/Packaging/resources/Diablo_48.png' 
- 
-  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/attic/games/devilutionx.1579430758.txt.gz · Last modified: 2020/01/19 05:45 by Sean Rhone