dsda-doom_doom2_vanilla.sh 747 B

123456789101112131415161718192021222324252627
  1. #!/bin/sh
  2. game=doom2
  3. game_dir="$HOME/games/doom"
  4. mod_files="$game_dir/mods/vanilla/pk_doom_sfx/pk_doom_sfx_20120224.wad \
  5. $game_dir/mods/vanilla/dimm_pal/doom-pal.wad"
  6. pwad_file=$(find "${game_dir}"/wads/${game}/vanilla/*/*.wad \
  7. "$game_dir"/wads/${game}/nolimit/*/*.wad \
  8. "$game_dir"/wads/${game}/boom/*/*.wad \
  9. -ls | sort -rn | awk '{print $11}' | shuf -n 1)
  10. set -x
  11. eval dsda-doom -config "${game_dir}"/config/dsda-doom/dsda-doom_vanilla.cfg \
  12. -vidmode gl \
  13. -complevel 17 \
  14. -width 1920 -height 1080 \
  15. -fullscreen \
  16. -geom 640x360f -aspect 16:9 \
  17. -iwad "$game_dir"/wads/iwads/${game}.wad \
  18. -file "$pwad_file" "$mod_files" \
  19. -save ~/games/doom/savegames/${game}/ \
  20. -skill 3 \
  21. -warp 1 \
  22. > /tmp/dsda-doom.log
  23. set +x