Skip to content

Conversation

@DaloLorn
Copy link

@DaloLorn DaloLorn commented Nov 10, 2025

  • X2PG support is now integrated into X2MBC and can be enabled by toggling a flag in build.ps1. X2PG must still be installed to do anything, though.
  • X2MBC can now pick the Highlander up from the X2EMPT_HIGHLANDER_FOLDER environment variable, in addition to the previously documented options.
  • The advanced setup script can optionally initialize a Git repo, and configure X2MBC to:
    • Build against the Highlander from GitHub (requires a Git repo), or from a local copy. The path to the local copy can be configured to come from X2EMPT_HIGHLANDER_FOLDER as an alternative to being hardcoded into the build script.
    • Use X2PG verification.
    • Cook the mod.
    • Build against any other mod of the user's choosing.
  • Proofread the readme a bit, cleaning up typos and punching up the grammar.
  • Added build/clean scripts for convenience, based on (read: shamelessly stolen from) the LWotC repo.
  • The setup script now prepares a VSCode workspace, with support for any and all dependencies configured in advanced setup (such as the Highlander).

- X2PG support is now integrated into X2MBC and can be enabled by toggling a flag in build.ps1. X2PG must still be installed to do anything, though.
- X2MBC can now pick the Highlander up from the X2EMPT_HIGHLANDER_FOLDER environment variable, in addition to the previously documented options.
- The advanced setup script can configure X2MBC to:
  - Build against the Highlander from GitHub (also initializes Git), or from a local copy. The local copy may or may not be configured to use X2EMPT_HIGHLANDER_FOLDER.
  - Use X2PG verification.
  - Cook the mod.
  - Build against any other mod of the user's choosing.
- Proofread the readme a bit, cleaning up typos and punching up the grammar.
- Fixed my argument checks.
- Removed defective ELSE-IF constructs in favor of GOTOs. *grumbles about batch scripting*
- Git automation no longer picks up the setup scripts or the raw X2MBC script.
… the Highlander from GitHub.


This means you no longer need to manually set up Git if you're building against a local Highlander (e.g. from environment variables!).
- Now properly finishes the initial commit.
- No longer crashes halfway through because the scripts were deleted during execution.
…so added a reference to the advanced setup to ReadMe.txt.
- Fixed an issue where the advanced setup was no longer correctly passing parameters to regular setup.
- Fixed an issue where the FART placeholders in the VSCode workspace weren't being properly cleared.
- Fixed an issue where the VSCode workspace wouldn't know where the SDK source folder was, because you can't read environment variables in a workspace definition. (This also affected workspaces trying to grab the Highlander from environment. Fixed that too.)
- Added optional SDK/game folder detection steps to advanced setup.
…figured for the build automation and VSCode workspace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant