N0VAN0M4LY 303dbf24e6 Add the install wizard to the launcher window
The window now installs the offline version in five steps:

1. Game: the player picks their War Thunder folder; the launcher says
   whether it is one and whether its version is the one the patches were
   verified on (another version is pointed out, not refused).
2. Method: copy into a new folder (recommended; shows the size of the
   installation, the room on the target drive, and why a folder cannot
   be used) or install into the chosen folder itself. A Steam library
   brings up the three risks and needs a tick before going on.
3. Data: the folder for saves, caches and logs, the launcher's own data
   folder by default.
4. Check: the patch check runs each time the step is entered. Missing
   essential changes stop the installation; other missing changes are
   listed as the features they cost, translated, with the patches behind
   them folded away, and need a tick to go on.
5. Install: phase, a byte progress bar and file counts while copying,
   and a cancel button. An error goes back to the check step with its
   translated message.

The first screen shows either the invitation to install or what is
installed (copy, data folder, version, method, missing features) with a
button to install again. Feature tags of the patch definitions have
names in both languages; a tag without one is shown as it is.

The app's productName gives its user data folder a readable name.

Checked with the launcher typecheck and build, and a start on a scratch
user data folder: the first screen and the wizard's first step render
in Chinese and English with no console errors.
2026-11-29 06:29:53 +08:00
2026-11-29 03:22:38 +08:00

WTOfflineProject

《战争雷霆》离线版。目标客户端版本:Steam 2.61.0.37。

做法和 SPT 一样:客户端的所有联网请求改到本机,由本地服务器模拟 Gaijin 的服务器。

本仓库不包含任何游戏文件。构建时从一个游戏文件夹读取原版文件。

目录 内容
apps/server/ 本地服务器(TypeScript):模拟 Gaijin 的登录、档案、匹配、商店等服务器
packages/ 共用的 TypeScript 库(npm workspace):BLK 编解码(blk)、数据包读写(vromfs)、JSONC(jsonc)、exe 补丁引擎(exepatch)、构建游戏副本(patcher)
patches/exe/ exe 补丁定义
patches/gui/ 界面脚本补丁定义
native/ 网络钩子与本地对局模块 wto_ws.dll(C)
scripts/ 开发用的 TypeScript 脚本(如 build-game-copy.ts 构建游戏副本)
tools/ Python 开发端工具:数据包读写、exe 补丁核对(特征码生成、汇编核对)、界面补丁编译检查
S
Description
WTOffline is a single-player offline project for the Windows client of War Thunder.
Readme AGPL-3.0
12 MiB
0 Stars 1 Watchers 0 Forks
2026-12-03 03:33:17 +08:00
Languages
TypeScript 82.1%
C 6%
Squirrel 3.3%
Python 3.1%
CSS 2.5%
Other 2.9%