since i am not running ubuntu but arch instead i used this instead of the ubuntu script:
#!/bin/bash echo “This script is designed ONLY for 64-bit Arch/Manjaro systems. Press Ctrl-C to abort.”
Enable multilib repo if not already enabled
if ! grep -q ‘[multilib]’ /etc/pacman.conf; then echo “[multilib] section not found in /etc/pacman.conf. Enabling it…” sudo sed -i ‘/#[multilib]/,+1 s/^#//’ /etc/pacman.conf sudo pacman -Sy fi
Install 32-bit libraries commonly needed for games
sudo pacman -S –needed –noconfirm
lib32-glibc
lib32-gcc-libs
lib32-alsa-lib
lib32-alsa-plugins
lib32-libglvnd
lib32-mesa
lib32-openal
lib32-libxrandr
lib32-libxxf86vm
lib32-libxinerama
lib32-libxss
lib32-libxcursor
lib32-libxi
Make launch script executable
if [ -f “./launch.sh” ]; then chmod u+x launch.sh fi
echo “Done! Run ./launch.sh to start the game.”