Jump to content
LaunchBox Community Forums

Recommended Posts

SteamGridDB Scraper

View File

Preview and import images from SteamGrid Database directly into your LaunchBox collection.
 

  • A personalized SteamGridDB API Key is required.  (See below about getting yours)
  • Downloaded images are saved to the default LaunchBox image folder(s).

 

Installing
Download and extract the contents of the download to your /LaunchBox/Plugins/ folder.
    i.e.  D:/LaunchBox/Plugins/SteamGrid Scraper/SteamGridScraper.dll

 

First Time Run
Select a game, right-click it and select SteamGrid Scraper.
    The "API key Required" window will open.
Paste (or manually type in) your personal SteamGrid API key.
Click Save

 

Using
Select a game, right-click it and select SteamGrid Scraper.

In cases where an exact match for the game Tite is not found, a window will popup listing 'close matches'.
Double-click a game from the list to select it.

Click on the SteamGrid image group you'd like to view.  Options are:
    Grids
    Heroes
    Logos
    Icons

Up to 50 images will show in the Gallery.  If the selected group has more than 50 available, click "2" to see then next 50.

Use the Zoom slider to increase/decrease the image sizes in the Gallery.
Double-click on an image to see a larger view. (Opens in a separate window).

The Icons group is pretty much useless in LaunchBox.  But since they're available, they're included.

 

Saving an image
To add an image to your game, right-click the image in the gallery and select Add Image.

Select the Image Type (folder) you want to save it as from the dropdown box.  (It doesn't change automatically for you.)
    Only a few select image types are shown by default.
    To see all image folders (types), check the box "See All available image types".

(Optional) To view your existing images for the game, click View Existing Images Gallery. (Opens in a separate window)
    This shows only the images for the selected image type

(Optional) Click Open Image Folder to open Windows Explorer to the folder where your existing images are and where the image will be saved to.

Click Save to save the image.

 

Getting your SteamGridDB API Key

Log into your SteamGridDB account.
Go to your Profile - Preferences - API
Click 'Generate API key'
 

 

As always, all comments and suggestions are welcome. 😎


 

  • Unusual Gem 2
Link to comment
Share on other sites

  • 1 month later...

Absolutely love this plugin, but today I went to update to the latest 1.2.3 and it asked me to re-enter my API key. However, upon pasting the API key in and pressing "save" I get this error.

I thought it might be a problem with the way I'd pasted it, but I tried manually inputting it, and even revoking the old key and creating a new one, but sadly still same error.

Does anyone know what might be causing this?

'.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.

App:     LaunchBox
Version: 13.17-beta-2
Theme:   Default
Type:    System.Xml.XmlException
Site:    Void Throw(System.Exception)
Source:  System.Private.Xml

   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
   at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
   at System.Xml.Linq.XDocument.Load(String uri)
   at SteamGrid_Scraper.APIkeyRequired.Save_Click(Object sender, RoutedEventArgs e)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log:

   PM 08:27:40 Exception

 

Link to comment
Share on other sites

56 minutes ago, bob_the_blob2 said:

Absolutely love this plugin, but today I went to update to the latest 1.2.3 and it asked me to re-enter my API key. However, upon pasting the API key in and pressing "save" I get this error.

I thought it might be a problem with the way I'd pasted it, but I tried manually inputting it, and even revoking the old key and creating a new one, but sadly still same error.

Does anyone know what might be causing this?

First off, thanks for loving the plugin!

It shouldn't have asked you to re-enter your API key if you had a valid one in there already.

After downloading the update, did you copy the .dll to the same location as the old one? Overwriting the existing .dll?

Make sure your Plugins folder doesn't have 2 instances of the dll file.  i.e. 

  • /Plugins/SteamGrid Scraper.dll  
  • AND 
  • /Plugins/SteamGrid Scraper/SteamGrid Scraper.dll

 

If that's not the case:

  • Close LaunchBox
  • in the /Plugins/SteamGrid Scraper/ folder, delete Settings.xml
  • Start LaunchBox
  • 'Attempt' to scrape and paste in your API Key
  • Click Save

 

If that don't fix it, something's really screwy. 

  • Close LaunchBox
  • Delete the /SteamGrid Scraper/ folder
  • Unzip the download into the /Plugins/ folder
    • resulting in "/LaunchBox/Plugins/SteamGrid Scraper/SteamGrid Scraper.dll"
    • and no other files in that subfolder.  Just the (1) .dll file
  • Start...
  • 'Attempt'...
  • Save

 

If you still get the error, send me the most recent log file (/Plugins/SteamGrid Scraper/Logs/log xxxx-xx-xx ....txt) and your Settings.xml file.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...