chocolate-doom_doom2_vanilla.sh 560 B

1234567891011121314151617181920
  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. -ls | sort -rn | awk '{print $11}' | shuf -n 1)
  8. set -x
  9. eval chocolate-doom -config "$game_dir"/config/chocolate/config.ini \
  10. -fullscreen -iwad "$game_dir"/wads/iwads/${game}.wad \
  11. -file "$pwad_file" "$mod_files" \
  12. -savedir "$game_dir"/savegames/${game}/ \
  13. -skill 3 \
  14. -warp 1 \
  15. > /tmp/chocolate-doom.log
  16. set +x