Replace the title bar text mark with the white WTOffline wordmark SVG, add a window-level floating tooltip for truncated ellipsis text, auto-dismiss and manually close global error banners, and replace retail wording with online edition terminology across both locales and isolation patch titles.
34 lines
1.2 KiB
JSON
34 lines
1.2 KiB
JSON
// Rename the game from WarThunder to WTOffline, which moves every per-user data folder.
|
|
// Why the executable: the engine derives Documents/AppData folders from this constant name.
|
|
// Without it: the offline client reads and rewrites the retail client's settings.
|
|
{
|
|
"id": "isolation/user-data-folder-name",
|
|
"title": "把游戏名从 WarThunder 改成 WTOffline,让离线版的用户数据目录和在线版分开",
|
|
"features": [
|
|
"A-Isolation from the official game"
|
|
],
|
|
"requires": [],
|
|
"variants": [
|
|
// "WarThunder" with the preceding string terminator and the following "War Thunder", 24 bytes,
|
|
// so the hit is the copy referenced by the game identity table.
|
|
// 2.61.0.37: unique hit at 0x777eb96, string at 0x777eb97.
|
|
{
|
|
"written_for": "2.61.0.37",
|
|
"locate": {
|
|
"method": "signature",
|
|
"section": ".rdata",
|
|
"pattern": "00 57 61 72 54 68 75 6e 64 65 72 00 57 61 72 20 54 68 75 6e 64 65 72 00"
|
|
},
|
|
"edit": {
|
|
"offset": 1,
|
|
"data": {
|
|
"encoding": "ascii",
|
|
"text": "WTOffline"
|
|
},
|
|
"bytes": "57 54 4f 66 66 6c 69 6e 65 00",
|
|
"expect_original": "57 61 72 54 68 75 6e 64 65 72"
|
|
}
|
|
}
|
|
]
|
|
}
|