fant0men

Little Big Adventure start script

Nov 29th, 2019
132
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. # This script runs Little Big Adventure in DOSBox.
  3. # dosbox.conf:
  4. #
  5. # [ipx]
  6. # ipx=false
  7.  
  8. # [autoexec]
  9. # @echo off
  10. # cls  
  11. # mount c .
  12. # c:
  13. # imgmount d "Little Big Adventure.cue" -t iso -fs iso
  14. # maindos.exe
  15. # exit
  16.  
  17. type -P dosbox &> /dev/null || {
  18.     echo "This script requires DOSBox."
  19.     echo "Install DOSBox via your package manager."
  20.     exit
  21. }
  22.  
  23. # Get the absolute path of this script, change into it, and run DOSBox.
  24. script=$(readlink -f "$0")
  25. gdir=$(dirname "$script")
  26. cd "$gdir"
  27. dosbox -conf "dosbox.conf" -conf "/home/lucifer/.dosbox/dosbox-0.74-3.conf"
RAW Paste Data