Commit Graph
29 Commits
Author SHA1 Message Date
N0VAN0M4LY b6b6effef3 fix(native): preserve stock socket export ordinals
Keep the original ordinals for functions imported by number so Windows
can resolve the socket library imports during startup.
2026-11-25 05:04:28 +08:00
N0VAN0M4LY 2428b34497 feat(native): route client traffic to the loopback service
Build the socket library and client-local port configuration for redirecting
traffic to the offline service. Accept HTTPS and the existing matching and
HTTP protocols on the same port. Route requests by the original host.
2026-11-25 05:02:34 +08:00
N0VAN0M4LY ddfc067874 feat(inventory): add classic items and default showcase responses
Store and activate boosters, personal discounts, wagers, and universal
spares. Apply active personal discounts when pricing vehicle purchases.
Return the server time and default fields for every showcase type.

Add developer commands for inspecting game logs, strings, references,
callers, and disassembly.
2026-11-25 04:17:34 +08:00
N0VAN0M4LY f463f3e325 feat(profile): add unlock purchases and showcases
Load unlock prices from unlocks.blk and expose them in Common/unlocks.
Support purchasing unlocks and saving showcases, and count qualified
crews for the ace showcase.

Read charRequestBlk action parameters from HTTP headers and apply this
to cln_get_users_terse_info.
2026-11-25 02:49:13 +08:00
N0VAN0M4LY 1e7dc2447f fix(equipment): correct modification status and persist weapon presets
Write modStatus in modsResearch so the client recognizes purchasable
modifications. Persist ownership and initial equipment state for free
modifications and quantities for free weapon presets.

Persist preset inventory in the weapon records and handle cln_buy_weapon
using the maximum quantity extracted from the game data.
2026-11-25 02:44:16 +08:00
N0VAN0M4LY 743efbbd39 feat(profile): save appearance and return player summaries
Persist titles, avatars, backgrounds, and frames. Return the corresponding
appearance fields in the player summary response.
2026-11-24 22:06:48 +08:00
N0VAN0M4LY 40f088a912 feat(crew): add skills, qualifications, and training fees
Support spending crew skill points, buying skill point packs, and
purchasing expert and ace qualifications. Charge for training a crew on
an unfamiliar vehicle and expose the skill pack prices.
2026-11-24 22:05:15 +08:00
N0VAN0M4LY 28909cf1e9 feat(cosmetics): support cosmetic purchases
Handle cln_buy_resource, persist ownership in resourcesInfo, and expose
the prices of skins, decals, and attachments.
2026-11-24 21:56:00 +08:00
N0VAN0M4LY 6d8a3af37a feat(cosmetics): save decal and attachment layouts
Handle cln_save_decals and cln_save_attachables and return the complete
updated layout block for the affected resource type.
2026-11-24 21:51:53 +08:00
N0VAN0M4LY c448ed94a7 feat(equipment): add modification, ammunition, and spare actions
Include modification, weapon, and spare vehicle prices, omitting zero
prices. Recalculate modification research and ranks and handle research
target selection, purchases, bulk purchases, and equipment toggles.
2026-11-24 21:43:35 +08:00
N0VAN0M4LY 9196dc2a4d fix(economy): wrap vehicle prices in the Common block
Use the block expected by the client to fix zero vehicle prices.
Document hangar settings, modification state, and price table paths.
2026-11-24 21:34:31 +08:00
N0VAN0M4LY 08b5c1e51c feat(research): add vehicle research and purchases
Recompute unlocked ranks, prerequisites, and unit states before serving
profiles. Add research target selection, research conversion, vehicle
and slot purchases, and the price table. Support editing convertible RP
and restrict hidden vehicle visibility to eligible entries.

The client still displays zero purchase prices pending price table
integration.
2026-11-24 21:04:19 +08:00
N0VAN0M4LY e5452e925f feat(saves): seed new saves and reveal eligible hidden vehicles
Set initial Silver Lions and Golden Eagles balances and add a save
editing command. Open rank I for each nation and branch and migrate
older saves to format 3. Reveal eligible hidden vehicles while keeping
split air-defense launchers out of the tech tree.

Document the currency, rank, and unit status fields observed in the offline client.
2026-11-24 14:45:28 +08:00
N0VAN0M4LY ed0136f5fc feat(crew): add crew presets and grant reserve vehicles
Derive reserve vehicles from the stock economy data. Grant all reserves
and mark the basic takeoff and landing tutorials complete in new saves.
Apply the same grants through the format 2 migration.

Use shared crew slot rules for first-run selection, presets, training,
assignment, and removal.
2026-11-24 14:18:02 +08:00
N0VAN0M4LY 1d9c92a9d0 feat(battle): serve game modes from extracted mission data
Publish stable mode IDs and matching responses in the stock format.
Build the mission pools from the multiplayer mission data and provide
required fields and localized names. Load datasets before listening and
reuse cached results when the source file digests match.

Preserve invalid UTF-8 bytes when round-tripping BLK strings and names.
The game mode list appeared in the offline client.
2026-11-24 11:02:30 +08:00
N0VAN0M4LY d88aa3ff4f feat(profile): support first-run selection and tutorial skipping
Save the selected country, starting crew, and unlocks when the client
submits its first-run selection. Use the stock unlock and crew formats.
Enable the existing option to skip the basic tutorial.

The client reached the hangar. Tutorial verification is pending.
2026-11-24 10:01:47 +08:00
N0VAN0M4LY ac2c185d4c feat(accounts): persist EULA acceptance
Persist the accepted EULA version before responding and return both
agreement fields in the profile. Respond to matching heartbeats.
2026-11-24 09:05:31 +08:00
N0VAN0M4LY 6233a64835 fix(matching): return clusters in the stock response envelope
Return recognizable regions from fetch_clusters_list and place matching
results in data.data. Document the handshake, heartbeat, and EULA
requirements. The offline client remains logged in after the cluster reply.
2026-11-24 08:44:44 +08:00
N0VAN0M4LY 27754122fc feat(server): handle matching login and decorative content manifests
Add matching frame and message handling, per-connection session
encryption, and loopback traffic dispatch. Serve the decorative content
manifest and empty indices to remove startup download waits.

Resolve character requests to their explicit account ID, include the
nickname in profile replies, and redact matching traffic logs.
2026-11-24 08:12:40 +08:00
N0VAN0M4LY 7f482ae530 feat(accounts): implement local login
Route login and character requests by their original host names on one
loopback port. Add local accounts, saves, and credential redaction.
2026-11-24 05:01:26 +08:00
N0VAN0M4LY c3914ec0d6 feat(patcher): build a loopback client copy with TypeScript
Add the shared BLK, VROMFS, executable patch, and build packages. Preserve
typed fields and shared name tables when reading BLK data. Rewrite the
service endpoints in place so the original environment names remain
available to the client, then build the client copy.
2026-11-24 00:35:13 +08:00
N0VAN0M4LY 89aa5198c3 build(repo): restore build tools and define the workspace layout
Restore the reviewed pack, PE, and patch tooling. Specify a TypeScript
build pipeline, a type-preserving BLK codec, and a configurable loopback
port selected at launch. Document the package boundaries.
2026-11-24 00:19:04 +08:00
N0VAN0M4LY 7b6d8973d1 chore(repo): archive the prototype and document hangar requests
Archive the earlier backend, client, build, and patch definitions. Document
the stock login and profile requests required to reach the hangar, along
with the profile structure and the relevant configuration blocks.
2026-11-24 00:07:51 +08:00
N0VAN0M4LY 0e4af609c8 docs(server): define the local server architecture
Describe how the stock client can handle login and profiles with a
loopback service using the native protocols. Record the service endpoints,
login and profile flow, and character action inventory. Update the feature
checklist and archive the replaced design material.
2026-11-23 23:49:19 +08:00
N0VAN0M4LY 5f6b9d6939 feat(tooling): add Quirrel checks and a GUI build command
Compile the upstream Quirrel checker with MSVC and invoke syntax and
static analysis for each input file. Treat reported errors and warnings
as failures because the checker can return a zero exit code for them.

Split the command line by purpose and add GUI pack construction from
declared edits and injected scripts. Verify the checker against stock
scripts and invalid inputs, and confirm that patch checks still run.
2026-11-23 14:36:15 +08:00
N0VAN0M4LY f014f327e5 feat(patcher): add executable patching and local archive support
Keep patch definitions and dependencies separate from the patch engine.
Resolve all patches before writing, verify expected bytes, and refuse to
overwrite the input executable. Include a read-only check command for
comparing definitions with their assembly source.

Allow locally rebuilt script archives to load in the offline client.
Verify the patch against the 2.61.0.37 executable and confirm that the
patched copy remains readable as PE.
2026-11-23 13:32:36 +08:00
N0VAN0M4LY 8d26ad0fbd feat(vromfs): read and rebuild VROMFS script packs
Split container handling from the file table and add a read-only PE view
for the patch engine. Apply declarative script edits at unique anchors and
preserve the input line endings and unmodified bytes.

Round-trip the 2.61.0.37 GUI pack byte-for-byte and verify that invalid
edit definitions and ambiguous matches are rejected.
2026-11-23 13:19:27 +08:00
N0VAN0M4LY b89e3c1ce7 docs(patches): standardize terms and describe patch design criteria
Use standard names for executable patches, adapters, and subscriptions.
Document how each change follows from a feature requirement and how
dependencies and generated code are represented. Mark the feature list
entries whose implementation still needs investigation.
2026-11-23 11:13:15 +08:00
N0VAN0M4LY 5e828352e4 chore(repo): initialize the offline project workspace
Add a TypeScript backend skeleton with a health endpoint and read-only
PE analysis tools for the target client.

Ignore game files, build outputs, saves, logs, and virtual environments.
2026-11-23 09:21:52 +08:00