From f1bdb69e5b14583266b9c93a9c47da93a041b7fa Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sun, 9 Mar 2025 14:17:43 -0400 Subject: [PATCH] BoECB: Include when building and packaging --- pkg/win/main.nsi | 2 ++ proj/vs2013/Common/Common.vcxproj | 1 + proj/vs2017/Common/Common.vcxproj | 1 + proj/xc12/BoE.xcodeproj/project.pbxproj | 4 +++- rsrc/SConscript | 1 + 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pkg/win/main.nsi b/pkg/win/main.nsi index 52dddba3..d88b5f2d 100644 --- a/pkg/win/main.nsi +++ b/pkg/win/main.nsi @@ -107,6 +107,7 @@ Section "Scenario Editor" Section3 File "${RELEASE_DIR}\BoE Scenario Editor.exe" SetOutPath "$INSTDIR\Blades of Exile Base\" File "${RELEASE_DIR}\Blades of Exile Base\bladbase.boes" + File "${RELEASE_DIR}\Blades of Exile Base\cavebase.boes" SetShellVarContext all CreateShortCut "$SMPROGRAMS\Blades of Exile\Scenario Editor.lnk" "$INSTDIR\BoE Scenario Editor.exe" @@ -259,6 +260,7 @@ Section Uninstall ; Clean up Scenario Editor Delete "$INSTDIR\Scen Editor.exe" Delete "$INSTDIR\Blades of Exile Base\bladbase.boes" + Delete "$INSTDIR\Blades of Exile Base\cavebase.boes" ; Remove remaining directories RMDir "$INSTDIR\Blades of Exile Scenarios\" diff --git a/proj/vs2013/Common/Common.vcxproj b/proj/vs2013/Common/Common.vcxproj index b06861f0..6cf86f7e 100644 --- a/proj/vs2013/Common/Common.vcxproj +++ b/proj/vs2013/Common/Common.vcxproj @@ -494,6 +494,7 @@ + diff --git a/proj/vs2017/Common/Common.vcxproj b/proj/vs2017/Common/Common.vcxproj index ffea7a7c..f72624ab 100644 --- a/proj/vs2017/Common/Common.vcxproj +++ b/proj/vs2017/Common/Common.vcxproj @@ -553,6 +553,7 @@ + diff --git a/proj/xc12/BoE.xcodeproj/project.pbxproj b/proj/xc12/BoE.xcodeproj/project.pbxproj index 31f3be63..679b9455 100755 --- a/proj/xc12/BoE.xcodeproj/project.pbxproj +++ b/proj/xc12/BoE.xcodeproj/project.pbxproj @@ -2058,6 +2058,7 @@ "$(SRCROOT)/../../rsrc/scenarios/valleydy", "$(SRCROOT)/../../rsrc/scenarios/stealth", "$(SRCROOT)/../../rsrc/scenarios/zakhazi", + "$(SRCROOT)/../../rsrc/bases/cavebase", ); name = "Pack Scenarios"; outputPaths = ( @@ -2066,10 +2067,11 @@ "$(BUILT_PRODUCTS_DIR)/Blades of Exile Scenarios/valleydy.boes", "$(BUILT_PRODUCTS_DIR)/Blades of Exile Scenarios/stealth.boes", "$(BUILT_PRODUCTS_DIR)/Blades of Exile Scenarios/zakhazi.boes", + "$(BUILT_PRODUCTS_DIR)/Blades of Exile Base/cavebase.boes", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "test $SCRIPT_INPUT_FILE_COUNT -eq $SCRIPT_OUTPUT_FILE_COUNT || exit 1\nfor((i = 0; i < $SCRIPT_INPUT_FILE_COUNT; i++)); do\n\teval in=\\$SCRIPT_INPUT_FILE_$i\n\teval out=\\$SCRIPT_OUTPUT_FILE_$i\n\t../../pkg/pack-scenario.sh \"$in\" \"$out\"\ndone"; + shellScript = "test $SCRIPT_INPUT_FILE_COUNT -eq $SCRIPT_OUTPUT_FILE_COUNT || exit 1\nfor((i = 0; i < $SCRIPT_INPUT_FILE_COUNT; i++)); do\n\teval in=\\$SCRIPT_INPUT_FILE_$i\n\teval out=\\$SCRIPT_OUTPUT_FILE_$i\n\t../../pkg/pack-scenario.sh \"$in\" \"$out\"\ndone\n"; }; /* End PBXShellScriptBuildPhase section */ diff --git a/rsrc/SConscript b/rsrc/SConscript index 4babc54a..b6b7dd8b 100644 --- a/rsrc/SConscript +++ b/rsrc/SConscript @@ -35,6 +35,7 @@ def pack_scenario(target, source, env): env.Append(BUILDERS={"BuildScenario": Builder(action=pack_scenario, suffix=".boes", src_suffix="")}) env.BuildScenario('#build/rsrc/bases/bladbase.boes', 'bases/bladbase/header.exs') +env.BuildScenario('#build/rsrc/bases/cavebase.boes', 'bases/cavebase/header.exs') env.BuildScenario('#build/rsrc/scenarios/busywork.boes', 'scenarios/busywork/header.exs') env.BuildScenario('#build/rsrc/scenarios/valleydy.boes', 'scenarios/valleydy/header.exs') env.BuildScenario('#build/rsrc/scenarios/stealth.boes', 'scenarios/stealth/header.exs')