Commit Graph
28 Commits
Author SHA1 Message Date
N0VAN0M4LY afb22c4f08 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 ae6958f291 Add classic items and fix initial 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 76670121a9 Add unlock purchases and profile 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 c971dad167 Fix modification status and support 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 71c44a085d Save profile 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 81d33f3048 Implement crew 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 391082278f Support purchasing cosmetics
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 c6c8f85ddd 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 8692a13577 Add modification, ammunition, and spare vehicle 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 56731efa76 Wrap the price table 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 7a08fff85e Implement 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 8b31277c58 Seed new saves and reveal hidden vehicles in the tech tree
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 2fc28dd7a5 Grant reserve vehicles and support crew presets
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 40af06edad 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 6ed498e4d0 Support first-run selection and optional tutorials
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 c3c5f583ad 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 ce389c2154 Return matching 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 5a1fd594e0 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 18f63bf33e 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 5421268fbf 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 0117c02677 Restore the 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 65f9377f24 Archive the prototype and map the hangar request flow
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 e094131a7a 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 b6d72f4792 Add Quirrel script 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 8fa50b7804 Add the executable patch engine and local archive compatibility
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 c9e10b0db7 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 3dac2ca6ed Standardize terminology and document 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 b26de2651b 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