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