Advertisement
metalx1000

wolfenstein 3d on Linux with Dosbox

Aug 31st, 2023 (edited)
1,455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.56 KB | None | 0 0
  1. sudo apt-get update              
  2. sudo apt-get install dosbox wget
  3.  
  4. url="https://ia902607.us.archive.org/cors_get.php?path=/15/items/msdos_Wolfenstein_3D_1992/Wolfenstein_3D_1992.zip"
  5. wget "$url" -cO /tmp/Wolfenstein_3D_1992.zip
  6.  
  7. cd /usr/share/games/
  8. sudo unzip /tmp/Wolfenstein_3D_1992.zip
  9. echo '#!/bin/bash
  10.  
  11. dosbox  /usr/share/games/Wolf3D/WOLF3D/WOLF3D/WOLF3D.EXE -fullscreen -exit'|sudo tee /usr/local/bin/wolf3d
  12. sudo chmod +x /usr/local/bin/wolf3d
  13. sudo chmod -R 777 "/usr/share/games/Wolf3D/WOLF3D"
  14.  
  15. echo "Run 'wolf3d' to play"
  16. /usr/local/bin/wolf3d
  17.  
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement