using a bash script on arch linux how can i add non steam game artwork to my shortcuts…
- User
using a bash script on arch linux how can i add non steam game artwork to my shortcuts ive created heres my code i also want it auto matic ..also how can i force a entry to use fforce compatability?
- Assistant
To add non-Steam game artwork to your shortcuts on Arch Linux using a bash script, you can perform the following steps:
-
Create custom image files for your non-Steam games. They should be in the following format:
header.jpgfor the banner in the Steam libraryicon.jpgfor the icon in the Steam librarylibrary_600x900.jpgfor the portrait image in the librarylogo.png(optional) for the logo shown on the store page in the client- For example, if you want to customize the game MyGame, you can create
MyGame_header.jpg,MyGame_icon.jpg, andMyGame_library_600x900.jpg. Please note that Steam expects the images to be in specific sizes, for example,header.jpgshould be 460x215 pixels andlibrary_600x900.jpgshould be 600x900 pixels.
-
Locate your Steam installation path. For example, it might be at:
~/.steam/steam/ -
Locate your Steam user data folder using the Steam ID number of your account. The user data folder is typically found here:
~/.steam/steam/userdata/YourSteamID/ -
In the user data folder, find the folder called
configand then thegridsubfolder:~/.steam/steam/userdata/YourSteamID/config/grid/ -
Copy the custom image files for your non-Steam games into the
gridfolder. -
Create a bash script (e.g.,
update_steam_artwork.sh) to automate the process of finding the correct folders and copying the custom images. Here's a sample script:#!/bin/bash # Set the path to your custom game images IMAGE_PATH="/path/to/your/custom/game/images" # Set your Steam ID STEAM_ID="123456789" # Set the Steam installation path STEAM_PATH="~/.steam/steam/userdata/$STEAM_ID/config/grid/" # Copy the custom game images to the Steam grid folder cp -r "$IMAGE_PATH/"*.jpg "$IMAGE_PATH/"*.png "$STEAM_PATH"Replace
/path/to/your/custom/game/imageswith the path to the folder where you store your custom image files and123456789with your actual Steam ID. -
Make the script executable with:
chmod +x update_steam_artwork.sh -
Execute the script to automate the process:
./update_steam_artwork.shThis script will copy your custom game images to the Steam
gridfolder, updating the artwork for your non-Steam games.
As for forcing an entry to use Proton (assuming you meant Proton for compatibility), you can follow these steps:
- Right-click the non-Steam game in your Steam library, and click on Properties.
- Check the box 'Force the use of a specific Steam Play compatibility tool' and select the desired version of Proton from the dropdown menu.
- Close the Properties window and launch the game.
Unfortunately, there is no direct way to force the use of Proton through a bash script, as that setting is stored in Steam's internal configuration files.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.