add as many custom scenarios as possible

This commit is contained in:
2025-08-01 10:51:19 -05:00
parent 849aa019bb
commit 7d2f491b20
6 changed files with 10 additions and 0 deletions

3
.gitmodules vendored
View File

@@ -11,3 +11,6 @@
[submodule "deps/fix-rpaths"] [submodule "deps/fix-rpaths"]
path = deps/fix-rpaths path = deps/fix-rpaths
url = https://gist.github.com/NQNStudios/7145bcf6621891f5176c8caa165d6b93 url = https://gist.github.com/NQNStudios/7145bcf6621891f5176c8caa165d6b93
[submodule "rsrc/scenarios/custom"]
path = rsrc/scenarios/custom
url = https://github.com/NQNStudios/cboe-scenarios

View File

@@ -502,6 +502,7 @@
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\valleydy $(SolutionDir)..\..\rsrc\scenarios\valleydy.boes" /> <Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\valleydy $(SolutionDir)..\..\rsrc\scenarios\valleydy.boes" />
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\stealth $(SolutionDir)..\..\rsrc\scenarios\stealth.boes" /> <Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\stealth $(SolutionDir)..\..\rsrc\scenarios\stealth.boes" />
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\zakhazi $(SolutionDir)..\..\rsrc\scenarios\zakhazi.boes" /> <Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\zakhazi $(SolutionDir)..\..\rsrc\scenarios\zakhazi.boes" />
<Exec Command='xcopy $(SolutionDir)..\..\rsrc\scenarios\custom "$(TargetDir)\Blades of Exile Scenarios\custom\" /S /Y' />
</Target> </Target>
<!--COPY FILES TO OUTPUT DIRECTORY--> <!--COPY FILES TO OUTPUT DIRECTORY-->
<Target Name="CopyFiles" AfterTargets="BuildScenarios"> <Target Name="CopyFiles" AfterTargets="BuildScenarios">

View File

@@ -561,6 +561,7 @@
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\valleydy $(SolutionDir)..\..\rsrc\scenarios\valleydy.boes" /> <Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\valleydy $(SolutionDir)..\..\rsrc\scenarios\valleydy.boes" />
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\stealth $(SolutionDir)..\..\rsrc\scenarios\stealth.boes" /> <Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\stealth $(SolutionDir)..\..\rsrc\scenarios\stealth.boes" />
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\zakhazi $(SolutionDir)..\..\rsrc\scenarios\zakhazi.boes" /> <Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\zakhazi $(SolutionDir)..\..\rsrc\scenarios\zakhazi.boes" />
<Exec Command='xcopy $(SolutionDir)..\..\rsrc\scenarios\custom "$(TargetDir)\Blades of Exile Scenarios\custom\" /S /Y' />
</Target> </Target>
<!--COPY FILES TO OUTPUT DIRECTORY--> <!--COPY FILES TO OUTPUT DIRECTORY-->
<Target Name="CopyFiles" AfterTargets="BuildScenarios"> <Target Name="CopyFiles" AfterTargets="BuildScenarios">

View File

@@ -57,6 +57,7 @@ scen_env.BuildScenario('#build/rsrc/scenarios/stealth.boes', 'scenarios/stealth/
scen_env.BuildScenario('#build/rsrc/scenarios/zakhazi.boes', 'scenarios/zakhazi/header.exs') scen_env.BuildScenario('#build/rsrc/scenarios/zakhazi.boes', 'scenarios/zakhazi/header.exs')
env.Install(path.join(install_dir, "Blades of Exile Scenarios"), Glob("#build/rsrc/scenarios/*.boes")) env.Install(path.join(install_dir, "Blades of Exile Scenarios"), Glob("#build/rsrc/scenarios/*.boes"))
env.Install(path.join(install_dir, "Blades of Exile Scenarios"), "scenarios/custom")
env.Install(path.join(install_dir, "Blades of Exile Base"), Glob("#build/rsrc/bases/*.boes")) env.Install(path.join(install_dir, "Blades of Exile Base"), Glob("#build/rsrc/bases/*.boes"))
# Validate dialogs # Validate dialogs

1
rsrc/scenarios/custom Submodule

Submodule rsrc/scenarios/custom added at 0a6259c37f

View File

@@ -79,6 +79,9 @@ std::vector<fs::path> all_scen_dirs() {
scen_dirs.push_back(scen_dir); scen_dirs.push_back(scen_dir);
} }
// Experimental: ship with the full scenario archive
scen_dirs.push_back(progDir/"Blades of Exile Scenarios/custom");
#ifdef DEBUG #ifdef DEBUG
fs::path replay_scenarios_dir = boost::filesystem::current_path(); fs::path replay_scenarios_dir = boost::filesystem::current_path();
replay_scenarios_dir = replay_scenarios_dir/".."/".."/"test"/"replays"/"scenarios"; replay_scenarios_dir = replay_scenarios_dir/".."/".."/"test"/"replays"/"scenarios";