Closed oldmario closed 8 years ago
Would require storing additional data to start off with.
I don't know how exactly this information is stored in Catalog API but I'll look into it.
Well, I finally looked into it (for your patience, the latest PSDLE has new searching options).
It seems the Catalog has a "title_name" attribute that stores the base game's name (not the item's name), probably. I only looked at a few items (Sword Art Online DLC and a Danganronpa theme, for Vita) and noticed this behavior.
I could make a testing implementation for you to try and see if that's what you're aiming for.
An alternative would be comparing a bunch of IDs and product IDs (I think child items have their parent's product ID) but that'd be super slow and dependent on a proper title (like "Game Name Trial" and having a demo unlock). The benefit of this approach would be it wouldn't require Catalog.
This is nearing completion due to a new export window.
~~Expect a complete solution soon, as I need to determine the best way to find the parent's name. As stated above, I can look at similar product IDs or use the Catalog. I may end up using either based on if Catalog is enabled.~~
I think the only reliable way to do this is when Catalog is enabled, as that's the only way to determine if something is the base/parent game or not.
Not particularly. Still need to sit down and figure out exactly how I want to do this instead of just rough ideas.
As of 5ed936b34e3dbce2276013769c00684903837870, I believe this is done.
You can also now search by base game if desired. However, entries without a proper parent/base game will be hidden by default if doing so.
_Technical stuff:_
The Catalog provides a title_name
which usually (there are some exceptions) contains the parent/base game of the content. As such, this is now stored in the baseGame
property and readily available for exporting.
For items that do not have Catalog entries, they do not get a baseGame
property and are excluded from the search scope. In the future, it may be worth doing a reverse-lookup (with PSDLE's ID/PID caches) to determine parents.
some dlc are labeled as dlc pack 1, dlc pack 2,dlc pack 3 or just character names and don't contain the name of the title they're from, any chance of adding this into the export area please?