cd /d %~dp0

set STEAM_STARBOUND_DIR=c:\Program Files (x86)\Steam\steamapps\common\Starbound
:: remove old version files
del /q "%STEAM_STARBOUND_DIR%\mods\Starbecue-v*.pak"
del /q "%STEAM_STARBOUND_DIR%\mods\starboundSpeciesAnimOverrides-v*.pak"
del /q "%STEAM_STARBOUND_DIR%\mods\Starbecue_v*.pak"
del /q "%STEAM_STARBOUND_DIR%\mods\starboundSpeciesAnimOverrides_v*.pak"
:: add new files
copy starbound.exe "%STEAM_STARBOUND_DIR%\win64\"
copy starbecue.pak "%STEAM_STARBOUND_DIR%\mods\"
copy SBQ_engine_assets.pak "%STEAM_STARBOUND_DIR%\mods\"
