ww-manager 2.0.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,36 @@
1
+ name: Code Quality
2
+
3
+ # 触发条件:推送到 main 分支,或提交针对 main 分支的 Pull Request
4
+ on:
5
+ push:
6
+ branches: [ "main" ]
7
+ pull_request:
8
+ branches: [ "main" ]
9
+
10
+ jobs:
11
+ lint-and-format:
12
+ name: Ruff Check & Format
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v4
18
+
19
+ - name: Set up Python
20
+ uses: actions/setup-python@v5
21
+ with:
22
+ python-version: "3.9"
23
+
24
+ # 直接安装 ruff,速度非常快
25
+ - name: Install Ruff
26
+ run: pip install ruff
27
+
28
+ # 1. 代码审查 (Lint)
29
+ # 检查是否有错误,如果有则流水线失败
30
+ - name: Run Ruff Linter
31
+ run: ruff check . --output-format=github
32
+
33
+ # 2. 格式检查 (Format)
34
+ # --check 参数表示只检查不修改。如果代码未格式化,流水线会失败
35
+ - name: Check Code Formatting
36
+ run: ruff format --check .
@@ -0,0 +1,48 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*" #当推送 v 开头的标签时触发
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ build:
11
+ name: Build distribution
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - name: Install uv
18
+ uses: astral-sh/setup-uv@v5
19
+ with:
20
+ version: "latest"
21
+
22
+ - name: Build package
23
+ run: uv build
24
+
25
+ - name: Upload artifacts
26
+ uses: actions/upload-artifact@v4
27
+ with:
28
+ name: dist
29
+ path: dist
30
+
31
+ publish:
32
+ name: Publish to PyPI
33
+ needs: build
34
+ runs-on: ubuntu-latest
35
+ permissions:
36
+ contents: read
37
+
38
+ steps:
39
+ - name: Download artifacts
40
+ uses: actions/download-artifact@v4
41
+ with:
42
+ name: dist
43
+ path: dist/
44
+
45
+ - name: Publish to PyPI
46
+ uses: pypa/gh-action-pypi-publish@release/v1
47
+ with:
48
+ password: ${{ secrets.PYPI_PASSWORD }}
@@ -0,0 +1,5 @@
1
+ .venv/
2
+ .ruff_cache/
3
+ __pycache__/
4
+ *.py[cod]
5
+ *$py.class
@@ -0,0 +1,18 @@
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v6.0.0
4
+ hooks:
5
+ - id: trailing-whitespace # 删除行尾多余空格
6
+ - id: end-of-file-fixer # 确保文件以空行结尾
7
+ - id: check-yaml # 检查 yaml 文件语法
8
+ - id: check-added-large-files # 防止意外提交大文件
9
+
10
+ - repo: https://github.com/astral-sh/ruff-pre-commit
11
+ rev: v0.14.6
12
+ hooks:
13
+ # 1. 代码审查 (Lint)
14
+ - id: ruff
15
+ args: [ --fix ]
16
+
17
+ # 2. 格式化 (Format)
18
+ - id: ruff-format
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 timetetng
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,261 @@
1
+ Metadata-Version: 2.4
2
+ Name: ww-manager
3
+ Version: 2.0.6
4
+ Summary: 鸣潮命令行管理器
5
+ License-File: LICENSE
6
+ Requires-Python: >=3.9
7
+ Requires-Dist: certifi
8
+ Requires-Dist: rich
9
+ Requires-Dist: tqdm
10
+ Requires-Dist: typer
11
+ Description-Content-Type: text/markdown
12
+
13
+
14
+ <div align="center"><h1>WutheringWaves CLI Manager</h1><h3>鸣潮命令行管理器</h3><div align="center">
15
+ <a href="https://python.org"><img src="https://img.shields.io/badge/Python-3.9%2B-blue.svg" alt="Python 3.9+"></a>&nbsp;<a href="https://github.com/astral-sh/uv"><img src="https://img.shields.io/badge/Tool-uv-purple.svg" alt="uv"></a>&nbsp;<img src="https://img.shields.io/badge/Version-2.0-brightgreen.svg" alt="version 2.0">
16
+ </div>
17
+ </div>
18
+
19
+ <div align="center" style="width: 80%;">
20
+ <div style="display: flex; justify-content: space-between; align-items: flex-start; width: 80%;">
21
+ <img src="https://cdn.jsdelivr.net/gh/timetetng/Pic-Bed@main/ww-example1.png" alt="徽章" style="width: 40%; height: auto;">
22
+ <img src="https://cdn.jsdelivr.net/gh/timetetng/Pic-Bed@main/ww-example2.png" alt="命令行预览" style="width: 40%; height: auto;">
23
+ </div>
24
+ </div>
25
+
26
+
27
+
28
+
29
+ 专为 Linux 用户打造的《鸣潮》客户端命令行管理工具。
30
+ 结合了 **完整的下载/校验功能** 与 **秒级服务器切换** 技术。一旦完成“烘焙”,即可在官服 (CN)、B服 (Bilibili) 之间瞬时切换,无需重新下载庞大的游戏文件。
31
+
32
+ > **国际服因为包体差异不支持快速切换**。
33
+ >
34
+ > 最新版本经过测试,兼容 Windows11。
35
+ >
36
+ >此版本目前有一个较严重bug,部分用户有游戏剧情过场动画、文本丢失的情况,待解决。
37
+
38
+ ## 🔥 增量更新
39
+
40
+ 🚧 正在开发测试中
41
+
42
+ `feat/predownload` 分支为待验证的分支,提供全量预下载功能,使用前请确保您了解自己在做什么;
43
+
44
+ 增量更新因技术有限尚未实现,欢迎PR🙏!
45
+
46
+
47
+ ## ✨ 核心功能
48
+
49
+ * **🚀 秒级切换 (`checkout`)**:利用差异文件重命名替换,在不同服务器间瞬间切换。
50
+ * **🛠️ 智能修复 (`sync`)**:校验全量文件 MD5,自动修复损坏文件,下载缺失资源。
51
+ * **📦 完整下载 (`download`)**:从零开始下载任一服务器的纯净客户端。
52
+ * **💾 自动记忆**:自动记录游戏路径,一次设置,永久生效。
53
+ * **⚡️ 现代化 CLI**:基于 `Typer` 构建,支持自动补全和帮助信息。
54
+ * **👯 并行下载**: 使用多线程并行下载,避免 CDN 节点降速,支持断点续传。
55
+
56
+ ## 🔧 安装指南
57
+
58
+ 本工具推荐使用 [uv](https://github.com/astral-sh/uv) 进行安装和管理。
59
+
60
+ ### 1. 安装 uv (如果尚未安装)
61
+
62
+ - Linux
63
+ ```bash
64
+ curl -LsSf https://astral.sh/uv/install.sh | sh
65
+ ````
66
+
67
+ - Windows
68
+ ```pwsh
69
+ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
70
+ ```
71
+
72
+ > 安装完需要**重启终端**应用环境变量。
73
+
74
+
75
+ ### 2\. 安装本工具
76
+
77
+ - **方式一: 从本地源码构建**
78
+
79
+ 克隆仓库代码到本地
80
+ ```shell
81
+ git clone https://github.com/timetetng/wutheringwaves-cli-manager.git
82
+ cd wutheringwaves-cli-manager
83
+ ```
84
+
85
+ 在源码目录下执行:
86
+
87
+ ```bash
88
+ uv tool install .
89
+ ```
90
+
91
+ - **方式二: 从远程构建**
92
+
93
+ 终端直接输入:
94
+
95
+ ```bash
96
+ uv tool install git+https://github.com/timetetng/wutheringwaves-cli-manager
97
+ ```
98
+
99
+ - **方式三: 从 PyPI 源安装**
100
+
101
+ ```bash
102
+ uv tool intall ww-manager
103
+ ```
104
+
105
+ 安装完成后,你就可以在终端的任意位置直接使用 **`ww`** 命令了!
106
+
107
+ ### 3\. 更新/卸载
108
+
109
+ - **更新工具**
110
+
111
+ - 从本地源码构建安装:
112
+ ```bash
113
+ # 从本地源码构建,更新时需拉取最新源码
114
+ git pull
115
+ # 在源码目录下执行,重新构建工具
116
+ uv tool install . --force
117
+ ```
118
+
119
+ - 远程或 PyPI 安装:
120
+
121
+ ```bash
122
+ uv tool upgrade ww-manager
123
+ ```
124
+
125
+ - **卸载工具**
126
+
127
+ ```bash
128
+ uv tool uninstall ww-manager
129
+ ```
130
+
131
+
132
+ ## 📖 使用说明
133
+
134
+ ### 首次运行
135
+
136
+ 第一次运行时,你需要指定游戏路径(只需指定一次,后续会自动记忆):
137
+
138
+ ```bash
139
+ # 创建安装目录(如果你还没有创建游戏目录)
140
+ mkdir -p "$HOME/Games/WutheringWaves"
141
+ # 初始化路径
142
+ ww -p "$HOME/Games/WutheringWaves" status
143
+ ```
144
+
145
+ 》`-p`、`--path` 参数用于指定安装路径。
146
+
147
+ ### 常用命令
148
+
149
+ #### 1\. 查看状态 (`status`)
150
+
151
+ 检查当前游戏目录属于哪个服务器,以及版本号。
152
+
153
+ ```bash
154
+ ww status
155
+ ```
156
+
157
+ #### 2\. 快速切换服务器 (`checkout`)
158
+
159
+ 这是最常用的功能。**秒级**切换服务器(仅限官/b服)。
160
+
161
+ ```bash
162
+ # 切换到 Bilibili 服
163
+ ww checkout bilibili
164
+
165
+ # 切换到 官服
166
+ ww checkout cn
167
+
168
+ # 切换到 国际服(需要完整下载)
169
+ ww checkout global
170
+ ```
171
+
172
+ > **注意**:如果切换后提示“文件缺失”,请运行 `ww sync` 进行下载修复。
173
+ >
174
+ > v2.0 开始,将会自动校验并补全文件, `--force-sync` 仅用于需要时,手动强制同步。
175
+
176
+ #### 3\. 同步与修复 (`sync`)
177
+
178
+ **每次游戏版本更新后**,或者切换服务器后发现文件缺失时使用。它会联网校验所有文件并下载更新。
179
+
180
+ ```bash
181
+ ww sync
182
+ ```
183
+
184
+ #### 4\. 下载完整客户端 (`download`)
185
+
186
+ 如果你还没有游戏,可以使用此命令从零开始下载。
187
+
188
+ ```bash
189
+ # 下载完整的官服客户端到当前目录(或配置的默认目录)
190
+ ww download cn
191
+ ```
192
+
193
+ #### 5\. 获取抽卡记录链接 (`log`)
194
+
195
+ 可以一键获取抽卡链接,用于导入小程序或者鸣潮机器人。
196
+
197
+ ```bash
198
+ # 使用前需点开 唤取-唤取记录 以更新日志文件
199
+ ww log
200
+ ```
201
+
202
+ > `-o`、`--open`: 获取链接并跳转打开。
203
+
204
+ ## 💡 最佳实践:如何打造“全家桶”
205
+
206
+ 要实现完美的秒级切换,你需要下载共用的游戏本体到一个目录中。
207
+
208
+ 1. **下载基础客户端**:
209
+ 如果你还没有游戏,先下载一个完整的(例如官服):
210
+
211
+ ```bash
212
+ ww --path "/path/to/Game" download cn
213
+ ```
214
+
215
+ 2. **“烘焙”其他服务器**:
216
+ 现在切换到 B 服,并强制执行同步来下载 B 服独有的文件:
217
+
218
+ ```bash
219
+ ww checkout bilibili
220
+ ```
221
+
222
+ 3. **享受切换**:
223
+ 现在你已经拥有了“全家桶”。
224
+
225
+ * 想玩官服 -> `ww checkout cn`
226
+ * 想玩B服 -> `ww checkout bilibili`
227
+ * 版本更新 -> `ww sync`
228
+
229
+ ## 🎮 启动游戏 (Linux)
230
+
231
+ 本工具仅负责文件管理。启动游戏推荐使用 Steam + Proton。
232
+
233
+ 如果你熟悉 Linux,你可以参考项目中的 `run_ww.sh` 脚本并添加 .desktop 文件绕过 Steam 启动,或者按照以下步骤通过 Steam 启动:
234
+
235
+ 1. **Steam 设置**:
236
+
237
+ * 添加“非 Steam 游戏”,指向 `/Client/Binaries/Win64/Client-Win64-Shipping.exe`。
238
+ * 在兼容性中强制使用 `GE-Proton` (参考项目`LutheringLaves` 或下面的指南下载并配置最新 GE-Proton )。
239
+
240
+ 2. **启动参数**:
241
+ 在 Steam 启动选项中添加:
242
+
243
+ ```bash
244
+ steamdeck=1
245
+ ```
246
+
247
+
248
+ ## 致谢
249
+
250
+ 灵感来源于以下优秀项目:
251
+
252
+ * [WutheringWavesTool](https://github.com/leck995/WutheringWavesTool)
253
+ * [LutheringLaves](https://github.com/last-live/LutheringLaves)
254
+ * [Wuthering-Waves-Official-Bilibili](https://github.com/Hurry1027/Wuthering-Waves-Official-Bilibili)
255
+ * [GE-Proton](https://github.com/GloriousEggroll/proton-ge-custom/releases/): 下载最新版本的 `GE-Proton` 并解压到 `~/.local/share/Steam/steamapps/common/` 目录下,启动 Steam,在**属性-兼容性**中能找到下载的 `GE-Proton` 即说明配置成功。
256
+
257
+ <!-- end list -->
258
+
259
+ ### 接下来该做什么?
260
+
261
+ 如果有任何报错或者建议,随时通过 **issue** 告诉我!
@@ -0,0 +1,249 @@
1
+
2
+ <div align="center"><h1>WutheringWaves CLI Manager</h1><h3>鸣潮命令行管理器</h3><div align="center">
3
+ <a href="https://python.org"><img src="https://img.shields.io/badge/Python-3.9%2B-blue.svg" alt="Python 3.9+"></a>&nbsp;<a href="https://github.com/astral-sh/uv"><img src="https://img.shields.io/badge/Tool-uv-purple.svg" alt="uv"></a>&nbsp;<img src="https://img.shields.io/badge/Version-2.0-brightgreen.svg" alt="version 2.0">
4
+ </div>
5
+ </div>
6
+
7
+ <div align="center" style="width: 80%;">
8
+ <div style="display: flex; justify-content: space-between; align-items: flex-start; width: 80%;">
9
+ <img src="https://cdn.jsdelivr.net/gh/timetetng/Pic-Bed@main/ww-example1.png" alt="徽章" style="width: 40%; height: auto;">
10
+ <img src="https://cdn.jsdelivr.net/gh/timetetng/Pic-Bed@main/ww-example2.png" alt="命令行预览" style="width: 40%; height: auto;">
11
+ </div>
12
+ </div>
13
+
14
+
15
+
16
+
17
+ 专为 Linux 用户打造的《鸣潮》客户端命令行管理工具。
18
+ 结合了 **完整的下载/校验功能** 与 **秒级服务器切换** 技术。一旦完成“烘焙”,即可在官服 (CN)、B服 (Bilibili) 之间瞬时切换,无需重新下载庞大的游戏文件。
19
+
20
+ > **国际服因为包体差异不支持快速切换**。
21
+ >
22
+ > 最新版本经过测试,兼容 Windows11。
23
+ >
24
+ >此版本目前有一个较严重bug,部分用户有游戏剧情过场动画、文本丢失的情况,待解决。
25
+
26
+ ## 🔥 增量更新
27
+
28
+ 🚧 正在开发测试中
29
+
30
+ `feat/predownload` 分支为待验证的分支,提供全量预下载功能,使用前请确保您了解自己在做什么;
31
+
32
+ 增量更新因技术有限尚未实现,欢迎PR🙏!
33
+
34
+
35
+ ## ✨ 核心功能
36
+
37
+ * **🚀 秒级切换 (`checkout`)**:利用差异文件重命名替换,在不同服务器间瞬间切换。
38
+ * **🛠️ 智能修复 (`sync`)**:校验全量文件 MD5,自动修复损坏文件,下载缺失资源。
39
+ * **📦 完整下载 (`download`)**:从零开始下载任一服务器的纯净客户端。
40
+ * **💾 自动记忆**:自动记录游戏路径,一次设置,永久生效。
41
+ * **⚡️ 现代化 CLI**:基于 `Typer` 构建,支持自动补全和帮助信息。
42
+ * **👯 并行下载**: 使用多线程并行下载,避免 CDN 节点降速,支持断点续传。
43
+
44
+ ## 🔧 安装指南
45
+
46
+ 本工具推荐使用 [uv](https://github.com/astral-sh/uv) 进行安装和管理。
47
+
48
+ ### 1. 安装 uv (如果尚未安装)
49
+
50
+ - Linux
51
+ ```bash
52
+ curl -LsSf https://astral.sh/uv/install.sh | sh
53
+ ````
54
+
55
+ - Windows
56
+ ```pwsh
57
+ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
58
+ ```
59
+
60
+ > 安装完需要**重启终端**应用环境变量。
61
+
62
+
63
+ ### 2\. 安装本工具
64
+
65
+ - **方式一: 从本地源码构建**
66
+
67
+ 克隆仓库代码到本地
68
+ ```shell
69
+ git clone https://github.com/timetetng/wutheringwaves-cli-manager.git
70
+ cd wutheringwaves-cli-manager
71
+ ```
72
+
73
+ 在源码目录下执行:
74
+
75
+ ```bash
76
+ uv tool install .
77
+ ```
78
+
79
+ - **方式二: 从远程构建**
80
+
81
+ 终端直接输入:
82
+
83
+ ```bash
84
+ uv tool install git+https://github.com/timetetng/wutheringwaves-cli-manager
85
+ ```
86
+
87
+ - **方式三: 从 PyPI 源安装**
88
+
89
+ ```bash
90
+ uv tool intall ww-manager
91
+ ```
92
+
93
+ 安装完成后,你就可以在终端的任意位置直接使用 **`ww`** 命令了!
94
+
95
+ ### 3\. 更新/卸载
96
+
97
+ - **更新工具**
98
+
99
+ - 从本地源码构建安装:
100
+ ```bash
101
+ # 从本地源码构建,更新时需拉取最新源码
102
+ git pull
103
+ # 在源码目录下执行,重新构建工具
104
+ uv tool install . --force
105
+ ```
106
+
107
+ - 远程或 PyPI 安装:
108
+
109
+ ```bash
110
+ uv tool upgrade ww-manager
111
+ ```
112
+
113
+ - **卸载工具**
114
+
115
+ ```bash
116
+ uv tool uninstall ww-manager
117
+ ```
118
+
119
+
120
+ ## 📖 使用说明
121
+
122
+ ### 首次运行
123
+
124
+ 第一次运行时,你需要指定游戏路径(只需指定一次,后续会自动记忆):
125
+
126
+ ```bash
127
+ # 创建安装目录(如果你还没有创建游戏目录)
128
+ mkdir -p "$HOME/Games/WutheringWaves"
129
+ # 初始化路径
130
+ ww -p "$HOME/Games/WutheringWaves" status
131
+ ```
132
+
133
+ 》`-p`、`--path` 参数用于指定安装路径。
134
+
135
+ ### 常用命令
136
+
137
+ #### 1\. 查看状态 (`status`)
138
+
139
+ 检查当前游戏目录属于哪个服务器,以及版本号。
140
+
141
+ ```bash
142
+ ww status
143
+ ```
144
+
145
+ #### 2\. 快速切换服务器 (`checkout`)
146
+
147
+ 这是最常用的功能。**秒级**切换服务器(仅限官/b服)。
148
+
149
+ ```bash
150
+ # 切换到 Bilibili 服
151
+ ww checkout bilibili
152
+
153
+ # 切换到 官服
154
+ ww checkout cn
155
+
156
+ # 切换到 国际服(需要完整下载)
157
+ ww checkout global
158
+ ```
159
+
160
+ > **注意**:如果切换后提示“文件缺失”,请运行 `ww sync` 进行下载修复。
161
+ >
162
+ > v2.0 开始,将会自动校验并补全文件, `--force-sync` 仅用于需要时,手动强制同步。
163
+
164
+ #### 3\. 同步与修复 (`sync`)
165
+
166
+ **每次游戏版本更新后**,或者切换服务器后发现文件缺失时使用。它会联网校验所有文件并下载更新。
167
+
168
+ ```bash
169
+ ww sync
170
+ ```
171
+
172
+ #### 4\. 下载完整客户端 (`download`)
173
+
174
+ 如果你还没有游戏,可以使用此命令从零开始下载。
175
+
176
+ ```bash
177
+ # 下载完整的官服客户端到当前目录(或配置的默认目录)
178
+ ww download cn
179
+ ```
180
+
181
+ #### 5\. 获取抽卡记录链接 (`log`)
182
+
183
+ 可以一键获取抽卡链接,用于导入小程序或者鸣潮机器人。
184
+
185
+ ```bash
186
+ # 使用前需点开 唤取-唤取记录 以更新日志文件
187
+ ww log
188
+ ```
189
+
190
+ > `-o`、`--open`: 获取链接并跳转打开。
191
+
192
+ ## 💡 最佳实践:如何打造“全家桶”
193
+
194
+ 要实现完美的秒级切换,你需要下载共用的游戏本体到一个目录中。
195
+
196
+ 1. **下载基础客户端**:
197
+ 如果你还没有游戏,先下载一个完整的(例如官服):
198
+
199
+ ```bash
200
+ ww --path "/path/to/Game" download cn
201
+ ```
202
+
203
+ 2. **“烘焙”其他服务器**:
204
+ 现在切换到 B 服,并强制执行同步来下载 B 服独有的文件:
205
+
206
+ ```bash
207
+ ww checkout bilibili
208
+ ```
209
+
210
+ 3. **享受切换**:
211
+ 现在你已经拥有了“全家桶”。
212
+
213
+ * 想玩官服 -> `ww checkout cn`
214
+ * 想玩B服 -> `ww checkout bilibili`
215
+ * 版本更新 -> `ww sync`
216
+
217
+ ## 🎮 启动游戏 (Linux)
218
+
219
+ 本工具仅负责文件管理。启动游戏推荐使用 Steam + Proton。
220
+
221
+ 如果你熟悉 Linux,你可以参考项目中的 `run_ww.sh` 脚本并添加 .desktop 文件绕过 Steam 启动,或者按照以下步骤通过 Steam 启动:
222
+
223
+ 1. **Steam 设置**:
224
+
225
+ * 添加“非 Steam 游戏”,指向 `/Client/Binaries/Win64/Client-Win64-Shipping.exe`。
226
+ * 在兼容性中强制使用 `GE-Proton` (参考项目`LutheringLaves` 或下面的指南下载并配置最新 GE-Proton )。
227
+
228
+ 2. **启动参数**:
229
+ 在 Steam 启动选项中添加:
230
+
231
+ ```bash
232
+ steamdeck=1
233
+ ```
234
+
235
+
236
+ ## 致谢
237
+
238
+ 灵感来源于以下优秀项目:
239
+
240
+ * [WutheringWavesTool](https://github.com/leck995/WutheringWavesTool)
241
+ * [LutheringLaves](https://github.com/last-live/LutheringLaves)
242
+ * [Wuthering-Waves-Official-Bilibili](https://github.com/Hurry1027/Wuthering-Waves-Official-Bilibili)
243
+ * [GE-Proton](https://github.com/GloriousEggroll/proton-ge-custom/releases/): 下载最新版本的 `GE-Proton` 并解压到 `~/.local/share/Steam/steamapps/common/` 目录下,启动 Steam,在**属性-兼容性**中能找到下载的 `GE-Proton` 即说明配置成功。
244
+
245
+ <!-- end list -->
246
+
247
+ ### 接下来该做什么?
248
+
249
+ 如果有任何报错或者建议,随时通过 **issue** 告诉我!