N0VAN0M4LY 9ed92c33d4 fix(cosmetics): deliver decal indexes in the local character pack
The client never downloads downloadable_decals.<hash>.blk: webdlcontent only looks
for it in its web cache folder (aces.exe 2.61.0.37 0xd3e710 -> 0xd3f610) and deletes
a file whose signature check fails (0xd383e0), so the index the local service served
never reached it and every decal was dropped for lack of a texture.

The build now stores dldata/downloadable_skins.blk and dldata/downloadable_decals.blk
in char.vromfs.bin. The client's vromfs index path (0xd3bc40 -> 0xd3cc60) loads both
without hash or signature checks and skips the download path. Each decal points at
a built-in decals.dxp.bin texture (star, or panther for wide decals) as placeholder;
the texture manager strips the "?options" suffix before the lookup (DagorEngine
TextureMetaData::decode), so the existing textures are used.

--decal-cache <folder> copies the cache/content folder of the player's online
installation into the game copy instead; the client then uses that signed index and
its cached textures, and falls back to the cached dldata_s.info because the local
service now answers the dldata hosts with 404. The service's index generation, the
content hash helper and the decal texture dataset are removed.

Checked: typecheck; client startup log shows 1598 decals registered from the vromfs index
with no missing textures.
2026-11-28 12:44:45 +08:00

WTOfflineProject

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

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

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

目录 内容
packages/ TypeScript(npm workspace):BLK 编解码、数据包读写、exe 补丁应用、构建流程、本地服务,以后还有启动器
tools/ Python 开发端工具:数据包读写、exe 补丁引擎(特征码生成、汇编核对)
exe-patches/ 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%