Git Product home page Git Product logo

sgdboop's People

Contributors

dozennn avatar mpaterakis avatar nomis6432 avatar pktiuk avatar poorpocketsmcnewhold avatar xzonn avatar zwolfrost avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sgdboop's Issues

Icons blank / vanish after applying using SGDBoop

Hi, trying to use SGDBoop to apply an icon to a non-steam game, however all it does is just resets the icon to be blank. I tried restarting Steam & my PC and it is still blank. I also tried using both Firefox and Chrome. Running latest version (yesterday's release)

image
image

Not working at all, is there a debug log somewhere?

I checked the console while running it and it didn't output anything. Program says it registered successfully, enabled Boop, restarted Steam, no changes. Don't even see the cached copy of the art in the Steam folder. Windows, latest Firefox.

Does not set custom artwork on Windows

Hello!

I have had some issues with SGDBoop as of recent. It has always worked before and without any issues. I've always been able to just go on the website and boop non-steam games but as of recent it only works for some or doesn't work at all. I honestly have no idea. Checking the grid folder, I can see that a file is being created. Upon further inspection, I've tried regenerating the ID myself which is a crc32 and some offset. I get exactly the same ID as boop does. I save the file as {ID}p.jpg in the grid folder. However, the art work does not show up in Steam grid. Has Steam perhaps changed the way it works or maybe it just doesn't work on Windows? I'm using Windows 10.

ERROR: The system was unable to find the specified registry key or value.

ERROR: The system was unable to find the specified registry key or value.
Created logfile in D:\Downloads\SGDBoop\sgdboop_error.log

Log attached but states:

Tue Dec 20 23:48:44 2022
Could not find ModInstallPath (either in regedit or registry.vdf) [97]

I don't have any idea what's causing this but it's been happening for a few days now. It can determine my list of non-steam games but can't seem to change art for non-steam or official. The test function works, it's all being called but it seems like it's having issues accessing steam to actually make the change. Steam is installed to C:\Program Files (x86)\Steam so it's not like it's in a non-standard location.

I've tried replacing my Boop files but it seems like whatever is referenced for finding steams location isn't something I can easily change, though I'm betting it's in the registry somewhere.

sgdboop_error.log

Program fails to load - Steam Deck

Attempting to use Chrome and the latest version of the flatpak.

Log says:

Could not create URI protocol. [80]

Thu Sep 15 16:05:11 2022
Could not find "ModInstallPath (either in regedit or registry.vdf) [97]```

Ability to manually select a different Steam game to boop.

Often, I find myself wanting to add an image from an edition to another :

Example :

I own "Dark Souls (Prepare to die Edition)" on Steam
But I prefer to add an image from the original "Dark Souls" (that I don't own) - from GridDB.

The database between "Prepare to die Edition" and the "normal" edition aren't shared, so I don't get the "Apply with BOOP" button on the GridDB "Dark Souls" images.

Currently this is not possible to automate this as far as I'm aware.

Thanks for the WONDERFUL program ๐Ÿ‘

Boop application misinterprets UTF-8 text as the native codepage of the operating system

As per the title.

Example: attempting to boop from the game https://www.steamgriddb.com/game/5262323 gives the following:
image
Note the character in the title which maps to hex C2, which in Windows-1252 produces a Latin Capital letter A with circumflex , but which in UTF-8 is a pointer to Latin-1 Supplement, with the following character, hex AE, being shown in its Windows-1252 representation as the correct character, the registered trademark symbol. The string displays correctly on the SteamGridDB site, since pages there declare the UTF-8 encoding

Function reference:

struct nonSteamApp* selectNonSteamApp(char* sgdbName, struct nonSteamApp* apps) {

Since the string is passed in as a char* pointer, it will be treated as a set of bytes without care given to the encoding within.

As a workaround, if the user enables UTF-8 support in Windows 11, it should parse the characters correctly.

I suspect this will also extend to the qsort() call within the function, causing certain cases not to match where they may otherwise appear to do so.

Could not find any non-Steam apps error

I have non-steam apps installed. I'm using the AUR version of SGDBoop.

image

The log gives the following error:

Fri Jan 27 14:47:08 2023
Could not find "SourceModInstallPath (either in regedit or registry.vdf) [97]

Fri Jan 27 14:47:08 2023
Could not find "ModInstallPath (either in regedit or registry.vdf) [97]

Fri Jan 27 14:47:16 2023
Could not find any non-Steam apps in the according file. [91]

~/.steam/registry.vdf does contain "SourceModInstallPath" for reference:

$ grep -e ModInstallPath ~/.steam/registry.vdf
					"SourceModInstallPath"		"/home/crispyrice/.local/share/Steam/steamapps\\sourcemods

(Windows Version) Asking for Admin Access when already having it.

When I launch SGDB it asks for Admin Access when I already did that when launching. I don't know if this is a me thing but I assume the cause is that I started the app forgetting to give it Admin Access. Although I reinstalled the app multiple times to redo it but it shows the error message when being freshly installed.

Not working on Windows

Clicking boop-buttons does not change any artwork. I get the pop-up window for selecting non-steam game, but then nothing happens. Tried restarting Steam, rebooting Windows, different versions of SGDBoop, different browsers (Chrome and Firefox). It just does nothing.

460x215 duplicates

When using SGDBoop all other sizes are applied and name correctly, but 460x215 art seems to leave behind a duplicate art with a different name.

As you can see from this Deep Rock Galactic example, there's a leftover 460x215 dimension art that I assume should be deleted upon completion of the asset being named properly, but it's not. This happens with all games/art with the 460x215 dimensions. Running as administrator yields the same results.
Screenshot 2022-12-14 131157

Include streamable games in non-steam games

Would it be possible to boop streamable non-steam games?
As an example: I am using GlosSI to add games from my Xbox game pass games to steam, and streaming them on my steam deck. But I can't see the streamable games in the list.

Steam Deck...Could not find any non-steam apps

I have gotten this installed properly. sgdb://boop/test works fine.
I am trying to install artwork using the "Apply with Boop" button but all I get is

SGDBoop Error <2>
Could not find any non-steam apps

I do have non-steam apps...not sure what to configure to get it to find the proper locations in steam on the Steam Deck.

Any thoughts, suggestions?

Thanks.

Non Boop Steam games cannot boop custom icons.

I installed a new update which was putting non steam games being booped. Sadly all the games i tested won't let you change the game icons for them. It does nothing if you press boop on a custom icon if it is a non steam game. Same goes if you set custom artwork for yourself. It will not do anything if you boop them.

Sourcemod support

There's some sourcemods that are not on steam like Open Fortress. They do not appear in the list of non-steam games to choose from as of now.

allow user-wide / local installation on Linux

Currently SGDBoop requires root to put libraries into systemwide location.
This may not be desired for if you want to run the program locally.

Perhaps the dependencies being used should not be vendored as dynamic libraries and instead as their source code.

Add option to boop multiple games

Hi and thanks for making this great plugin. I have a feature request; I would like to automatically boop multiple games at the same time.

Why:

I have a huge library and manually selecting each individual game is a lot of work.

My suggestion:

I would like SGDBoop to automatically download and apply images for several games in my collection. This would be similar to how library images are handled in projects such as Plex and Jellyfin.

How it could work:

I have couple of different ideas on how this could be implemented:

  • SGDBoop could detect (or use a database) what games in a users library doesn't have a Steam vertical cover and replace all of those with the highest scoring one from steamgriddb.com
  • The user could make a selection of games and then SGDBoop replaces the images with the highest scoring one from steamgriddb.com. The selection of games could be all Steam games in a collection, all games from list, all games in library, etc.
  • SGDBoop could replace the art of all installed Steam games.
  • SGDBoop could replace the art of all the Steam games in a users library.

The first option is probably one that I would use the most.

What are your thought and is this something that would be possible to implement?

Could not find "ModInstallPath (either in regedit or registry.vdf) [97]

System Specs:
OS: Garuda Linux
Kernel: 6.4.4-zen1-zen
DE: KDE Plasma 5.27.6


Clicking the "APPLY WITH BOOP" button on any given cover the menu to select the correct game properly appears. I then select the game and click on "OK". Then nothing happens. Restarting steam doesn't show me any new artworks or icons.

Looking into ~/.local/state/sgdboop_error.log shows me:
Could not find "ModInstallPath (either in regedit or registry.vdf) [97]
with a timestamp of everytime i tried to add artwork.

I installed it via the AUR but also tried the flatpak version, both of them give me the exact same error.

I have tried to start Steam as the Native Version or the Runtime version.

I saw that this error got posted here before but no one ever provided a solution. This is my try aswell. I'd love to have a solution for this issue.

Thanks and have a nice day!

Boop original Steam assets to non-Steam games

I own some of my games on Epic Games Launcher and would really like it if I could add the default Steam grid assets to the entries with SGDBoop like you can with custom assets. It's decently easy to download the original assets for games shared between Steam's and Epic's catalogs, like Frostpunk, Cities Skylines or the Jackbox games (see attached screenshot). But having to apply them one at a time is a bit of a hassle. I feel that some automation to easily push the whole grid/hero/logo/icon set to a game would be very helpful, especially if you have a lot of games on external launchers.
image

Support changing icons for non-Steam shortcuts

Possible implementation:

  1. User boops a non-Steam icon.
  2. Shortcut is selected from popup.
  3. Save icon as Steam/userdata/XXXXXXXX/config/grid/APPID_icon.ext (path can actually be anywhere, but SRM and other programs unofficially save in this path already)
  4. Add or edit the icon key in shortcuts.vdf to point to the saved icon location.

Could not locate Steam destination directory. [83]

See title. I try and boop any of my games, and that's the error that appears in the log. I've tried the troubleshooting steps on the website but so far no luck. Does anybody have any ideas what else I could try?

EDIT: nevermind. Turns out it was unrelated. In case anyone else runs into an issue like this, as an extra troubleshooting check, it turns out SGDBoop broke for me after I uninstalled Miniconda. And my entire command prompt was broken, exiting with status code 1 anytime I attempted to launch it. To fix it I had to run:

C:\Windows\System32\reg.exe DELETE "HKCU\Software\Microsoft\Command Processor" /v AutoRun /f

in powershell. After that the command prompt worked again, I could run batch files as normal, and SGDBoop's functionality was restored. Feel free to mark this as closed.

Enable Visual Styles

Adding this to the manifest on Windows will make the UI elements look better, I've hacked it in to show the result.

<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            processorArchitecture="*"
            publicKeyToken="6595b64144ccf1df"
            language="*"
        />
    </dependentAssembly>
</dependency>

Before and After:

Wrong File Associations Chosen and Cannot Find File Type

I know this isn't exactly an issue but I searched every where and I cannot find a single mention of the file format and on the Steam Deck there are an insane amount of file types. So for me and other potential idiots like me could you please tell me the file type used when you click on the add non-steam?

Could not find ModInstallPath (either in regedit or registry.vdf) [97]

I get an non-impacting error message every time I apply an image to steam. This does not seem to actually prevent me from adding an image or have any real negative impact outside being slightly annoying due to having to close out the command prompt window.

ERROR: The system was unable to find the specified registry key or value.
Created logfile in C:\tools\SGDBoop\sgdboop_error.log

image

When looking at the sgdboop_error.log I see this error repeated several times:

Fri Nov 18 06:33:04 2022
Could not find ModInstallPath (either in regedit or registry.vdf) [97]

I have replicated this same error on two different systems.

System Info
OS: Windows 11
Browser: Firefox
Version: 1.2.6

unable to remove SGDBoop windows 10

Great program but i dont use it anymore.

I am trying to remove SGDBoop from my windows 10 pc. I followed the instruction how to uninstall it, by running CMD as admin but the command line gives me this error:

"C:\WINDOWS\system32>SGDBoop.exe unregister
'SGDBoop.exe' is not recognized as an internal or external command,
operable program or batch file."

Boop just doesnt work.

I installed from source, from the AUR, tried the flatpak but It would not change my background or logos even after restarting steam and pc altogether. If there is a log in the AUR version of this then I'd be happy to post it but as things stand I cannot change my backgrounds, logos, heroes or anything of the sort.

My suspicion is that the program doesnt know where to look since my games arent in ~/Games or some other default steam install location.

Steam deck - core dump

I have been trying to track down why this wasn't working on steam deck, Chrome or Firefox.

It does work correctly if triggered from the command line, I am using the command line from the .desktop file
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=SGDBoop --file-forwarding com.steamgriddb.SGDBoop @@u sgdb://boop/logo/2283/nonsteam @@
However when triggered from Chrome it gives a core dump as attached file.
Captured from the logs program flatpak

log_messages.txt

Chrome is triggering the executable as if I monitor with constant ps -ef I can see SGDBoop running.

Boop image ignored if an existing image with different extension exists

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.

Add a section to the troubleshooting steps.

I was having an issue on my Linux Desktop where Boop would always say it works on the test but would never actually change the artwork. None of the troubleshooting steps ever did anything for me. After searching through the source code I found that it will not scan for the official repository version of Steam if the folder for the Flatpak version of Steam is still there. I had installed and removed the Flatpak version of steam at some point on this system, however even after uninstalling the Flatpak the folder titled com.valvesoftware.Steam in ~/.var/apps still remained. After removing the folder, Boop worked just as advertised.

I recommend adding a section to the https://www.steamgriddb.com/boop pages Troubleshooting (Assets are not changing) section that discusses this issue. Maybe something along the lines of:
(Linux) If you are if you are not using the Flatpak version of Steam make sure to move, rename, or delete the folder "~/.var/apps/com.valvesoftware.Steam".

Missing visual C++ 2015 runtime

Installing SGDBoop for Windows under Parallels for Macbook M1 Pro that runs Windows 11 ARM, the installation fails due to missing vcruntime140.dll. I downloaded and ran the VC++ 2015 runtime installer and SGDBoop installed correctly. This is pretty unique because of the ARM architecture and the way Parallels implements its own Windows compatibility layer for x86 software, but I thought I'd pass it along just in case.

There's no automatic install process for the runtime. Is it there and it just fails within Parallels or is it just not there? Is auto install worth having?

BigPicture assets not updating with version 1.2.0

When trying to boop a horizontal grid for a game, everything seems like it's all working, but when launching into Steam's BP mode I still see the game's icon and a generic name for it. The only thing I found in log file was this:

Fri Aug 26 08:34:49 2022
Could not find ModInstallPath (either in regedit or registry.vdf) [97]

Running Windows 11 and latest stable Steam client (same issue is present in current beta version of Steam)

Can't run as administrator

Hello,

Im having an issue even if I try to launche it as administrator it's saying to launch as an administrator and Im having this report in the log: Could not create URI protocol. [80]

Im using Windows 11 I tried with Opera, Firefox and Chrome nothing changed.

Animated APNG/WebP Support?

It doesn't seem like the boop supports files that isn't png extension. Is it possible to have the boop button use a converted png instead?

Add support for preconfigured hero/logo combinations

It would be a nice QoL feature if SGDBoop could download preconfigured hero/logo combinations, including where the logo is supposed to be positioned, so users don't have to do it themselves. I realize this would likely require changing SteamGridDB itself for this change, since it only supports loose assets.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.