Greasy Fork is available in English.

Backloggery interop

Backloggery integration with game library websites

Penulis
LeXofLeviafan
Pemasangan harian
0
Total pemasangan
94
Nilai
2 1 0
Versi
0.8.10
Dibuat
22 Juni 2019
Diperbarui
18 April 2021
Lisensi
N/A
Berlaku untuk

This script provides aid for managing large game collections from several sources in Backloggery; it lets you see information on linked games in the backlog (and access the game webpage), allows to keep track of completion information (when available), and provides the list of unlinked games on the game addition page.

What follows is the full account on the functionality of this script along with usage instructions.

Overall

For each game list, latest version of available data is kept in storage (accessible in script settings).

Additionally, when syncing game data, changed/removed entries are detected and kept track of (more specifically, the script tracks things that you might base your Backloggery data on: game title, platforms list, and progress-related like completion/achievements; also, for HumbleBundle games, presence in Trove is tracked). To remove entry from changes list, you can visit its Backloggery edit page (only games with Backloggery entries are displayed), or just remove it by hand from the changes list in storage.

If you have a game not from any of supported sources (or not synced there because of some bug in the sync website), you can still have a logo/link functionality; you'll have to update them manually though.

Backlog (backloggery.com/games.php)

Whenever one of displayed game list items has one of the sites below set as its System, the list item is modified to display linked game info; typically it's the game icon at the left of the list (which doubles as a hyperlink to the game page), and supported OS + additional info (played hours for Steam games, rating for GOG, rank for PSN; for Humble, the games available only in Trove are marked). Additionally, the game title gets a tooltip containing name of the linked game, and when hovering a game icon the poster will be displayed, along with completion information (when available) or publisher/developer (for Humble/GGate).

When an item without a linked game is encountered, it attempts to link one by title (using slug matching). When a linked game has completion status conflicting with Backloggery data, it's highlighted in red; when it's marked as unwatched, it's highlighted in grey (overriding completion).

If you set up a game list item as a custom entry, it'll have a game icon (with a hyperlink if provided) and a poster in tooltip (if provided). All custom entries have a [custom] mark and selected icons (if provided) added to the title. They're always marked grey (unwatched).

When there are tracked changes related to some registered Backloggery entries, there will be a list of of such entries in top right corner (displayed as a list of regular HTML hyperlinks). The list is collapsible (by clicking the header). Thus, after syncing data on any collection site you can just open your backlog page and go through changed pages to update Backloggery entries if necessary without having to worry about stale data. (New games don't apply as they're tracked on game addition screen.)

Additionally, PC is renamed to Windows in the platform listing (because that's what it actually means).

The script is compatible with Tor's Backloggery enhancements (only basic functionality was tested though).

Game editing screen (backloggery.com/update.php)

At the top of Game Information section, there's a dropdown with games from your library from selected source. It's ordered by counting matching words in titles (whole words, then prefixes) which can sometimes be confusing but the desired game is always close to the top so long as at least part of the title is matching (in worst case you can remove the more common words in the text field to reduce false matches). Selecting a game from the list links it to the Backloggery game id. Pressing Escape clears the game link. Also, you can 'exclude' a game from the search (it's moved to the bottom of the list where you can find it to 'restore' it should you change your mind); an 'excluded' game cannot be linked.

When a game is linked to the current Backloggery game id, game poster (with link to game page) and completion information are displayed for convenience.

Game deletion here opens a page which triggers removal of Backloggery game id from the script storage.

If the game isn't synced (not from supported source or some bug prevents it from syncing) you can toggle the Listed mode (switching to Custom). This will replace the game dropdown (if present) with a textfield for entering the URL of game website. Clicking it will open a popover form containing fields for game icon/poster URLs, as well as a list of selectable icons and a save/close button. Selected icons are displayed in the game URL field; it also has a test action icon (when an URL is present) to check if it was entered correctly. The icon/poster URL fields have a preview action icon (when an URL is present) activated by mouse hover (preview area will appear below the Done button). Pressing Done will also update the recorded date, so you can use it to keep track of your own (Backloggery) changes by opening/closing the popover form before saving your changes. Note that while Escape button will merely close the popover without changing the Updated date, switching back to Listed mode will remove all custom data.

Game addition screen (backloggery.com/newgame.php)

The System dropdown displays the count of unlinked games for each source ('excluded' games aren't counted). After selecting relevant platform, editing game title will open a dropdown similar to the one in editing screen but containing only unlinked games (along with 'excluded' ones). Selecting one will set the title and display poster/OS/completion information on the form. Linking, however, doesn't happen here as Backloggery game id is unavailable.

Steam game library (steamcommunity.com/id/<username>/games/?tab=all)

This URL has to be manually added to User Includes to work (copy it from Original Excludes and replace <username> with your Steam user name; take it from the URL of your own). This is necessary for the script to only sync your data and not the others'.

Opening/reloading this page will sync your Steam library data (information is obtained from page environment). Completion information (achievements) and list of platforms aren't available here, so you have to obtain it from other places (games which don't have achievement information will display ?, games without OS information will display Steam icon instead). After sync is completed, an alert will be displayed with the number of added and removed games.

Steam recent games page (steamcommunity.com/id/<username>/games/?tab=recent)

This URL has to be manually added to User Includes to work (copy it from Original Excludes and replace <username> with your Steam user name; take it from the URL of your own). The same URL is used for game library.

Opening/reloading this page will update information on your recent achievements (information is obtained from page environment). Only the games displayed in the list are updated. After sync is completed, an alert will be displayed with the number of updated games.

Steam game stats (steamcommunity.com/id/<username>/stats/<game>)

This URL has to be manually added to User Includes to work (copy it from Original Excludes and replace <username> with your Steam user name; take it from the URL of your own).

Opening this page will sync achievement information of the relevant game. Additionally, steamcommunity.com/stats/<game> (global game stats) now displays user information too, so it's now used for sync as well.

Note: the query (/?tab=achievements) part has been removed as it appears to be optional (some links pointing there don't use it). If you're using older version, you may want to update the User Includes entry (if you want the pages without query part to sync as well, that is).

Steam game page (store.steampowered.com/app/*)

Opening this page will sync OS information of the relevant game. Only games marked as owned are synced (you must be logged in).

SteamDB game page (steamdb.info/app/<gameid>)

Opening this page will sync OS information of the relevant game (if available). Only games marked as owned are synced (you must be logged in). If the game isn't marked as owned, you can try refreshing your data in SteamDB settings.

This can be used as an alternative to game page, or in cases when game isn't in the Steam store anymore.

SteamDB library (steamdb.info/calculator/<userid>)

Hover feature no longer exists, thus the script can't be used with this URL anymore. Remove it from user includes when updating from older version.

Steam stats site (astats.astats.nl/astats/User_Games.php)

Opening/reloading this page will update information on your achievements (you may want to open your profile page to update the information there first; if that fails, game stats can be updated manually per-game). The information is gathered from the page; this works in both table & list modes; disabling limit and enabling non-achievement games will sync all games at once. After sync is completed, an alert will be displayed with the number of updated games.

GOG library (gog.com/account)

The script adds a sync button to the filter toolbar; clicking it will trigger sync via site API (this only works if the page hasn't been open for too long… it's a bug of the site, not of the script; the site own functionality like setting tags also breaks at that point). After sync is completed, an alert will be displayed with the number of added and removed games.

The default "Completed" tag is used as completion information (it's matched with Beaten/Completed/Mastered status in Backloggery).

HumbleBundle library (humblebundle.com/home/library)

The script adds a sync button to the filtering toolbar (available only when no filters are applied); clicking it will trigger sync by crawling the library page (HB doesn't expose any information other than what's displayed on page, so even instead of IDs I used title slugs). After sync is completed, an alert will be displayed with the number of added and removed games.

Game pages taken here usually point to developer's page. Also, game posters aren't available here, so only games found in Trove will have them in Backloggery.

HumbleBundle trove (humblebundle.com/monthly/trove)

The script adds a sync button to the sorting toolbar; clicking it will trigger sync by crawling the library page (HB doesn't expose any information other than what's displayed on page, so even instead of IDs I used title slugs). After sync is completed, an alert will be displayed with the number of added and removed games.

HumbleBundle games in Backloggery will be linked to the merged list of games from Humble Library and Trove. Games only available in Trove will be marked in the list. Also, their game page will always be the Trove page instead of the developer's page.

GamersGate library (gamersgate.com/account/games)

The script adds a sync button to the filtering toolbar (available only when no filters are applied); clicking it will trigger sync by crawling the library page.

PSN profile (psnprofiles.com/<username>)

This URL has to be manually added to User Includes to work (copy it from Original Excludes and replace <username> with your PSN user name; take it from the URL of your own).

The script adds a sync button to the filtering toolbar (available only when no filters are applied); clicking it will trigger sync by crawling the profile page.

Note that the posters aren't available on the profile page, so to get a (bigger) poster you'll need to open the game subpage.