Tool Playnite Extensions (F95zone, DLsite and Fanza)

5.00 star(s) 1 Vote

AbsoluteO

New Member
Jun 15, 2018
4
1
Failed to download metadata:Object reference not set to an instance of an object.

Seems to work for https://f95zone.to/threads/evenicle-v1-04-alicesoft.14403/
but not for https://f95zone.to/threads/four-elements-trainer-v0-8-7d-mity.730/

and the log

2020-07-18 02:32:57.9158|WARN:Found no Header node for https://f95zone.to/threads/four-elements-trainer-v0-8-7d-mity.730/!
2020-07-18 02:32:57.9158|ERROR:Failed to download metadata, 00000000-0000-0000-0000-000000000000, e8f74a7c-8e8c-4736-a6dd-b4082cfb3d2fSystem.NullReferenceException: Object reference not set to an instance of an object.
at F95ZoneMetadata.F95ZoneMetadataProvider.GetAvailableFields() in M:\Projects\Playnite.Extensions\F95ZoneMetadata\F95ZoneMetadata\F95ZoneMetadataProvider.cs:line 47
at F95ZoneMetadata.F95ZoneMetadataProvider.get_AvailableFields() in M:\Projects\Playnite.Extensions\F95ZoneMetadata\F95ZoneMetadata\F95ZoneMetadataProvider.cs:line 19
at F95ZoneMetadata.F95ZoneMetadataProvider.GetName() in M:\Projects\Playnite.Extensions\F95ZoneMetadata\F95ZoneMetadata\F95ZoneMetadataProvider.cs:line 73
at Playnite.DesktopApp.ViewModels.GameEditViewModel.<>c__DisplayClass391_0.<DownloadPluginData>b__0() in E:\Devel\Playnite\source\Playnite.DesktopApp\ViewModels\GameEditViewModel.cs:line 2858
 

erri120

Newbie
Jul 11, 2020
52
46
Failed to download metadata:Object reference not set to an instance of an object.

Seems to work for https://f95zone.to/threads/evenicle-v1-04-alicesoft.14403/
but not for https://f95zone.to/threads/four-elements-trainer-v0-8-7d-mity.730/

and the log

2020-07-18 02:32:57.9158|WARN:Found no Header node for https://f95zone.to/threads/four-elements-trainer-v0-8-7d-mity.730/!
2020-07-18 02:32:57.9158|ERROR:Failed to download metadata, 00000000-0000-0000-0000-000000000000, e8f74a7c-8e8c-4736-a6dd-b4082cfb3d2fSystem.NullReferenceException: Object reference not set to an instance of an object.
at F95ZoneMetadata.F95ZoneMetadataProvider.GetAvailableFields() in M:\Projects\Playnite.Extensions\F95ZoneMetadata\F95ZoneMetadata\F95ZoneMetadataProvider.cs:line 47
at F95ZoneMetadata.F95ZoneMetadataProvider.get_AvailableFields() in M:\Projects\Playnite.Extensions\F95ZoneMetadata\F95ZoneMetadata\F95ZoneMetadataProvider.cs:line 19
at F95ZoneMetadata.F95ZoneMetadataProvider.GetName() in M:\Projects\Playnite.Extensions\F95ZoneMetadata\F95ZoneMetadata\F95ZoneMetadataProvider.cs:line 73
at Playnite.DesktopApp.ViewModels.GameEditViewModel.<>c__DisplayClass391_0.<DownloadPluginData>b__0() in E:\Devel\Playnite\source\Playnite.DesktopApp\ViewModels\GameEditViewModel.cs:line 2858
Should be fixed in the latest release:
 

AbsoluteO

New Member
Jun 15, 2018
4
1
hmm that did fix it but many other games do not work still im not sure what the common problem is between them.
here is a list of a few I found

https://f95zone.to/threads/amity-park-v0-7-3-gzone.4262/
https://f95zone.to/threads/the-mating-season-v1-02-akabur.13777/
https://f95zone.to/threads/princess-trainer-gold-edition-akabur.760/
https://f95zone.to/threads/poke-abby-hd-oxopotion.1068/

log for amity park

2020-07-22 04:44:25.4886|DEBUG:Downloading data from https://attachments.f95zone.to/2019/01/227040_banner_5.04.png to C:\Users\J\AppData\Local\Temp\Playnite\8c77edb1-6d82-45fb-9ce6-b4b4151d6cf2.png.
2020-07-22 04:44:25.8716|DEBUG:Downloading data from https://attachments.f95zone.to/2019/01/227055_screenshot11.jpg to C:\Users\J\AppData\Local\Temp\Playnite\1643b753-d98c-4eb5-ba51-413b53d31f1e.jpg.
2020-07-22 04:44:27.0506|DEBUG:Copying file C:\Users\J\AppData\Local\Temp\Playnite\8c77edb1-6d82-45fb-9ce6-b4b4151d6cf2.png to D:\Downloads folde\Games\Playnite77\library\files\aa51963d-b9a6-47ed-b3db-83f7fa459b24\5e0cce53-b5d3-4fed-adf3-336aef45ba3e.png
2020-07-22 04:44:27.0506|DEBUG:Copying file C:\Users\J\AppData\Local\Temp\Playnite\1643b753-d98c-4eb5-ba51-413b53d31f1e.jpg to D:\Downloads folde\Games\Playnite77\library\files\aa51963d-b9a6-47ed-b3db-83f7fa459b24\ad321957-8a77-4a78-8230-520c79ca9ca0.jpg
2020-07-22 04:45:04.4168|WARN:Found no Cover Image node for Amity Park [v0.7.3]!
2020-07-22 04:45:04.4168|ERROR:Failed to download metadata, 00000000-0000-0000-0000-000000000000, f8e1bcdb-b9d6-41f7-a8ae-799c504cb770System.AggregateException: One or more errors occurred. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: oldChild
at HtmlAgilityPack.HtmlNode.RemoveChild(HtmlNode oldChild) in C:\Repos\HtmlAgilityPack\HtmlAgilityPack.Shared\HtmlNode.cs:line 1655
at F95ZoneMetadata.F95ZoneGame.<LoadGame>d__34.MoveNext() in M:\Projects\Playnite.Extensions\F95ZoneMetadata\F95ZoneGame.cs:line 143
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at F95ZoneMetadata.F95ZoneMetadataProvider.GetAvailableFields() in M:\Projects\Playnite.Extensions\F95ZoneMetadata\F95ZoneMetadataProvider.cs:line 54
at F95ZoneMetadata.F95ZoneMetadataProvider.get_AvailableFields() in M:\Projects\Playnite.Extensions\F95ZoneMetadata\F95ZoneMetadataProvider.cs:line 19
at F95ZoneMetadata.F95ZoneMetadataProvider.GetName() in M:\Projects\Playnite.Extensions\F95ZoneMetadata\F95ZoneMetadataProvider.cs:line 88
at Playnite.DesktopApp.ViewModels.GameEditViewModel.<>c__DisplayClass391_0.<DownloadPluginData>b__0() in E:\Devel\Playnite\source\Playnite.DesktopApp\ViewModels\GameEditViewModel.cs:line 2858
---> (Inner Exception #0) System.ArgumentNullException: Value cannot be null.
Parameter name: oldChild
at HtmlAgilityPack.HtmlNode.RemoveChild(HtmlNode oldChild) in C:\Repos\HtmlAgilityPack\HtmlAgilityPack.Shared\HtmlNode.cs:line 1655
at F95ZoneMetadata.F95ZoneGame.<LoadGame>d__34.MoveNext() in M:\Projects\Playnite.Extensions\F95ZoneMetadata\F95ZoneGame.cs:line 143<---
 

Aceyx3

Newbie
Apr 17, 2018
72
226
How to use it? Is it an extractor, that will extract images from dlsite? I'm bit confused.
 

AbsoluteO

New Member
Jun 15, 2018
4
1
How to use it? Is it an extractor, that will extract images from dlsite? I'm bit confused.
It grabs the meta data for your games so you download Playnite add your games then paste the F95zone URL of your game and it will retrive the meta data and fill in all the info for you adding image previews and stuff.

This is actually useful if u have 100s of games downloaded and want a library but don't want to fill in all the info by hand.
 
  • Like
Reactions: Aceyx3

erri120

Newbie
Jul 11, 2020
52
46
1.4.0 is live with tons of fixes and better F95Zone scrapping:
 
  • Like
Reactions: Nyhmz

Nyhmz

New Member
Sep 20, 2017
6
1
Holy crap thank you for that update, F95 scrapping is flawless so far where is it used to be super iffy on some games.
 

Beyond Real

Newbie
Aug 15, 2020
27
24
Wow! I was looking for a good game manager, this is what I'm looking for!!! Thank you so much for your hardwork.
 
  • Like
Reactions: erri120

Beyond Real

Newbie
Aug 15, 2020
27
24
Hello there! (Here we go again) erri120 Just wanted to say you did an amazing job, I'm just super happy to be able to build my own offline DETAILED library.

Is it difficult for you to add a login option for the f95zone metadata provider? I'm using your extensions to list all the games I downloaded, and sometimes I want more than the simple description.

Most of the time I want the SPOILER below, but instead I got this message :

Spoiler: More Info
You don't have permission to view the spoiler content.
Log in or register now.

Also, right now I'm adding manually "censorship", "machine translation", "patch"(if uncensor or fix patch are available) on the FEATURES section of game details. It could be awesome if you can add this.

And finally, I'm adding the <br/> tag everywhere where it's needed in the description... Well I'm rewriting the indentation anyway, so if's too much then it's ok, I don't mind.

I'm also searching for a way to make Playnite install/extract the rar/zip/7z where I want... The sole way that I made it work, is to :
1. Convert the compressed files into self extracting .exe
2. Input manually an ACTION called Extract (Type executable)
3. Put the path where it is stored (X:\Games\XXXX.exe)

If you got a thousand games, it can be reaaaaalllyy fastidious.

Anyway, OMEGAGOODJOB, love ya. Peace!

P-S : Here are some screens of how I sort my collection and what I keep in my game details.
P-SS: I'm not writing the version of the game, my compressed files are named like the title of the F95 post with more infos. (Ex: The Ramen Prince ' Ramen no Oujisama x64 [v1.0.1].rar)
Screen 1.png
Screen 2.png
 
Last edited:

erri120

Newbie
Jul 11, 2020
52
46
Hello there! (Here we go again) erri120 Just wanted to say you did an amazing job, I'm just super happy to be able to build my own offline DETAILED library.

Is it difficult for you to add a login option for the f95zone metadata provider? I'm using your extensions to list all the games I downloaded, and sometimes I want more than the simple description.

Most of the time I want the SPOILER below, but instead I got this message :

Spoiler: More Info
You don't have permission to view the spoiler content.
Log in or register now.

Also, right now I'm adding manually "censorship", "machine translation", "patch"(if uncensor or fix patch are available) on the FEATURES section of game details. It could be awesome if you can add this.

And finally, I'm adding the <br/> tag everywhere where it's needed in the description... Well I'm rewriting the indentation anyway, so if's too much then it's ok, I don't mind.

I'm also searching for a way to make Playnite install/extract the rar/zip/7z where I want... The sole way that I made it work, is to :
1. Convert the compressed files into self extracting .exe
2. Input manually an ACTION called Extract (Type executable)
3. Put the path where it is stored (X:\Games\XXXX.exe)

If you got a thousand games, it can be reaaaaalllyy fastidious.

Anyway, OMEGAGOODJOB, love ya. Peace!

P-S : Here are some screens of how I sort my collection and what I keep in my game details.
View attachment 818778
View attachment 818779
I'm using HTMLAgilityPack for data scrapping, which only loads and parses the HTML. I think it is possible to use the
Code:
xf_session
cookie and pass it in a custom client when loading the site but problem is still that you have to login first to create the session. This would mean loading dynamic content (JS scripts) which needs a JS engine, which HTMLAgilityPack is not used for. CefSharp would be an option and I think Playnite has a wrapper for it but I have to double check that.

The features you are adding manually (censorship, MTL,...) can't be added programmatically. You gotta remember that F95Zone uses a Forum layout and does not have some Form you can fill out. All posts follow some layout but not exactly the same which makes data scrapping really hard.

Playnite is just a game launcher and can't do installation. I recommend using JDownloader and turning on auto extraction if you are downloading tons of archives and are too lazy to extract them yourself. You don't have to do much except adding the download link to JDownloader, starting the download and wait for it to finish with a good config.
 
  • Like
Reactions: Beyond Real

Beyond Real

Newbie
Aug 15, 2020
27
24
Thank you for the fast reply Sir! I'm actually keeping the compressed files instead of extracting everything, it takes too much space. (I'm already using Jdownloader)

So yeah, I only can create an ACTION manually and convert all my compressed files to autoself extracting .exe if I want playnite to install it... Well, too much work to do, so I'm gonna extract the game myself when I want it :ROFLMAO:
 

the gentelman

New Member
Sep 16, 2018
12
18
hello, thanks for the extension. I got this error, how can I fix it Screenshot 2020-11-09 000843.png


nvm,I fixed it. just saw you had to copy the link in on the name box. thank you so much for the extension, god bless u
 
Last edited:

Sporkington

New Member
Mar 12, 2019
6
1
Small suggestion, thread links have "title data" in them, which are really just a waste of space. It would be nice if title data was removed from the saved URL.

For example, https://f95zone.to/threads/playnite-extensions-f95-dlsite-jastusa-vndb.56493/ would be https://f95zone.to/threads/56493/
 
  • Like
Reactions: Beyond Real

Beyond Real

Newbie
Aug 15, 2020
27
24
Small suggestion, thread links have "title data" in them, which are really just a waste of space. It would be nice if title data was removed from the saved URL.

For example, https://f95zone.to/threads/playnite-extensions-f95-dlsite-jastusa-vndb.56493/ would be https://f95zone.to/threads/56493/
Yeah, I'm was bothered by that also. Well seems when a game get uptaded the link change but still manage to redirect to the correct thread. Don't have any problem till now.
 

Sporkington

New Member
Mar 12, 2019
6
1
I actually have another suggestion, though it may not be something currently doable. I've noticed that the library will update when Playnite launches. Is there any chance that process could be hooked to detect when a thread title has been updated, which normally indicates an update has happened? You could throw a new category of "Needs Update" or "Updated" on it when the title changes. All the user would need to do is refresh the metadata, where you could remove that category along with the title being updated.

Yeah, I'm was bothered by that also. Well seems when a game get uptaded the link change but still manage to redirect to the correct thread. Don't have any problem till now.
The title aspect of the link is actually completely fungible, in addition to being removable/optional. You can put virtually anything between https://f95zone.to/threads/ and the dot before the numbers. For example, this link will still link to this thread despite the change of title data: https://f95zone.to/threads/this-is-example-data! It-is-meaningless,-and-normally-only-used-to-give-users-an-idea-of-what-they-are-clicking-before-they-click-it There is very_little;you:can't put in~here.56493/
 
Last edited:
5.00 star(s) 1 Vote