Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 269d18c

Browse files
add protonhax
1 parent 4260ec9 commit 269d18c

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

‎docs/play&office/play.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,12 @@ Gamescope 的前任是 Xephyr,现已处于停滞状态。
144144

145145
详情查阅 Gamescope 文档:https://wiki.archlinux.org/title/Gamescope
146146

147-
---
147+
## protonhax
148+
149+
有时,需要在 Proton 容器中运行游戏以外的其他程序,如修改器等。目前 Proton 默认无法满足此需求。这里使用 [protonhax](https://github.com/aoleg94/protonhax) 来完成在与游戏同一 Proton 容器这种运行其他程序。
150+
151+
```bash
152+
yay -S protonhax
153+
```
154+
155+
在游戏运行参数中设置`protonhax init %COMMAND%`,随后执行`protonhax ls`获取正在运行的游戏 appid。最后使用` protonhax run <appid> <path/to/program>`在目标容器中运行其他程序。更多用法可参考项目仓库页面。

‎docs/uk/play&office/play.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,13 @@ Note that NVIDIA graphics cards must use NVIDIA closed source drivers when using
143143
Gamescope's predecessor was Xephyr, which is now on hold.
144144

145145
See the Gamescope documentation for details: https://wiki.archlinux.org/title/Gamescope
146+
147+
## protonhax
148+
149+
Sometimes, you need to run other programs besides the game in the Proton container, such as cheat engine, etc. Currently Proton cannot meet this requirement. [protonhax](https://github.com/aoleg94/protonhax) is used here to run other programs in the same Proton container as the game.
150+
151+
```bash
152+
yay -S protonhax
153+
```
154+
155+
Set `protonhax init %COMMAND%` in the game running parameters, and then execute `protonhax ls` to obtain the running game appid. Finally use `protonhax run <appid> <path/to/program>` to run other programs in the target container. For more usage, please refer to the project warehouse page.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /