Launcher: keep the engine (victory.exe) up to date #18

Open
opened 2026-11-28 21:39:56 +00:00 by edsuuu · 0 comments
edsuuu commented 2026-11-28 21:39:56 +00:00 (Migrated from github.com)
Contributor

Imported from edsuuu/VI-BR-PORT. Originally posted by edsuuu on 2026-11-28T21:39:56Z.


The launcher updates itself (latest.json on GitHub Pages, the latest release as the fallback), but the engine (victory.exe) is downloaded and replaced by hand. The launcher should keep the engine up to date too.

What it should do

  • Where to look: the Release workflow already publishes the engine apart (engine-v<version>, VIctory-<version>-windows-x64.zip). A stable engine release should also write its own manifest on Pages (for example engine.json: version, address, size and SHA-256), the same way latest.json does for the launcher, with the engine-v* releases as the fallback.
  • Which engine: only the one the launcher manages (next to it, or downloaded by it into its data folder). An engine the player chose in the settings (victory_exe), such as a local build, is never replaced.
  • When: the same check as the launcher's own (at start, and "Procurar atualização"), never while a run prepares or the game is open.
  • How: download, check the SHA-256, put the new victory.exe in place (the old one kept until the new one has started once), and show the engine's version in the window.
  • After an update: the shaders and pipelines are prepared again on the next Play, as for any new build (the launcher's stamp already notices a changed victory.exe).
  • First run without an engine: offer to download the latest engine release instead of only asking for a victory.exe.

Open points

  • Whether a dev launcher follows dev engine pre-releases (dev-engine-v*).
  • Whether to keep the previous engine to go back to it from the settings.
<!-- greyfinch-sync:edsuuu/VI-BR-PORT:issue:6671453564 --> Imported from [edsuuu/VI-BR-PORT](https://github.com/edsuuu/VI-BR-PORT/issues/18). Originally posted by [edsuuu](https://github.com/edsuuu) on 2026-11-28T21:39:56Z. --- The launcher updates itself (`latest.json` on GitHub Pages, the latest release as the fallback), but the engine (`victory.exe`) is downloaded and replaced by hand. The launcher should keep the engine up to date too. ## What it should do - **Where to look:** the Release workflow already publishes the engine apart (`engine-v<version>`, `VIctory-<version>-windows-x64.zip`). A stable engine release should also write its own manifest on Pages (for example `engine.json`: version, address, size and SHA-256), the same way `latest.json` does for the launcher, with the `engine-v*` releases as the fallback. - **Which engine:** only the one the launcher manages (next to it, or downloaded by it into its data folder). An engine the player chose in the settings (`victory_exe`), such as a local build, is never replaced. - **When:** the same check as the launcher's own (at start, and "Procurar atualização"), never while a run prepares or the game is open. - **How:** download, check the SHA-256, put the new `victory.exe` in place (the old one kept until the new one has started once), and show the engine's version in the window. - **After an update:** the shaders and pipelines are prepared again on the next Play, as for any new build (the launcher's stamp already notices a changed `victory.exe`). - **First run without an engine:** offer to download the latest engine release instead of only asking for a `victory.exe`. ## Open points - Whether a dev launcher follows dev engine pre-releases (`dev-engine-v*`). - Whether to keep the previous engine to go back to it from the settings.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
edsuuu/VI-BR-PORT#18
No description provided.