Skip to content

桌面端游戏 ​

请先安装显卡驱动并开启 multilib 库。

Steam ​

bash
sudo pacman -S steam

米哈游 ​

别问我为什么没原神。

安装 Proton

bash
paru -S proton-ge-custom-bin dxvk-bin umu-launcher
sudo mkdir -p /etc/modules-load.d/
echo "ntsync" | sudo tee /etc/modules-load.d/ntsync.conf
/usr/share/steam/compatibilitytools.d/proton-ge-custom/files/bin/wine winecfg
setup_dxvk install

禁用联网检查(写入 /etc/hosts 需要 root 权限):

  • 崩坏:星穹铁道:echo "0.0.0.0 globaldp-prod-cn01.bhsr.com" | sudo tee -a /etc/hosts
  • 绝区零:echo "0.0.0.0 globaldp-prod-cn01.juequling.com" | sudo tee -a /etc/hosts

使用我打包的脚本,注意改一下游戏路径。你还可以将脚本设成快捷方式,图标已附带。

Waydroid ​

一款 Wayland 上的安卓模拟器。

安装 Waydroid ​

bash
sudo pacman -S waydroid archlinuxcn/waydroid-image
sudo waydroid init
sudo systemctl enable --now waydroid-container.service
waydroid session start

安装 Arm 翻译层 ​

bash
git clone https://github.dpik.top/https://github.com/casualsnek/waydroid_script.git
cd waydroid_script
python3 -m venv venv
venv/bin/pip install -r requirements.txt
sudo venv/bin/python3 main.py install libhoudini

解决网络问题 ​

bash
sudo waydroid shell
settings put global captive_portal_mode 0
settings put global captive_portal_server ""
exit

游戏模式 ​

bash
sudo pacman -S gamemode lib32-gamemode
groupadd gamemode
gpasswd -a [用户名] gamemode

使用 NVIDIA 独显运行 ​

添加环境变量

ini
GAMEMODERUNEXEC="env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only"

Released under the AGPL v3 License.