#!/bin/sh source ./utils.sh #openttd_exe=/usr/local/games/openttd openttd_exe=~/dev/packages/OpenTTD-patches/build/openttd config_file=~/.openttd/config/cb_${1}.cfg save_file=~/.openttd/save/cb_${2}.sav echo "info | conf file ${config_file}" check_file_exists "${save_file}" echo "info | save file ${save_file}" check_file_exists "${config_file}" # tmux new -s openttd_{$1} \ ${openttd_exe} -D -c ${config_file} -g ${save_file} # /usr/local/games/openttd -D -c $1.cfg