.boes file needs to exist to launch replay test scenario #603

Closed
opened 2025-02-14 20:21:07 +00:00 by NQNStudios · 3 comments
NQNStudios commented 2025-02-14 20:21:07 +00:00 (Migrated from github.com)

The way we're staging new-format scenarios in the repository is in conflict with the format the game needs scenarios to be in to launch them.

Possible fixes (each with drawbacks) include:

  • What I tried to do in #601 (add the .boes file so the unpacked folder and packed file are both staged in the repository)
    • + Easy change to make
    • - The unpacked folder appears as a non-functional duplicate entry in the scenario picker.
    • - Not DRY: The test scenario will need to be re-packed/re-unpacked anytime it changes. It should only exist in the repo in one form.
  • Make the game able to run an unpacked scenario
  • Pack and copy replay test scenarios into debug builds
    • - I don't want to have to do this for Visual Studio and Xcode builds.
    • - The code will need to change to search for scenarios in the build folder that are not VoDT, ASR, or ZKR
The way we're staging new-format scenarios in the repository is in conflict with the format the game needs scenarios to be in to launch them. Possible fixes (each with drawbacks) include: * What I tried to do in #601 (add the .boes file so the unpacked folder and packed file are both staged in the repository) * `+` Easy change to make * `-` The unpacked folder appears as a non-functional duplicate entry in the scenario picker. * `-` Not DRY: The test scenario will need to be re-packed/re-unpacked anytime it changes. It should only exist in the repo in one form. * Make the game able to run an unpacked scenario * `+` this will help fix a pesky limitation of the scenario editor's launch feature: https://github.com/calref/cboe/blob/3bd88741476b8ac4db3c7ea4517366fd3acb2209/src/scenedit/scen.main.cpp#L106 * `-` This might be somewhat hard * Pack and copy replay test scenarios into debug builds * `-` I don't want to have to do this for Visual Studio and Xcode builds. * `-` The code will need to change to search for scenarios in the build folder that are not VoDT, ASR, or ZKR
NQNStudios commented 2025-02-14 20:22:28 +00:00 (Migrated from github.com)

I'm actually gonna remove the game tag from this because it won't affect players at all.

I'm actually gonna remove the `game` tag from this because it won't affect players at all.
CelticMinstrel commented 2025-02-15 00:33:02 +00:00 (Migrated from github.com)

Adding scenedit tag since it can affect the launch feature.

Adding `scenedit` tag since it can affect the launch feature.
NQNStudios commented 2025-03-22 13:07:27 +00:00 (Migrated from github.com)

I should now be able to fix this in my beta branch, because I made unpacked scenarios launchable

I should now be able to fix this in my beta branch, because I made unpacked scenarios launchable
Sign in to join this conversation.
No description provided.