Steam/zh: Difference between revisions
Created page with "2. 如果您需要更大的灵活性,或者想要使用已覆盖的 Steam 包的 FHS 环境:" Tags: Mobile edit Mobile web edit |
Created page with "默认情况下,Steam 还会在 <code>~/.steam/root/compatibilitytools.d</code> 中查找自定义 Proton 版本。可以通过设置环境变量 <code>STEAM_EXTRA_COMPAT_TOOLS_PATHS</code> 来添加其他搜索路径。" |
||
| Line 131: | Line 131: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Proton === | === Proton === | ||
您应该可以使用 Proton 运行大多数 Windows 游戏。如果某个游戏有原生 Linux 版本,但在 NixOS 上会出现问题,您可以通过在 Steam 的游戏兼容性设置中选择特定的 Proton 版本来强制使用 Proton。 | |||
默认情况下,Steam 还会在 <code>~/.steam/root/compatibilitytools.d</code> 中查找自定义 Proton 版本。可以通过设置环境变量 <code>STEAM_EXTRA_COMPAT_TOOLS_PATHS</code> 来添加其他搜索路径。 | |||
自定义 Proton 版本的声明式安装(例如 GE-Proton): | 自定义 Proton 版本的声明式安装(例如 GE-Proton): | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||