-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
058cdee
commit 2d17e4e
Showing
10 changed files
with
165 additions
and
37 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Localization | ||
{ | ||
en-us | ||
{ | ||
// #autoLOC_18284 = Stability Assist | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
|
||
@echo off | ||
|
||
rem Put the following text into the Post-build event command line: | ||
rem without the "rem": | ||
|
||
rem start /D C:\KSP_DEV\Workspace\ODFCr\ /WAIT deploy.bat $(TargetDir) $(TargetFileName) | ||
rem | ||
rem if $(ConfigurationName) == Release start /D C:\KSP_DEV\Workspace\ODFCr\ /WAIT buildRelease.bat $(TargetDir) $(TargetFileName) | ||
|
||
|
||
rem Set variables here | ||
|
||
rem H is the destination game folder | ||
rem GAMEDIR is the name of the mod folder (usually the mod name) | ||
rem GAMEDATA is the name of the local GameData | ||
rem VERSIONFILE is the name of the version file, usually the same as GAMEDATA, | ||
rem but not always | ||
rem LICENSE is the license file | ||
rem README is the readme file | ||
|
||
set GAMEDIR=\B9StockPatches | ||
set GAMEDATA="GameData\" | ||
rem set SUBDIR="KermangeddonIndustries\" | ||
set VERSIONFILE=%GAMEDIR%.version | ||
set LICENSE="License.txt" | ||
Set LICENSETEXT="MIT.txt" | ||
set README="ReadMe.md" | ||
set JQ=C:\ProgramData\chocolatey\lib\jq\tools\jq.exe | ||
|
||
set RELEASEDIR=C:\KSP_DEV\Releases | ||
set ZIP="c:\Program Files\7-zip\7z.exe" | ||
|
||
rem Copy files to GameData locations | ||
|
||
copy /Y "%1%2" "%GAMEDATA%\%GAMEDIR%\Plugins" | ||
copy /Y %GAMEDIR%.version %GAMEDATA%%SUBDIR%%GAMEDIR% | ||
copy /Y Changelog.cfg %GAMEDATA%\%SUBDIR%%GAMEDIR% | ||
|
||
if "%LICENSE%" NEQ "" copy /y %LICENSE% %GAMEDATA%\%SUBDIR%\%GAMEDIR% | ||
if "%LICENSETEXT%" NEQ "" copy /y %LICENSETEXT% %GAMEDATA%\%SUBDIR%\%GAMEDIR% | ||
if "%README%" NEQ "" copy /Y %README% %GAMEDATA%\%SUBDIR%\%GAMEDIR% | ||
|
||
rem Get Version info | ||
|
||
copy %VERSIONFILE% tmp.version | ||
set VERSIONFILE=tmp.version | ||
rem The following requires the JQ program, available here: https://stedolan.github.io/jq/download/ | ||
%JQ% ".VERSION.MAJOR" %VERSIONFILE% >tmpfile | ||
set /P major=<tmpfile | ||
|
||
%JQ% ".VERSION.MINOR" %VERSIONFILE% >tmpfile | ||
set /P minor=<tmpfile | ||
|
||
%JQ% ".VERSION.PATCH" %VERSIONFILE% >tmpfile | ||
set /P patch=<tmpfile | ||
|
||
%JQ% ".VERSION.BUILD" %VERSIONFILE% >tmpfile | ||
set /P build=<tmpfile | ||
del tmpfile | ||
del tmp.version | ||
set VERSION=%major%.%minor%.%patch% | ||
if "%build%" NEQ "0" set VERSION=%VERSION%.%build% | ||
|
||
echo Version: %VERSION% | ||
|
||
|
||
rem Build the zip FILE | ||
cd %GAMEDATA%\.. | ||
|
||
set FILE="%RELEASEDIR%\%GAMEDIR%-%VERSION%.zip" | ||
IF EXIST %FILE% del /F %FILE% | ||
%ZIP% a -tzip %FILE% GameData | ||
|
||
pause |
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,27 @@ | ||
|
||
@echo off | ||
|
||
rem H is the destination game folder | ||
rem GAMEDIR is the name of the mod folder (usually the mod name) | ||
rem GAMEDATA is the name of the local GameData | ||
rem VERSIONFILE is the name of the version file, usually the same as GAMEDATA, | ||
rem but not always | ||
|
||
set H=C:\KSP_DEV\Releases | ||
set GAMEDIR=B9StockPatches | ||
rem set SUBDIR="KermangeddonIndustries\" | ||
set CHANGELOG="Changelog.cfg" | ||
set README="Readme.md" | ||
set GAMEDATA="GameData\" | ||
set VERSIONFILE=%GAMEDIR%.version | ||
|
||
copy /Y "%1%2" "%GAMEDATA%\%GAMEDIR%\Plugins" | ||
copy /Y %VERSIONFILE% %GAMEDATA%\%SUBDIR%%GAMEDIR% | ||
REM copy /Y %CHANGELOG% %GAMEDATA%\%SUBDIR%%GAMEDIR% | ||
REM copy /Y %README% %GAMEDATA%\%SUBDIR%%GAMEDIR% | ||
|
||
xcopy /y /s /I %GAMEDATA%\%SUBDIR%\%GAMEDIR% "%H%\GameData\%SUBDIR%\%GAMEDIR%" | ||
|
||
pause | ||
|
||
rem KermangeddonIndustries\StorkDeliverySystem |
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,5 @@ | ||
# Stork Delivery System (SDS) | ||
## Kermangeddon Industries | ||
![Mod Version](https://img.shields.io/github/v/release/zer0Kerbal/StorkDeliverySystem?include_prereleases?style=plastic) | ||
![KSP version](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/StorkDeliverySystem/master/json/ksp.json?style=plastic) ![KSP-AVC](https://img.shields.io/badge/KSP-AVC--supported-brightgreen.svg?style=plastic) ![License CC BY-NC-SA 4.0](https://img.shields.io/badge/license-CC%20BY--NC--SA%204.0-lightgrey?style=plastic) | ||
![Spacedock](https://img.shields.io/badge/SpaceDock-listed-blue.svg?style=plastic) ![CKAN](https://img.shields.io/badge/CKAN-Indexed-blue.svg?style=plastic) ![Github](https://img.shields.io/badge/Github-Indexed-blue.svg?style=plastic) ![Curseforge](https://img.shields.io/badge/CurseForge-listed-blue.svg?style=plastic) |