db981ab83481faff8aec4456f45f4783667aa6b7
Patch definitions under exe-patches/ and gui-patches/ move from patch.json/locate.json to patch.jsonc/locate.jsonc. Each file now holds only the data needed to apply the patch plus a short English comment stating what it changes, why the local service cannot provide it, and what happens without it. Every definition records the game versions it was verified on (verified_on, required). GUI patches keep their stock text and replacement in find.nut and replace.nut next to patch.jsonc instead of escaped JSON strings, so the script edits are readable, diffable and can carry Quirrel comments. Matching treats CRLF and LF as the same line break because stock scripts mix both; only the matched span is rewritten. Loaders on both sides (packages/build, packages/exepatch, wtotools) reject unknown keys so analysis text cannot creep back into the data. JSONC parsing moves into a shared @wto/jsonc package; the build now parses tuning/store.jsonc instead of scanning it with a regex. Verified: npm run typecheck; check-patches (10/10 ready on 2.61.0.37); check-gui (33 patches, 24 scripts compile); the TypeScript and Python appliers produce identical scripts, byte-identical to the previous definitions except one stock script with mixed line endings. The 15 battle patches are migrated mechanically and still carry the pending-review comment; they are rewritten by the LocalMP review. BREAKING CHANGE: Patch loaders require JSONC definitions. Migrate patch.json and locate.json and move embedded GUI edits to separate Quirrel files.
WTOfflineProject
《战争雷霆》离线版。目标客户端版本:Steam 2.61.0.37。
做法和 SPT 一样:客户端的所有联网请求改到本机,由本地服务模拟 Gaijin 的服务器。
本仓库不包含任何游戏文件。构建时从一个游戏文件夹读取原版文件。
| 目录 | 内容 |
|---|---|
packages/ |
TypeScript(npm workspace):BLK 编解码、数据包读写、exe 补丁应用、构建流程、本地服务,以后还有启动器 |
tools/ |
Python 开发端工具:数据包读写、exe 补丁引擎(特征码生成、汇编核对) |
exe-patches/ |
exe 补丁定义 |
Description
WTOffline is a single-player offline project for the Windows client of War Thunder.
12 MiB
0 Stars
1 Watchers
0 Forks
Releases
2
WTOffline Launcher 0.1.2
Latest
Languages
TypeScript
82.1%
C
6%
Squirrel
3.3%
Python
3.1%
CSS
2.5%
Other
2.9%