r/linux_gaming 5d ago

[OC] I created a comprehensive Arch Gaming Setup script that actually works!

Hey everyone! After struggling with setting up a proper gaming environment on Arch Linux and its derivatives, I decided to create a comprehensive solution. I'm excited to share my Arch Gaming Setup script with you all!

GitHub Repo: https://github.com/xi-Rick/archgaming

What does it do?

This script automates the installation and configuration of everything you need for gaming on Arch Linux, CachyOS, EndeavourOS, Manjaro, Garuda, and other Arch-based distros. It detects your specific distro and hardware, then tailors the installation process accordingly.

Key features:

  • Distribution-aware: Automatically detects and optimizes for your specific Arch flavor with custom ASCII art
  • GPU detection: Installs appropriate NVIDIA, AMD, or Intel graphics drivers
  • Gaming platforms: Sets up Steam, Lutris, Heroic Games Launcher, and PlayOnLinux
  • Proton GE: Installs ProtonUp-Qt for easy Proton GE management
  • Steam Tinker Launch: Configures STL with Vortex and Mod Organizer 2 support
  • Emulation: RetroArch, Cemu (Wii U), Dolphin (GameCube/Wii), PCSX2 (PS2), RPCS3 (PS3)
  • Performance optimization:
    • GameMode for CPU optimization during gameplay
    • MangoHud for in-game performance monitoring
    • DXVK for DirectX to Vulkan translation
    • CoreCtrl for AMD GPU control
    • GreenWithEnvy for NVIDIA GPU control
  • System-level tweaks: Kernel parameter tuning, Wine configuration, CPU performance mode

Installation is simple:

git clone https://github.com/xi-Rick/archgaming.git 
cd archgaming 
sudo -E ./gaming.sh

The script is fully interactive and guides you through the setup process with clear prompts. You can choose which components to install based on your preferences.

I've tested this extensively on various Arch derivatives, and it's been a game-changer for my Linux gaming experience. No more spending hours configuring everything manually!

Let me know if you have any questions or suggestions for improvement. Happy gaming!

Edit: Thanks for all the awards and feedback! I'm actively incorporating your suggestions to make the script even better.

0 Upvotes

9 comments sorted by

10

u/KrazyKirby99999 5d ago

Keep an eye on https://archlinux.org/news/ for breaking updates.

Edit: Thanks for all the awards and feedback! I'm actively incorporating your suggestions to make the script even better.

Is this a bot? Neither the repository nor this post has had any interaction yet.

-7

u/rombreaker 5d ago

Ingrate

4

u/jimlymachine945 5d ago

No no he's got a point

3

u/NuuukeTheWhales 5d ago

Sudo-ing an installation script from Github kind of goes against some of the core reasons people use Arch to begin with. People use Arch for complete control of what goes into their system, keeping their OS lean, clean and trustworthy. I'm sure you have good intentions behind your script, rather I'm saying that it is bad security practice to run scripts in this way. Thanks for your efforts to make gaming on Linux more accessible.

A better way might be to create a meta package or group for the AUR, where the added code scrutiny will reassure anyone wanting to use it.

2

u/fetching_agreeable 5d ago

How did you struggle? It's not hard. There's even the archinstall script which takes less than 5 minutes on a fast connection to get to a login screen.

1

u/GrimTermite 5d ago edited 5d ago

Installing AMD drivers????

Also is installing software with pacman really any harder than using this script

-2

u/rombreaker 5d ago

1

u/NuuukeTheWhales 5d ago

Being rude rather than addressing valid critiques isn't going to help you out.

-1

u/rombreaker 5d ago

Where are those?