SteamGridDB / SGDBoop

A program used for applying custom artwork to Steam, using SteamGridDB. Supports both Windows and Linux, written completely in C.

Home Page:https://www.steamgriddb.com/boop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boop image ignored if an existing image with different extension exists

refatK opened this issue · comments

I had a case where I booped a vertical grid for one of my non-Steam games which I already had a custom grid for. When I did this, I noticed there were no changes to the grid. I looked into the directory where Steam stores these images, and I realized I had two different grids of same name, but different file extension. Manually removing the old image fixed the problem.

Example scenario to cause the bug:

  1. Add a custom grid to Steam that has non ".png" extension (ex: jpg file) manually
  2. Boop a grid that you'd expect to replace the grid you just added
  • The grid will not change

This is a pretty minor problem since boop seems to save everything as ".png". So this problem only occurs if you have previously saved custom grids not using the ".png" extension.

I guess the way to solve this would be to first check for and remove images of the same name, regardless of image extension type, and then add in the booped image.

Fixed in af9b38d

All assets now have a .jpg extension, cause that's what Steam prioritizes.