From 5e828352e4610f327400d8cf4667ce17ab2d6f97 Mon Sep 17 00:00:00 2001 From: N0VAN0M4LY <224130499+N0VAN0M4LY@users.noreply.github.com> Date: Mon, 23 Nov 2026 09:21:52 +0800 Subject: [PATCH] chore(repo): initialize the offline project workspace Add a TypeScript backend skeleton with a health endpoint and read-only PE analysis tools for the target client. Ignore game files, build outputs, saves, logs, and virtual environments. --- .gitattributes | 4 ++++ .gitignore | 36 ++++++++++++++++++++++++++++++++++++ README.md | 14 ++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5bb04e7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +* text=auto +*.ps1 text eol=crlf +*.cmd text eol=crlf +*.bat text eol=crlf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c38978 --- /dev/null +++ b/.gitignore @@ -0,0 +1,36 @@ +# Never commit game files (copyright, size). The build reads them from a game folder. +*.vromfs.bin +*.vromfs.bin.orig +aces.exe +aces*.exe +*.dll +*.pak +*.dxp.bin +*.grp +*.yup + +# Build output and unpacked game scripts +/build/ +/out/ +**/dist/ +**/unpacked/ + +# Node +node_modules/ +*.tsbuildinfo + +# Python +__pycache__/ +*.pyc +.venv/ + +# Saves, logs, local runtime data +/data/ +/saves/ +*.log + +# Editors / OS +.vscode/ +.idea/ +Thumbs.db +Desktop.ini diff --git a/README.md b/README.md new file mode 100644 index 0000000..0c69879 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# WTOfflineProject + +战雷离线版同人项目的重写。目标客户端版本:Steam 2.61.0.37。 + +本仓库不包含任何游戏文件。构建时从一个游戏文件夹读取原版文件。 + +| 目录 | 内容 | +|---|---| +| `backend/` | TypeScript 本地后端 | +| `client/` | 转接头、离线脚本、对原版文件的改动记录、其他资源(待建) | +| `exe-patches/` | 程序手术定义(待建) | +| `tools/` | Python 工具:解包与打包、数据提取、补丁定位(待建) | +| `launcher/` | 启动器、安装器(待建) | +| `guard/` | 断网守护(待建) |