forked from linuxgurugamer/FilterExtension
-
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.
Revert "Add SSTUVolumeContainer to fuel tank checks"
This reverts commit 2256889.
- Loading branch information
1 parent
2256889
commit a1be209
Showing
9 changed files
with
281 additions
and
31 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
99 changes: 99 additions & 0 deletions
99
GameData/000_FilterExtensions_Configs/SubCategories_Aerodynamics.cfg
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,99 @@ | ||
SUBCATEGORY | ||
{ | ||
name = Ablative Heat Shields | ||
icon = Ablative_Shield | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = moduleName | ||
value = ModuleHeatShield, ModuleAblator | ||
} | ||
} | ||
} | ||
SUBCATEGORY | ||
{ | ||
name = Air Intake | ||
icon = AirIntake | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = moduleName | ||
value = ModuleResourceIntake | ||
} | ||
} | ||
} | ||
|
||
SUBCATEGORY | ||
{ | ||
name = Control Surface | ||
icon = ControlSurface | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = moduleName | ||
value = ModuleControlSurface, FARControllableSurface, ModuleAeroSurface | ||
} | ||
} | ||
} | ||
|
||
SUBCATEGORY | ||
{ | ||
name = Fairings | ||
icon = Fairing | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = title | ||
value = fairing | ||
} | ||
} | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = moduleName | ||
value = ModuleProceduralFairing, ProceduralFairingBase, ProceduralFairingSide | ||
} | ||
} | ||
} | ||
SUBCATEGORY | ||
{ | ||
name = Nose Cones | ||
icon = NoseCone | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = title | ||
value = nose cone, nosecone, nanocone, tail connector | ||
} | ||
} | ||
} | ||
|
||
SUBCATEGORY | ||
{ | ||
name = Wings | ||
icon = Wings | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = moduleName | ||
value = ModuleLiftingSurface, FARWingAerodynamicModel | ||
} | ||
CHECK | ||
{ | ||
type = check | ||
invert = true | ||
CHECK | ||
{ | ||
type = moduleName | ||
value = ModuleControlSurface, FARControllableSurface, ModuleAeroSurface | ||
} | ||
} | ||
} | ||
} |
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,54 @@ | ||
|
||
@echo off | ||
|
||
rem Set variables here | ||
set GAMEDIR=000_FilterExtensions | ||
set GAMEDIR2="000_FilterExtensions_Configs" | ||
set LICENSE=License.txt | ||
set README=ReadMe.txt | ||
|
||
set RELEASEDIR=d:\Users\jbb\release | ||
set ZIP="c:\Program Files\7-zip\7z.exe" | ||
|
||
rem Copy files to GameData locations | ||
|
||
|
||
copy /Y "%1%2" "GameData\%GAMEDIR%\Plugins" | ||
|
||
copy /Y FilterExtension.version GameData\%GAMEDIR% | ||
copy /Y ..\MiniAVC.dll GameData\%GAMEDIR% | ||
|
||
if "%LICENSE%" NEQ "" copy /y %LICENSE% GameData\%GAMEDIR% | ||
if "%README%" NEQ "" copy /Y %README% GameData\%GAMEDIR% | ||
|
||
rem Get Version info | ||
|
||
|
||
|
||
set VERSIONFILE=FilterExtension.version | ||
rem The following requires the JQ program, available here: https://stedolan.github.io/jq/download/ | ||
c:\local\jq-win64 ".VERSION.MAJOR" %VERSIONFILE% >tmpfile | ||
set /P major=<tmpfile | ||
|
||
c:\local\jq-win64 ".VERSION.MINOR" %VERSIONFILE% >tmpfile | ||
set /P minor=<tmpfile | ||
|
||
c:\local\jq-win64 ".VERSION.PATCH" %VERSIONFILE% >tmpfile | ||
set /P patch=<tmpfile | ||
|
||
c:\local\jq-win64 ".VERSION.BUILD" %VERSIONFILE% >tmpfile | ||
set /P build=<tmpfile | ||
del tmpfile | ||
set VERSION=%major%.%minor%.%patch% | ||
if "%build%" NEQ "0" set VERSION=%VERSION%.%build% | ||
|
||
echo Version: %VERSION% | ||
|
||
|
||
rem Build the zip FILE | ||
|
||
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,34 @@ | ||
#!/bin/bash | ||
|
||
[ "$3" != "Release" ] || exit | ||
|
||
DEV="/home/cameron/src/FilterExtension" | ||
|
||
GAMEDIR="000_FilterExtensions" | ||
GAMEDIR2="000_FilterExtensions_Configs" | ||
LICENSE="License.txt" | ||
README="ReadMe.txt" | ||
|
||
RELEASEDIR="$DEV/release" | ||
mkdir -p "$RELEASEDIR" | ||
|
||
cp "$1$2" "$DEV/GameData/$GAMEDIR/Plugins/" | ||
|
||
cp "$DEV/FilterExtension.version" "$DEV/GameData/$GAMEDIR/" | ||
# cp "$DEV/../MiniAVC.dll" "$DEV/GameData/$GAMEDIR" # ?? | ||
|
||
cp "$DEV/$LICENSE" "$DEV/GameData/$GAMEDIR" | ||
cp "$DEV/$README" "$DEV/GameData/$GAMEDIR" | ||
|
||
VERSIONFILE="$DEV/FilterExtension.version" | ||
VMA=`jq ".VERSION.MAJOR" $VERSIONFILE` | ||
VMI=`jq ".VERSION.MINOR" $VERSIONFILE` | ||
PA=`jq ".VERSION.PATCH" $VERSIONFILE` | ||
BU=`jq ".VERSION.BUILD" $VERSIONFILE` | ||
VERSION="$VMA.$VMI.$PA.$BU" | ||
|
||
echo "Version: $VERSION" | ||
|
||
cd "$DEV" | ||
rm "$RELEASEDIR/$GAMEDIR-$VERSION.zip" | ||
zip -r "$RELEASEDIR/$GAMEDIR-$VERSION.zip" "GameData" |
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,20 @@ | ||
|
||
@echo off | ||
|
||
set H=%KSPDIR% | ||
set GAMEDIR=000_FilterExtensions | ||
set GAMEDIR2="000_FilterExtensions_Configs" | ||
set GAMEDIR3="zFinal_FilterExtensions" | ||
set GAMEDATA="GameData\" | ||
set VERSIONFILE=FilterExtension.version | ||
|
||
echo %H% | ||
|
||
copy /Y "%1%2" "GameData\%GAMEDIR%\Plugins" | ||
copy /Y %VERSIONFILE% %GAMEDATA%\%GAMEDIR% | ||
|
||
|
||
xcopy /y /s /I %GAMEDATA%\%GAMEDIR% "%H%\GameData\%GAMEDIR%" | ||
|
||
xcopy /y /s /I %GAMEDATA%\%GAMEDIR2% "%H%\GameData\%GAMEDIR2%" | ||
xcopy /y /s /I %GAMEDATA%\%GAMEDIR3% "%H%\GameData\%GAMEDIR3%" |
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,14 @@ | ||
#!/bin/bash | ||
|
||
DEV="/home/cameron/src/FilterExtension" | ||
KSP="/mnt/games/KSPDev" | ||
|
||
GAMEDIR="000_FilterExtensions" | ||
GAMEDIR2="000_FilterExtensions_Configs" | ||
GAMEDATA="GameData/" | ||
|
||
cp "$1$2" "$DEV/GameData/$GAMEDIR/Plugins" | ||
cp "$DEV/FilterExtension.version" "$DEV/GameData/$GAMEDIR/" | ||
|
||
cp -r "$DEV/$GAMEDATA/$GAMEDIR" "$KSP/GameData/" | ||
cp -r "$DEV/$GAMEDATA/$GAMEDIR2" "$KSP/GameData/" |
Oops, something went wrong.