forked from LunaMultiplayer/LunaMultiplayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCopyToKSPDirectory.bat
More file actions
19 lines (14 loc) · 1.08 KB
/
CopyToKSPDirectory.bat
File metadata and controls
19 lines (14 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
::THIS FILE IS BEING UNTRACKED FROM GIT with the command: git update-index --assume-unchanged <file>
::To resume the tracking of changes to this file use the command: git update-index --no-assume-unchanged <file>
::You must keep this file in the solution folder for it to work
::Set the path below as you need and then run this bat to copy the files and make them debuggeable
SET KSPPATH=C:\games\Steam\SteamApps\common\Kerbal Space Program
mkdir "%KSPPATH%\GameData\LunaMultiPlayer\"
mkdir "%KSPPATH%\GameData\LunaMultiPlayer\Plugins"
mkdir "%KSPPATH%\GameData\LunaMultiPlayer\Button"
"%~dp0\External\pdb2mdb\pdb2mdb.exe" "%~dp0\Client\bin\Debug\LunaClient.dll"
xcopy /Y "%~dp0\Client\bin\Debug\LunaClient.*" "%KSPPATH%\GameData\LunaMultiPlayer\Plugins"
"%~dp0\External\pdb2mdb\pdb2mdb.exe" "%~dp0\Common\bin\Debug\LunaCommon.dll"
xcopy /Y "%~dp0\Common\bin\Debug\LunaCommon.*" "%KSPPATH%\GameData\LunaMultiPlayer\Plugins"
xcopy /Y "%~dp0\External\Dependencies\*.dll" "%KSPPATH%\GameData\LunaMultiPlayer\Plugins"
xcopy /Y "%~dp0\Client\Resources\*.png" "%KSPPATH%\GameData\LunaMultiPlayer\Button"