Launcher: one executable with the engine built in #19

Open
opened 2026-11-28 21:41:02 +00:00 by edsuuu · 1 comment
edsuuu commented 2026-11-28 21:41:02 +00:00 (Migrated from github.com)
Contributor

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


Today the launcher (VI-BR-Launcher.exe) and the engine (victory.exe) are two executables, released apart (v<version> and engine-v<version>). An option to explore: one executable, the launcher with the engine built in.

What was already tried

On feat/launcher the engine was made a library (apps/victory, lib victory_app: pub fn main(), its command list, is_engine_command) and the launcher linked it: started with an engine command (run, shaders, warm, ...) the launcher's executable ran the engine, otherwise it opened the window. It built and ran. It was set back to two executables (the library split is kept) so that each can be released and updated on its own.

What one executable would need

  • Updates: one download for both; a launcher update replaces the engine too, and the other way round (#18 covers updating the engine apart).
  • Releases: the Release workflow and scripts/build-bundle.ps1 make one bundle; latest.json names it.
  • Size and build time: the launcher's build takes the engine's (the release build of the engine is the long one).
  • The settings' engine choice: keep "another victory.exe" for local and test builds, the built-in one being the default.
  • Linux: the built-in engine is the Windows one; the Linux launcher keeps starting a victory.exe through Wine or Proton.

To decide

Whether one executable is worth it against two that update apart, once the engine update (#18) exists.

<!-- greyfinch-sync:edsuuu/VI-BR-PORT:issue:6671463810 --> Imported from [edsuuu/VI-BR-PORT](https://github.com/edsuuu/VI-BR-PORT/issues/19). Originally posted by [edsuuu](https://github.com/edsuuu) on 2026-11-28T21:41:02Z. --- Today the launcher (`VI-BR-Launcher.exe`) and the engine (`victory.exe`) are two executables, released apart (`v<version>` and `engine-v<version>`). An option to explore: one executable, the launcher with the engine built in. ## What was already tried On `feat/launcher` the engine was made a library (`apps/victory`, lib `victory_app`: `pub fn main()`, its command list, `is_engine_command`) and the launcher linked it: started with an engine command (`run`, `shaders`, `warm`, ...) the launcher's executable ran the engine, otherwise it opened the window. It built and ran. It was set back to two executables (the library split is kept) so that each can be released and updated on its own. ## What one executable would need - **Updates:** one download for both; a launcher update replaces the engine too, and the other way round (#18 covers updating the engine apart). - **Releases:** the Release workflow and `scripts/build-bundle.ps1` make one bundle; `latest.json` names it. - **Size and build time:** the launcher's build takes the engine's (the release build of the engine is the long one). - **The settings' engine choice:** keep "another victory.exe" for local and test builds, the built-in one being the default. - **Linux:** the built-in engine is the Windows one; the Linux launcher keeps starting a `victory.exe` through Wine or Proton. ## To decide Whether one executable is worth it against two that update apart, once the engine update (#18) exists.
edsuuu commented 2026-11-28 21:41:07 +00:00 (Migrated from github.com)
Author
Contributor

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


The commits of that attempt, on feat/launcher: c614a3bca (the engine linked in, engine commands run it) and 3d6a8dc0c (the bundle with the launcher as its one executable); 12eedc031 set it back to two executables.

<!-- greyfinch-sync:edsuuu/VI-BR-PORT:comment:7246196680 --> Imported from [edsuuu/VI-BR-PORT](https://github.com/edsuuu/VI-BR-PORT/issues/19#issuecomment-7246196680). Originally posted by [edsuuu](https://github.com/edsuuu) on 2026-11-28T21:41:07Z. --- The commits of that attempt, on `feat/launcher`: c614a3bca (the engine linked in, engine commands run it) and 3d6a8dc0c (the bundle with the launcher as its one executable); 12eedc031 set it back to two executables.
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#19
No description provided.