Skip to content

Simplify compilation process#11

Open
Samueltelegram wants to merge 4 commits intosaturn-xvi:mainfrom
Samueltelegram:main
Open

Simplify compilation process#11
Samueltelegram wants to merge 4 commits intosaturn-xvi:mainfrom
Samueltelegram:main

Conversation

@Samueltelegram
Copy link
Copy Markdown

@Samueltelegram Samueltelegram commented Jan 3, 2026

Right now the process to test new code is to build prometheus -> rename to inject.dll manully -> copy files over to overwatch.
I wrote some powershell scripts to automate this process within prometheus/build.
This uses the existing solution file to build prometheus.

The exact workflow of prometheus/build/build.ps1:

  • Check if $OverwatchDir isn't present OR no patched game is present

(on first run || no patched exe || moved OW directory)

  • If so, build and run patcher, prompt the user to select the base exe
  • Upon closing, write gathered $OverwatchDir to the settings.json

then:

  • Builds prometheus
  • Renames prometheus.dll -> inject.dll
  • Moves all built files into $OverwatchDir

then run.ps1, uses the $OverwatchDir from settings.json to run the patched exe

build_and_run.ps1 combines both of these, so you can run this script after updating code to directly test it.

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