-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from StarCoreSE/yard-logging
Yard logging
- Loading branch information
Showing
4 changed files
with
108 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
...keen cannot shitting up my user experience with config verification popups and client.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@echo off | ||
rem Testing mods in DS by yourself can be done without the need to re-publish every time. | ||
rem You can simply update the files that are on your machine! | ||
rem This will only work for you, anyone else joining the server will of course download the mod from the workshop. | ||
|
||
rem To use: | ||
rem 1. Copy this .bat file in the ROOT folder of your local mod (e.g. %appdata%/SpaceEngineers/Mods/YourLocalMod/<HERE>) | ||
|
||
rem 2. Edit this variable if applicable (do not add quotes or end with backslash). | ||
set STEAM_PATH=C:\Program Files\Steam | ||
|
||
rem 3. Edit this with your mod's workshop id. | ||
set WORKSHOP_ID=3013053286 | ||
|
||
rem Now you can run it every time you want to update the mod on DS and client. | ||
|
||
|
||
|
||
rem Don't edit the below unless you really need different paths. | ||
rem NOTE: don't add quotes and don't end with a backslash! | ||
|
||
set CLIENT_PATH=O:\SteamLibrary\steamapps\workshop\content\244850\%WORKSHOP_ID% | ||
set DS_PATH=C:\Torch\Instance\content\244850\%WORKSHOP_ID% | ||
|
||
rmdir "%CLIENT_PATH%" /S /Q | ||
rmdir "%DS_PATH%" /S /Q | ||
|
||
robocopy.exe .\ "%DS_PATH%" *.* /S /xd .git bin obj .vs ignored /xf *.lnk *.git* *.bat *.zip *.7z *.blend* *.md *.log *.sln *.csproj *.csproj.user *.ruleset modinfo.sbmi | ||
robocopy.exe "%DS_PATH%" "%CLIENT_PATH%" *.* /S | ||
|
||
pause |