博文

目前显示的是 八月, 2023的博文

在Arch Linux上使用Steam Play(Proton)运行Windows游戏

图片
001.介绍 Proton根据 proton 项目的描述是: Proton is a tool for use with the Steam client which allows games which are exclusive to Windows to run on the Linux operating system. It uses Wine to facilitate this. 中译:  Proton 是一款与 Steam 客户端配合使用的工具,它允许在Windows下独有的游戏在 Linux 操作系统上运行。它使用 Wine 来促进这点。 总的来说proton是一个基于wine的Windows游戏转译层,wine是一个开发多年的自由软件。 Wine不是像虚拟机或者模拟器一样模仿内部的Windows,而是將 Windows API 调用翻译成为 POSIX 调用,以此获得更高的性能。关于wine更多的信息可以去wine 官网 。 下面将在Arch Linux安装和使用proton运行Windows游戏。    002.准备 1. 安装好对应显卡的显卡驱动。 2. 安装好Steam Linux客户端(Arch Linux安装需要开启[multilib]仓库)。 003.安装 这里不使用Valve官方提供的 proton ,而是使用一个基于proton的第三方开源 Proton-GE 。它提供了比官方proton更多的补丁,可以发挥更强的性能。 **注意:Proton-GE 是 Proton 的定制版本,与 Valve 的 Proton 无关。 **proton-ge在aur仓库里,这里用的aur helper是paru。   $ paru -S proton-ge-custom-bin   # 安装 proton-ge-custom-bin   004.运行 安装好后打开Steam客户端 $ steam 打开Steam -> 设置 -> 兼容性 = {     勾选:     1. 为支持的产品使用Steam Play     2. 为所有其他产品启用Steam Play     选择:        运行其他产品时使用${Proton-GE}             配置好后大概这样:        };  运行Windows游戏测试(