Steam/zh: Difference between revisions

RhenCloud (talk | contribs)
Created page with "对于通过 Proton 运行的游戏,该值应为 <code>steam_app_<game_id></code> (在哪里<code><game_id></code>与 <code>Exec</code> 行中 steam://rungameid/ 之后的值匹配)。"
RhenCloud (talk | contribs)
Created page with "在终端运行 <code>strace steam -dev -console 2> steam.logs</code> 命令。如果未安装 <code>strace</code> ,请使用 <code>nix-shell -p strace</code> 或 <code>nix run nixpkgs#strace -- steam -dev -console 2> steam.logs</code> (如果使用 Flakes 版本)临时安装。之后,请提交错误报告。"
Line 185: Line 185:
对于通过 Proton 运行的游戏,该值应为 <code>steam_app_<game_id></code> (在哪里<code><game_id></code>与 <code>Exec</code> 行中 steam://rungameid/ 之后的值匹配)。
对于通过 Proton 运行的游戏,该值应为 <code>steam_app_<game_id></code> (在哪里<code><game_id></code>与 <code>Exec</code> 行中 steam://rungameid/ 之后的值匹配)。


<div lang="en" dir="ltr" class="mw-content-ltr">
对于原生运行的游戏,该值应与游戏的主可执行文件匹配。
For games running natively, the value should match the game's main executable.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
例如,Valheim 的修改后的 .desktop 文件如下所示:
For example, the modified .desktop file for Valheim looks like this:
</div>


<syntaxhighlight lang="desktop">
<syntaxhighlight lang="desktop">
Line 207: Line 203:
== 故障排除 ==
== 故障排除 ==


<div lang="en" dir="ltr" class="mw-content-ltr">
对于所有问题:首先通过终端运行 <code>steam -dev -console</code> 并读取输出。
For all issues: first run <code>steam -dev -console</code> through the terminal and read the output.
</div>


<span id="Steam_fails_to_start._What_do_I_do?"></span>
<span id="Steam_fails_to_start._What_do_I_do?"></span>
=== Steam 无法启动。我该怎么办? ===
=== Steam 无法启动。我该怎么办? ===
<div lang="en" dir="ltr" class="mw-content-ltr">
在终端运行 <code>strace steam -dev -console 2> steam.logs</code> 命令。如果未安装 <code>strace</code> ,请使用 <code>nix-shell -p strace</code> <code>nix run nixpkgs#strace -- steam -dev -console 2> steam.logs</code> (如果使用 Flakes 版本)临时安装。之后,请提交错误报告。
Run <code>strace steam -dev -console 2> steam.logs</code> in the terminal. If <code>strace</code> is not installed, temporarily install it using <code>nix-shell -p strace</code> or <code>nix run nixpkgs#strace -- steam -dev -console 2> steam.logs</code> (if using Flakes). After that, create a bug report. <!-- This is vague. Where should the user create a bug report?  -->
</div>


<span id="Steam_is_not_updated"></span>
<span id="Steam_is_not_updated"></span>