@echo off

set source_dir=%~dp0\..
set arma3_dir=C:\Program Files (x86)\Steam\steamApps\common\Arma 3

IF NOT EXIST P: GOTO NODRIVE
IF NOT EXIST %arma3_dir% GOTO NOARMA3DIR

mkdir P:\z
mkdir "%arma3_dir%\z"

echo "Run this script as administrator!"

mklink /D "%arma3_dir%\z\hehu" "%source_dir%"
mklink /D "P:\z\hehu" "%source_dir%"

pause
exit 0

:NODRIVE
echo "OMFG. Set up the P: drive!"
pause
exit 1

:NOARMA3DIR
echo You don't have a %arma3_dir% directory. Please adjust the path in this script!
pause
exit 1
Add a script to set up symlinks in P: and game dir
Add a script to set up symlinks in P: and game dir

This should help with module loading later so I don't have to restart
the game on every change.
