sharkusmanch / playnite-pcgamingwiki-metadata-provider Goto Github PK
View Code? Open in Web Editor NEWPlugin for Playnite that retrieves game metadata from PCGamingWiki
License: MIT License
Plugin for Playnite that retrieves game metadata from PCGamingWiki
License: MIT License
While trying to download metadata(in my case only the series
) for some games i get no results.
This is because the name of the game in Playnite doesn't exactly match the name on PCGW.
Some examples:
"The Settlers - History Edition":
While The Settlers - History Edition
and The Settlers 7 - History Edition
have series
metadata,
the titles from 2 to 6 don't have it. PCGW uses the original release titles.
2 to 4 use roman numbers, 5 is The Settlers: Heritage of Kings - History Edition
and 6 is The Settlers: Rise of an Empire - History Edition
"Watch Dogs":
Ubisoft named these WATCH_DOGS
at least 1 and 2.
The whole Tom Clancy's Series is an odd one out, none of those get the metadata despite having the same name from what i can tell.
And a lot others which i am not going name all unless you want it.
I noticed Special K plugins disables itself if there is an Easy Anti Cheat tag but during looking for the tag I realized that nothing actually lists it except the PCGWiki
But this plugin doesn't look at middleware
You can test this with https://www.pcgamingwiki.com/wiki/Darwin_Project
It has easy anticheat and when downloading metadata this addon doesn't add Easy Anti Cheat
PCGamingWiki has three potential sources for Critic Score: Open Critic, IGDB, Metacritic
Allow the user to customize prioritize the order of these score to determine which should be used. Also optionally disable some.
Would it be possible to add tagging for Multiplayer types, like Local, LAN, etc.
This is currently the only possibility to filter for Couch-Coop and LAN party games.
If a game does not include microtransactions, there's a tag 'no microtransaction' in PCGW (see PCGW Taxonomy). If this is set, the plugin just calls the feature 'None'. Would be nice if this would end up as 'No microtransactions'.
Example: Overcooked! All You Can Eat
Since there are different types of tags like engine, perspective, pacing etc. it would be great to have an option to add the type to the name of the tag - for example "[Perspective] First-person" or "[Engine] Unreal Engine 4". That way the tags can be sorted by type and are easier to grasp.
Came across this minor issue, but thought would report anyway, Series:Warhammer 40,000
was split into two different series at the comma when fetching metadata.
Possibly related: #28
Steps to replicate:
Sid Meier's Civilization II
.Sid Meier's
from the search. The first result is... Sid Meier's Civilization II.I can also replicate this with Sid Meier's Railroads!
and Sid Meier's Alpha Centauri
.
This does not always occur; Assassin's Creed
got results as expected. Perhaps the search has something against Sid Meier.
It would be nice if we could disable the metadata import for certain website links from PCGamingWiki, such as Lutris/ProtonDB/WineHQ (for non Linux users), or IsThereAnyDeal (since you probably already own the game if you're importing it into Playnite)
I'd love to be able to change the tag prefixes to something else. I'd like to use emoji to mark the different tag types, but that isn't possible with the fixed prefixes without manually editing them afterwards.
From this URL (internal link for Razer Chroma, as it's the one I have and am most concerned with, so it could be a good starting place):
https://www.pcgamingwiki.com/wiki/RGB_lighting_middleware#Razer_Chroma_RGB
Is it possible to parse/scrape the table named "Supported games" in this section - all of them, really, for the most robust support - and edit the fields of games that have been detected in our libraries, and add a Feature named Chroma Connect (or whichever RGB middleware is associated with that game), and append the descriptions in the table, for each of the Supported games in our libraries, to either the top or bottom of the current descriptions?
Options could be added to the Other Features section of the Features tab in the settings - a check box for RGB middleware, which makes a list of all of them appear, and ability to Ctrl+click on multiple - check box to add description to either top or bottom of current description.
PCGW supports adding multiple Series to a game.
Sometimes? they get merged into one Series.
Most notably here is the Assassin's Creed Chronicles Series.
ACC China gets Assassin's Creed Chronicles, Assassin's Creed
as a series
tag(as one series)
while ACC Russia and India get no series assigned.
Though that might be related to #40 bc
China(Assassin's Creed Chronicles China
) uses '
Russia(Assassin’s Creed Chronicles Russia
) and India(Assassin’s Creed Chronicles India
) use ’
others are:
Asteroids: Recharged
series
=Asteroids, Atari Recharged
Black Widow: Recharged
series
=Black Widow, Atari Recharged
Centipede Recharged
series
=Centipede, Atari Recharged
Discovery Tour: Ancient Greece by Ubisoft
series
=Discovery Tour, Assassin's Creed
Dependent on #9
https://www.pcgamingwiki.com/wiki/PCGamingWiki:Editing_guide/Video#The_table
Including:
https://www.pcgamingwiki.com/wiki/Template:Save_game_cloud_syncing
Currently only checking for origin
Searching on the full title of "The Signal from Tölva" returns no results, resulting in a (silently) failed search when downloading metadata. Several dozen other games in my library failed similarly during a bulk search.
Searching on only "The Signal" on this one game resulted in a positive result, leading me to believe that perhaps it is due to the search parser failing to automatically "escape" the URLs correctly - insert the proper URL codes that represent special characters that cannot be typed normally in URLs. In the above example, the URL code that must be passed is %C3%B6 between capital T and lower case l, to render the o with diaeresis.
When changing what Links to create on the Links tab of the plugin settings, they are saved to config.json okay, but are not reloaded after relaunching Playnite, causing the default selection of Links to be created instead.
Games may potentially have information about if they support DualShock 4 controllers. E.g.
I would like for this information to be retrieved and stored within the game's metadata in Playnite. My use case is that I want to be able to create a global pre-game script that will check for this information. If a game supports a DualShock 4 controller, then I can have the script change my DS4Windows to a DualShock 4 profile to get game-specific support for that controller compared to a using an Xbox profile.
Right now, I have to manually setup some automatic profiles for specific games in DS4Windows. But if this metadata provider could provide this information, then I should be able to automate this a lot more easily since it is quite cumbersome to use DS4Windows auto profiles.
Edit: Actually as a proof of concept, I have the Playnite scripting done. So I can manually tag games in Playnite directly to accomplish my goal, which is better than doing it through DS4Windows. And it proves to me that automatically retrieving this metadata would be useful.
the title kinda says everything,
since i would love to filter on RayTracing,
it doesn't seem to work even if the PCGamingWiki link shows it supports raytracing
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
.github/workflows/pull_request.yaml
actions/checkout v4
actions/setup-python v5
actions/checkout v4
actions/checkout v4
robinraju/release-downloader v1.8
.github/workflows/release.yaml
actions/checkout v4
robinraju/release-downloader v1.8
actions/upload-artifact v4
actions/checkout v4
actions/download-artifact v4
src/PCGamingWikiMetadata.csproj
PlayniteSDK 6.11.0
Newtonsoft.Json 10.0.3
System.ValueTuple 4.5.0
RestSharp 106.15.0
Microsoft.VisualBasic 10.3.0
Microsoft.CSharp 4.7.0
HtmlAgilityPack 1.11.60
One thing I keep running into with PCGW metadata is having to remove the edition from a game name in order to find the base edition, in cases where the edition is not listed in PCGW's database. Ideally the data would be added to PCGW's database for each one, though I find there is a lot of commonality in the edition labels in use, which may allow for a client-side fix. After doing a full name search with no results, the plugin could search again while removing the edition label. If implemented, this should have an option in settings, as some people may want only an exact edition match.
Common edition labels include:
Anniversary Edition
Complete Edition
Definitive Edition
Deluxe Edition
Enhanced Edition
Extended Edition
Game of the Year Edition
Gold Edition
Premier Edition
Standard Edition
The Director's Cut
Ultimate Edition
Though some games use variations of the above;
Complete
Enhanced Plus Edition
Gold
GOTY Edition
GOTY
The Complete Edition
Ultimate Collection
While others use custom labels, though [X] Edition
is still common;
Eldritch Edition
Farewell Edition
Remeowstered
Trials of Fear Edition
Voidheart Edition
I use Playnite on my TV and Detachable - so I have set filters for each so that only supported games are displayed.
Unfortunately, unlike other metadata-addons, this one does not consider the tags from PCGW so far. It would be nice if this could be implemented.
Thanks for the work!
When Library is Xbox, check if title is Xbox Play Anywhere
enabled.
https://www.pcgamingwiki.com/wiki/List_of_Xbox_Play_Anywhere_games
First of all, thank you so much for the work you're putting in! And also for the last two patches. They increased detection and now almost all my Couch-Gaming games are detected correctly. However and for a reason I can not reproduce, some games are not detected correctly.
To name some examples:
https://www.pcgamingwiki.com/wiki/Tumblestone
https://www.pcgamingwiki.com/wiki/Regular_Human_Basketball
https://www.pcgamingwiki.com/wiki/Tricky_Towers
What's the difference here in comparison to games which are detected correctly?
Links to Official Site and GOG Database are always added even when disabled in the add-on settings.
I suspect this is because the PCGWGameController.AddLink method which does the filtering is not being used for those two links:
playnite-pcgamingwiki-metadata-provider/src/PCGamingWikiHTMLParser.cs
Lines 394 to 404 in fe45e46
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.