#!/bin/bash

GAME_ROOT="/usr/local/games/game"
GAME="Game name"
SAVE="save screenshot"
for PATH in $SAVE do
  rm -f $GAME_ROOT/$PATH
  mkdir ~/.wine/$GAME/$PATH
  ln -s $GAME_ROOT/$PATH ~/.wine/$GAME/$PATH
  chmod 777 $GAME_ROOT/$PATH
done
