Commit Graph
68 Commits
Author SHA1 Message Date
N0VAN0M4LY bd7450d9a1 fix(release): support prerelease adaptation packs
Adaptation pack / release (push) Waiting to run
Include published prereleases in adaptation pack checks. Publish signed adaptation packs as prereleases and let manual workflow runs stage a draft for release notes.
2026-12-01 18:36:17 +08:00
N0VAN0M4LY 01f7b5769b fix(battle): preserve the Bullet Hell AI loadout flow
Use the game mode declaration to omit offline combat-preset selection in the cannon-only mode.
2026-12-01 13:54:47 +08:00
N0VAN0M4LY b4af034756 fix(hud): show damage notices for the controlled vehicle
Keep the affected unit on the native barrel and breech notification paths. Filter only the local-host notices, using the stock current-control lookup.
2026-12-01 13:50:05 +08:00
N0VAN0M4LY 70c4ee4880 fix(battle): assign combat presets to AI aircraft
Read stock weapon triggers and prerequisite modifications. Supply a suitable native preset for aircraft whose default lacks the relevant armament and preserve repeated modification names in the launch block.
2026-12-01 13:50:04 +08:00
N0VAN0M4LY 44e64fa414 fix(battle): enable fast ticket drain in single-sortie air battles
Pass the native no-respawn ticket rule when the mode limits each pilot to a single sortie. The Air Realistic mission headers omit this setting.
2026-12-01 13:31:54 +08:00
N0VAN0M4LY d165a80a4a fix(matchmaking): filter Air Realistic missions by layout and BR
Limit classic Air Realistic and Tactical Skies to historical mission variants. Read stock airfield ranges, select against the rank sent to the mission loader, and keep fixed-layout limits in battle tuning.

Inspected mission data from 2.61.0.37 and 2.61.0.43. Root and launcher type checks pass. Gameplay awaits manual acceptance.
2026-12-01 12:13:53 +08:00
N0VAN0M4LY 7ba66340b6 fix(battle): enforce single-sortie Air Realistic rules
Carry the queued aircraft and crew index into LocalMP, apply the native single-spawn limits to players and aircraft bots, and disable spares for single-slot modes.

Verified with root and launcher type checks, check-patches and check-gui for 2.61.0.37 and 2.61.0.43, and an isolated launch-payload check.
2026-12-01 12:05:42 +08:00
N0VAN0M4LY 7c2e2250c3 style(i18n): remove redundant Gaijin network disclaimer from pack check hint 2026-12-01 05:25:59 +08:00
N0VAN0M4LY f182e205e3 feat(launcher): merge add-client entry and choose setup mode in wizard step 1 2026-12-01 04:39:48 +08:00
N0VAN0M4LY a0515c4ed3 feat(launcher): detect missing client folders and support relocating while keeping saves 2026-11-30 21:32:17 +08:00
N0VAN0M4LY 2820d40d87 feat(launcher): create dedicated WTOffline subfolder and default versioned client name 2026-11-30 21:13:33 +08:00
N0VAN0M4LY bfedc3d27e feat(launcher): prompt for stock source when adding patched client without backup 2026-11-30 20:59:38 +08:00
N0VAN0M4LY 53e4fe54ba style(launcher): base app and installer icons on wordmark logo 2026-11-30 20:33:39 +08:00
N0VAN0M4LY f6aaeb2ad3 refactor(i18n): replace copy terminology with client in launcher locales 2026-11-30 19:42:26 +08:00
N0VAN0M4LY c65308c477 feat(launcher): add WTOffline logo application and installer icons 2026-11-30 19:38:32 +08:00
N0VAN0M4LY cae69a6446 feat(launcher): support registering existing offline clients without copying 2026-11-30 19:32:24 +08:00
N0VAN0M4LY 7cb1011f0d feat(saves): localize battle and preset names, merge overview form and guard cache writes 2026-11-30 19:26:13 +08:00
N0VAN0M4LY e6e75d92c6 fix(saves): keep imported presets intact, cap crews to preset units and drop used-unit scan 2026-11-30 19:21:47 +08:00
N0VAN0M4LY 388dc9d9d7 fix(modifications): grant custom-slot weapon containers and support unit weapons 2026-11-30 19:18:16 +08:00
N0VAN0M4LY 62da2e3038 perf(server): index profile equipment and research refreshes
Replace O(N^2) linear lookups and repeated array filtering across modifications, weapons, modsResearch and unitResearch with single-pass Map indexes, pre-sort catalogue equipment once on load, avoid redundant pre-change disk writes in PlayerProfiles.updateWhen, and shallow-copy only top-level lists in clientProfile.
2026-11-30 17:54:36 +08:00
N0VAN0M4LY ebb2937a38 feat(launcher): add wordmark logo, ellipsis tooltips, auto-dismiss errors and online wording
Replace the title bar text mark with the white WTOffline wordmark SVG, add a window-level floating tooltip for truncated ellipsis text, auto-dismiss and manually close global error banners, and replace retail wording with online edition terminology across both locales and isolation patch titles.
2026-11-30 16:53:04 +08:00
N0VAN0M4LY db84971823 feat(saves): add one-click online data discovery and cache cleanup
Add user-initiated read-only discovery of local online client settings, copy selected files into the offline copy's staging directory before preview/import, clear the offline client's local cache for the imported account, and refresh save summaries after import.
2026-11-30 16:51:52 +08:00
N0VAN0M4LY f39d7b05c1 fix(patch-pack): write bundled manifest and prefer newer bundled patches
Generate manifest.json for bundled patches during installer builds and ignore previously downloaded adaptation packs that are older than or equal to the bundled patch set.
2026-11-30 16:50:46 +08:00
N0VAN0M4LY 8c19811714 fix(saves): remap online settings accounts, crew ids and exclude talismans
Re-key imported global.blk account settings to the local user id, map online global crew ids onto local crew slots, rewrite slotbar presets to local crew ids, clear offline local cache after bumping cloud versions, avoid cascading tech-tree unlocks from optional per-unit settings, and exclude talismans (premExpMul) from full equipment unlocks.
2026-11-30 16:49:50 +08:00
N0VAN0M4LY dacc61d404 fix(login): mark local accounts as email verified
Include the email_verified player tag in login answers so non-newbie local accounts do not trigger the in-game email verification dialog.
2026-11-30 16:48:52 +08:00
N0VAN0M4LY c087bd886a fix(launcher): disable Steam SDK initialization
Use the game's non-Steam startup option in the shared fixed arguments. Validate the arguments in the installed development handoff.

Statically verified on the .37 and .43 clients. The guarded game run remains part of acceptance.
2026-11-30 15:23:18 +08:00
N0VAN0M4LY 31f4fedafe fix(updates): scan release channels across pages
Share a bounded release scan across channels and compare tag versions across pages. Report uncertainty when the scan hits its limit without confirming a newer release.

Verified with local release responses covering cross-page versions, truncation, and missing feeds.
2026-11-30 15:23:18 +08:00
N0VAN0M4LY 5a78b1fdf8 fix(copies): honor confirmed Steam locations
Bind confirmation to the selected copy and data paths throughout installation, launch, and maintenance. Validate redirected runtime data paths and recheck original files before refreshing an in-place backup.

Verified by type checking and build. The acceptance checklist covers directory links and Steam confirmation.
2026-11-30 15:23:17 +08:00
N0VAN0M4LY 84158f719d fix(launcher): report game exits separately
Keep successful process creation separate from exit status. Report the exit code and game log directory when the process exits abnormally.

Verified by type checking and launcher build. The guarded game exit remains part of acceptance.
2026-11-30 15:23:15 +08:00
N0VAN0M4LY b3a30c0fd9 fix(launcher): enable standard game launch
Remove the development gate from the launcher and keep the guarded development handoff available.

Verified by type checking, Windows packaging, and opening the packaged launcher with a temporary profile.
2026-11-30 15:23:15 +08:00
N0VAN0M4LY 746b74c564 feat(updates): verify and install launcher releases
Check the versioned release channel, verify the signed manifest and installer digest, and open the installer only after confirmation.

Verified type checks, the Windows package, and an upgrade handoff from a local release fixture, including tampering and interrupted downloads.
2026-11-30 11:12:44 +08:00
N0VAN0M4LY a0beedd898 feat(agreement): show and record the WTOffline terms
Require explicit acceptance in the existing game dialog and retain the accepted version in the local account profile.

Verified full Quirrel compilation for .37 and .43, a temporary .43 build, and the launcher checks.
2026-11-30 10:44:42 +08:00
N0VAN0M4LY 1e3843b7e9 feat(decals): import a decal cache for each copy
Store the chosen cache in the copy data directory and use it for future builds. Restore the placeholder index when the copy has no available cache.

Verified type checks, the launcher build, a temporary .43 build, and the import and replacement flow from the Windows package.
2026-11-30 09:59:14 +08:00
N0VAN0M4LY 10839f050f feat(installer): package the Windows launcher and runtime
Ship the Electron workers, local server sources, native library, and bundled patch set in the Windows installer.

Verified type checks, build, and the extracted installer payload with a temporary copy, local save, and server health check.
2026-11-30 09:49:43 +08:00
N0VAN0M4LY c1dea23955 feat(launcher): implement gated standard launch
Build the selected copy for its port, wait for the local server, and manage the game and server lifecycles. Keep standard launch disabled pending isolation verification.

Verified both type checks, the launcher build, and the launch lifecycle against a temporary copy and a stand-in executable.
2026-11-30 09:40:58 +08:00
N0VAN0M4LY 2a97b0d46c feat(copies): add verified space-saving copies
Offer same-volume hard links for sampled 2.61.0.43 resources after checking their content and keeping mutable files independent. Support converting existing copies and detach registered links during version updates.
2026-11-30 05:51:22 +08:00
N0VAN0M4LY 0c9340f883 fix(profile): send a default avatar to the hangar
Include the default pilot icon in client profile replies when a save has no selected icon. Preserve chosen and legacy icons without modifying stored saves.
2026-11-30 04:58:43 +08:00
N0VAN0M4LY a940861295 fix(launcher): keep install requirement labels on one line
Size the home page requirement label column to its longest label so the installation requirements fit on one line in Chinese and English.
2026-11-30 04:56:13 +08:00
N0VAN0M4LY 5d1d7001b8 feat(saves): edit account levels and avatars
Read rank thresholds and available avatar artwork from the selected copy. Persist avatar selections in the player profile and preserve free research points when a level changes.
2026-11-29 18:19:05 +08:00
N0VAN0M4LY d043a8f0f8 feat(accounts)!: require explicit local account registration
Open the local signup page in the game's embedded browser before sign-in. Return the existing login error for unknown accounts or invalid passwords.

BREAKING CHANGE: First-time players must register in the game's signup window or create a save in the launcher before signing in. Existing accounts can sign in with their saved credentials.
2026-11-29 18:00:21 +08:00
N0VAN0M4LY d20b7f4249 feat(saves): edit local save nicknames and premium days
Let the launcher update a save's account nickname and replace or clear its remaining premium time. Reuse registration validation and preserve the existing login and password hash.
2026-11-29 17:41:46 +08:00
N0VAN0M4LY 02e05b07dc docs(patch-pack): reference the public version record implementation 2026-11-29 16:35:46 +08:00
N0VAN0M4LY a8678445c0 fix(launcher): report whether a game version is verified
Patches locate themselves in each game build, so nothing is chosen per
game version: a version without a check record is installed with every
patch tried, and the copy's patch check says which features work. The
pages showed an "adaptation version" and, for an unchecked version, the
nearest checked one as if its patches were used. They now show whether
the version is verified, and say that an unverified one still tries
every patch.
2026-11-29 16:34:54 +08:00
N0VAN0M4LY b984f40087 feat(patch-pack): show adaptation pack updates in the launcher
- IPC patches:active / check / apply / useBundled and the event
  patch-set-changed; installing or reverting is refused while a copy is
  being maintained, since a build reads the patch set as it runs.
- Setting checkPatchPacksOnStart (on by default): the window checks once
  when it opens and stays quiet when the check fails.
- The footer shows an available pack at the right end and leads to the
  About page, which shows the patch set in use, checks on request, and
  downloads and activates a pack only when the player clicks for it;
  a pack that needs a newer offline version, or a failed check, is
  explained there. Supported game versions follow the active set.
- Chinese and English text.
2026-11-29 16:32:13 +08:00
N0VAN0M4LY 893d60854f feat(tuning): configure tuning for each game copy 2026-11-29 16:24:21 +08:00
N0VAN0M4LY 61255f5473 feat(saves): edit research branches in local saves 2026-11-29 16:16:42 +08:00
N0VAN0M4LY f5c5377d44 feat(patch-pack): publish signed adaptation packs and install them locally
An adaptation pack is the patch set (exe, GUI, native definitions and
version records) released on its own, so a new game build can be adapted
without a new offline version. It is a zip with a manifest, signed with
Ed25519, published as a GitHub release tagged patches-<YYYY.MM.DD[.N]>.

- packages/patcher/src/patch-pack: manifest and version numbers, zip
  writing and reading with path and size checks, signatures, a check that
  a patch set reads as a whole; tuning/patch-pack.jsonc holds the
  repository and the limits.
- scripts/generate-patch-signing-key.ts writes the public key for the
  repository and the private key outside it; scripts/build-patch-pack.ts
  packs only committed files and signs with PATCH_SIGNING_KEY.
- .github/workflows/patch-pack.yml packs, signs and publishes on a
  patches-* tag or a manual run.
- Launcher main process: find the newest pack release, download, verify,
  unpack into user data and make it active; resource paths use the
  active pack when it is usable (a repository checkout only with
  WTO_USE_PATCH_PACK=1). The pages that show and start this come later.
2026-11-29 16:08:37 +08:00
N0VAN0M4LY 597df6b4f5 feat(saves): import official game backups 2026-11-29 16:03:31 +08:00
N0VAN0M4LY d0a767e692 feat(saves): add save archives and copy transfers 2026-11-29 15:55:23 +08:00
N0VAN0M4LY 073a907617 feat(saves): add local save selection and editing 2026-11-29 15:42:28 +08:00