games:devilutionx
This is an old revision of the document!
Table of Contents
Information
- DevilutionX 1)
Precompiled Binary
Dependencies
Fedora
sudo dnf install SDL2_ttf SDL2_mixer
Download
- 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'
[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
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
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
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 3)
- 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'
[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
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.1578335961.txt.gz ยท Last modified: 2020/01/06 13:39 by Sean Rhone