[指南] Steam 安装教程 - ARM64(需要修复 🛑)

Steam 安装教程 原帖及其更新版本

在大多数 x86 系统上,您只需从 steamgames.com 下载 steam.deb 并安装即可,非常简单。但是对于 arm64 来说,这是一个不同的有趣的游戏。

对于本教程,我选择使用nala,所以请执行以下操作:

sudo apt install nala aptitude -y #使用 nala 代替 apt 执行您的操作。
速度更快 - 更现代 - 图形更易用 - 调试更好
如果此命令不起作用,请尝试传统安装

#遗留安装
sudo apt update && sudo apt install git aptitude make python3-pip python3-apt python3-debian pandoc -y 
git clone https://gitlab.com/volian/nala.git
cd nala
sudo make install
sudo nala update && sudo nala upgrade -y
cd

安装依赖

首先,我们需要安装 Steam 所需的一些依赖项。使用以下命令:
找到您的 DRK 版本 - https://github.com/ptitSeb/box86/blob/master/docs/COMPILE.md
找到更新的依赖项 - https://github.com/neofeo/BOX86-BOX64-WINEx86-TUTORIAL

sudo dpkg --add-architecture armhf && sudo nala update && sudo nala install aptitude -y
sudo aptitude install cmake cabextract p7zip-full libncurses6:armhf libc6:armhf libx11-6:armhf libgdk-pixbuf2.0-0:armhf libgtk2.0-0:armhf libstdc++6:armhf libsdl2-2.0-0:armhf mesa-va-drivers:armhf libsdl-mixer1.2:armhf libpng16-16:armhf libsdl2-net-2.0-0:armhf libopenal1:armhf libsdl2-image-2.0-0:armhf libjpeg62:armhf libudev1:armhf libgl1-mesa-dev:armhf libx11-dev:armhf libsdl2-image-2.0-0:armhf libsdl2-mixer-2.0-0:armhf libvulkan1:armhf libc6:armhf libsdl2-2.0-0:armhf libsdl2-image-2.0-0:armhf libsdl2-mixer-2.0-0:armhf libsdl2-ttf-2.0-0:armhf libopenal1:armhf libpng16-16:armhf libfontconfig1:armhf libxcomposite1:armhf libbz2-1.0:armhf libxtst6:armhf libsm6:armhf libice6:armhf libgl1:armhf libxinerama1:armhf libxdamage1:armhf -y && sudo nala upgrade -y

git clone --depth 1 https://github.com/ptitSeb/box64
git clone --depth 1 https://github.com/ptitSeb/box86
cd ~/box86; mkdir build; cd build; cmake ../ -DRK3588=1; make -j$(nproc); sudo make install
cd ~/box64; mkdir build; cd build; cmake ../ -DRK3588=1; make -j$(nproc); sudo make install

cd /usr/lib/arm-linux-gnueabihf/
sudo ln -s  libpng16.so libpng12.so.0

sudo rm /usr/include/drm/drm_fourcc.h && sudo rm /usr/include/drm/lima_drm.h && sudo apt -y --fix-broken install && sudo aptitude upgrade -y

echo 'export STEAMOS=1
export STEAM_RUNTIME=1
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1' | sudo tee /etc/profile.d/steam.sh

#如果您有高分辨率屏幕,请使用此选项。
#echo 'export GDK_SCALE=2' | sudo tee -a /etc/profile.d/steam.sh
source /etc/profile.d/steam.sh

~/box86/install_steam.sh

#rm ~/.local/share/Steam -rf
#steam

菲德官方教程: https://fydeos.io/docs/knowledge-base/recipes/install-box64-steam-wine-on-arm64-device/#an-zhuang-steam


ChromiumOS (FydeOS/openFyde) 的最后步骤:

Steam ARM64 技巧:

#在货架上创建 Steam 条目
sudo cp -r ~/steam/share/* /usr/share/ | cat ~/steam/share/applications/steam.desktop | sed 's#Exec=/usr/bin#Exec=/usr/local/bin#g' | sudo tee /usr/share/applications/steam.desktop

sudo cp -r ~/steam/share/* /usr/share/ && sudo cat ~/steam/share/applications/steam.desktop && sudo sed 's#Exec=/usr/bin#Exec=/usr/local/bin#g' && sudo tee /usr/share/applications/steam.desktop

#start steam with this:
/usr/local/bin/steam

最好的调试方法是通过 Zenity:

sudo aptitude install zenity -y
#select n then Y and start steam with
/usr/local/bin/steam
#re-do the process with
rm ~/.local/share/Steam -rf

对于所有游戏,将设置设置为 -force-opengl ,并可能像往常一样安装 proton experimental 。安装 Steam 后 重新启动 Steam,可能会出现错误,重试是关键

游戏体验增强

echo 'vm.max_map_count = 2147483642' >> /etc/sysctl.d/99-sysctl.conf
sysctl -p 

或者,如果您可以使用 NicoD 脚本(可选,可能无法在 ChromiumOS 上使用):

    _   __ _               ____     ______                   _                  
   / | / /(_)_____ ____   / __ \   / ____/____ _ ____ ___   (_)____   ____ _    
  /  |/ // // ___// __ \ / / / /  / / __ / __ `// __ `__ \ / // __ \ / __ `/    
 / /|  // // /__ / /_/ // /_/ /  / /_/ // /_/ // / / / / // // / / // /_/ /     
/_/ |_//_/ \___/ \____//_____/   \____/ \__,_//_/ /_/ /_//_//_/ /_/ \__, /      
    __     _                        _____              _         __/____/       
   / /    (_)____   __  __ _  __   / ___/ _____ _____ (_)____   / /_            
  / /    / // __ \ / / / /| |/_/   \__ \ / ___// ___// // __ \ / __/            
 / /___ / // / / // /_/ /_>  <    ___/ // /__ / /   / // /_/ // /_              
/_____//_//_/ /_/ \__,_//_/|_|   /____/ \___//_/   /_// .___/ \__/              
                                                     /_/                        
git clone https://github.com/NicoD-SBC/armbian-gaming.git
cd armbian-gaming
/bin/bash ./armbian-gaming.sh

更多信息请点击此处: https://github.com/NicoD-SBC/armbian-gaming


扩增器 ARM64 上的 Steam: https://github.com/AmpereComputing/Steam-on-Ampere

1 个赞

在这些依赖关系中存在一些过时的代码:https://github.com/ptitSeb/box86/blob/master/install_steam.sh
您可以使用 aptitude 手动解决此问题并删除上述已弃用的依赖项,但即使安装后,我仍无法找到移动文件或启动 Steam 的解决方案
如果这里有些大师找到了方法,请……启发我们所有人:D

大哥从英文板块过来了啊

1 个赞