From dcc67ec1488c118bdc39884a94e3925adc6454dc Mon Sep 17 00:00:00 2001 From: N0VAN0M4LY <224130499+N0VAN0M4LY@users.noreply.github.com> Date: Sun, 29 Nov 2026 03:28:56 +0800 Subject: [PATCH] docs(repo): use local server in remaining comments and titles Comments where "local" and "service" fell on two lines, and the Chinese titles of five patch definitions, still named the local service. Checked with the root typecheck, check-patches and check-gui. --- apps/server/src/profiles-setup.ts | 2 +- packages/exepatch/src/definition.ts | 2 +- packages/patcher/src/main-pack.ts | 2 +- packages/patcher/src/network/address-rewrite.ts | 2 +- packages/patcher/src/network/network-hook.ts | 2 +- patches/exe/online/accept-local-tls-certificate/patch.jsonc | 2 +- patches/exe/online/matching-server-public-key/patch.jsonc | 2 +- patches/exe/online/network-hook-library/patch.jsonc | 2 +- patches/gui/inventory/local-content-public-key/patch.jsonc | 2 +- .../online-shop/bypass-external-sso-for-local-urls/patch.jsonc | 2 +- tools/src/wtotools/exepatch/definition.py | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/apps/server/src/profiles-setup.ts b/apps/server/src/profiles-setup.ts index f1ec944..594c133 100644 --- a/apps/server/src/profiles-setup.ts +++ b/apps/server/src/profiles-setup.ts @@ -1,6 +1,6 @@ /** * Assemble the players' profiles with the rules they depend on, the same way for the local - * service and for the save editor (save-cli.ts): static data from the dataset cache, the + * server and for the save editor (save-cli.ts): static data from the dataset cache, the * save store with its format upgrades, and clan membership, research, and modification state * (with the modifications the mission support planes' presets need) and the free repair over time (repair/repair-over-time.ts) kept up to date and persisted on * every read or write. diff --git a/packages/exepatch/src/definition.ts b/packages/exepatch/src/definition.ts index cb58acf..66693b1 100644 --- a/packages/exepatch/src/definition.ts +++ b/packages/exepatch/src/definition.ts @@ -4,7 +4,7 @@ * * patch.jsonc id, title, features, required patches, the game versions it was verified * on, and the bytes to write; comments explain the change and why the local - * service cannot provide it + * server cannot provide it * locate.jsonc how to find the site * * Unknown keys are rejected so that explanations stay in comments and in the patch notes diff --git a/packages/patcher/src/main-pack.ts b/packages/patcher/src/main-pack.ts index 5405f95..34ba901 100644 --- a/packages/patcher/src/main-pack.ts +++ b/packages/patcher/src/main-pack.ts @@ -1,6 +1,6 @@ /** * Rebuild aces.vromfs.bin with the engine settings' server addresses pointed at the local - * service. + * server. * * config/settings.blk, block `network`: publicConfigsUrl and publicConfigsUrls are where the * engine's public-configs module downloads files at startup, including a signed network.blk diff --git a/packages/patcher/src/network/address-rewrite.ts b/packages/patcher/src/network/address-rewrite.ts index 1128b60..bd911b5 100644 --- a/packages/patcher/src/network/address-rewrite.ts +++ b/packages/patcher/src/network/address-rewrite.ts @@ -1,6 +1,6 @@ /** * Rewrite one configuration string that names a Gaijin server so that it names the local - * service instead. Only values that clearly are server addresses are touched: + * server instead. Only values that clearly are server addresses are touched: * * http(s)://host[:port]/path -> http://127.0.0.1:/host/path (host is a Gaijin domain or an external IP) * ws(s)://host[:port]/path -> ws://127.0.0.1:/host/path diff --git a/packages/patcher/src/network/network-hook.ts b/packages/patcher/src/network/network-hook.ts index 5ab7747..724bbf5 100644 --- a/packages/patcher/src/network/network-hook.ts +++ b/packages/patcher/src/network/network-hook.ts @@ -1,7 +1,7 @@ /** * The network hook library in the game copy: the exe patch * online/network-hook-library makes aces.exe load win64/wto_ws.dll, which reads the local - * service port from win64/wto_ws.cfg. Both files are written next to the executable; the DLL is + * server port from win64/wto_ws.cfg. Both files are written next to the executable; the DLL is * built from native/wto-net (build.ps1). */ import type { LocalEndpoint } from './local-endpoint.ts'; diff --git a/patches/exe/online/accept-local-tls-certificate/patch.jsonc b/patches/exe/online/accept-local-tls-certificate/patch.jsonc index a45605e..40c82d3 100644 --- a/patches/exe/online/accept-local-tls-certificate/patch.jsonc +++ b/patches/exe/online/accept-local-tls-certificate/patch.jsonc @@ -3,7 +3,7 @@ // Without it: redirected HTTPS requests (GJN purchases, item_info, redeem codes) fail the TLS handshake. { "id": "online/accept-local-tls-certificate", - "title": "让客户端的 HTTPS 连接接受本地服务的自签证书", + "title": "让客户端的 HTTPS 连接接受本地服务器的自签证书", "features": [ "A-不连 Gaijin", "G-礼包商店", diff --git a/patches/exe/online/matching-server-public-key/patch.jsonc b/patches/exe/online/matching-server-public-key/patch.jsonc index c63f381..1947abd 100644 --- a/patches/exe/online/matching-server-public-key/patch.jsonc +++ b/patches/exe/online/matching-server-public-key/patch.jsonc @@ -3,7 +3,7 @@ // Without it: the client cannot connect to the local matching server and the hangar never finishes loading. { "id": "online/matching-server-public-key", - "title": "把程序里匹配服务器的公钥换成本地服务的公钥,让本地服务能解出匹配连接的会话密钥", + "title": "把程序里匹配服务器的公钥换成本地服务器的公钥,让本地服务器能解出匹配连接的会话密钥", "features": [ "J-对局模式", "B-机库与载具" diff --git a/patches/exe/online/network-hook-library/patch.jsonc b/patches/exe/online/network-hook-library/patch.jsonc index b886972..73e18f0 100644 --- a/patches/exe/online/network-hook-library/patch.jsonc +++ b/patches/exe/online/network-hook-library/patch.jsonc @@ -3,7 +3,7 @@ // Without it: hard-coded https endpoints try the real internet and purchases/redeem codes never reach the local server. { "id": "online/network-hook-library", - "title": "让游戏加载离线版的网络钩子库 wto_ws.dll(代替直接加载 WS2_32.dll),把所有联网都接到本地服务", + "title": "让游戏加载离线版的网络钩子库 wto_ws.dll(代替直接加载 WS2_32.dll),把所有联网都接到本地服务器", "features": [ "A-不连 Gaijin", "A-与正版隔离", diff --git a/patches/gui/inventory/local-content-public-key/patch.jsonc b/patches/gui/inventory/local-content-public-key/patch.jsonc index cdb4321..4425d67 100644 --- a/patches/gui/inventory/local-content-public-key/patch.jsonc +++ b/patches/gui/inventory/local-content-public-key/patch.jsonc @@ -3,7 +3,7 @@ // Without it: GetItemDefsClient fails CONTENT_SIGN_VALIDATION_FAILED and every external item definition is dropped. { "id": "inventory/local-content-public-key", - "title": "外部库存内容验签公钥替换为本地服务的固定公钥", + "title": "外部库存内容验签公钥替换为本地服务器的固定公钥", "file": "scripts/inventory/inventorycontentsign.nut", "features": [ "G-市场", diff --git a/patches/gui/online-shop/bypass-external-sso-for-local-urls/patch.jsonc b/patches/gui/online-shop/bypass-external-sso-for-local-urls/patch.jsonc index 1c6d947..de624bd 100644 --- a/patches/gui/online-shop/bypass-external-sso-for-local-urls/patch.jsonc +++ b/patches/gui/online-shop/bypass-external-sso-for-local-urls/patch.jsonc @@ -3,7 +3,7 @@ // Without it: opening the local store or marketplace sends the browser to the real Gaijin login server. { "id": "online-shop/bypass-external-sso-for-local-urls", - "title": "本地服务地址打开网页时跳过 Gaijin 外网单点登录跳转", + "title": "本地服务器地址打开网页时跳过 Gaijin 外网单点登录跳转", "file": "scripts/onlineshop/url.nut", "features": [ "A-不连 Gaijin", diff --git a/tools/src/wtotools/exepatch/definition.py b/tools/src/wtotools/exepatch/definition.py index 3d10e3c..bef4e3f 100644 --- a/tools/src/wtotools/exepatch/definition.py +++ b/tools/src/wtotools/exepatch/definition.py @@ -4,7 +4,7 @@ One directory per change to the program's behaviour, under patches/exe// patch.jsonc id, title, features, required patches, the game versions it was verified on, and the bytes to write; comments explain the change and why the local - service cannot provide it + server cannot provide it locate.jsonc how to find the site Unknown keys are rejected so that explanations stay in comments and in the patch notes.