erri120 / Playnite.Extensions

Collection of Extensions I created for Playnite (DLsite, F95zone, Fanza and more)
GNU General Public License v3.0
72 stars 13 forks source link
csharp playnite playnite-extension

Extensions for Playnite

This is a collection of extensions for Playnite I created.

Installation

All of the extensions can be install via the Addon Database within Playnite. You can also manually download the extensions from the Latest Release tab.

Metadata Providers

DLsite

Website: English, Japanese

Supported Fields:

Usage:

This Metadata Provider expects either a link to the game on DLsite (eg: https://www.dlsite.com/maniax/work/=/product_id/RJ246037.html) or the id (eg: RJ246037) in the Name field. If the Plugin finds neither a link nor an id it will go into search mode and you can search the game on DLsite. If the request for metadata is in happening in the background, the Plugin will choose the first search result by default.

Settings:

The following settings can be adjusted in Add-ons... -> Extensions settings -> Metadata Sources -> DLsite:

Name Default Value Description
Preferred Language en_US DLsite supports en_US, ja_JP, ko_KR, zh_CN and zh_TW
Include Scenario Writers as Developers Yes This will include Scenario Writers in the Developers field in Playnite
Include Illustrators as Developers Yes This will include Illustrators in the Developers field in Playnite
Include Voice Actors as Developers Yes This will include Voice Actors in the Developers field in Playnite
Include Music Creators as Developers Yes This will include Music Creators in the Developers field in Playnite
Which property should the DLsite categories be assigned to in Playnite Features You can decide whether the "Categories" from DLsite should go into the "Features", "Genres" or "Tags" field in Playnite
Which property should the DLsite genres be assigned to in Playnite Genres You can decide whether the "Genres" from DLsite should go into the "Features", "Genres" or "Tags" field in Playnite
Max Search Results 30 Maximum amount of search results that should appear, must be 30, 50 or 100

Config location: 7fa7b951-3d32-4844-a274-468e1adf8cca/config.json

F95zone

Website: F95zone

Supported Fields:

Usage:

This Metadata Provider expects either a link to the game on F95zone (eg: https://f95zone.to/threads/corruption-of-champions-fenoxo.1719/) or the id (eg: F95-1719) in the Name field. If the Plugin finds neither a link nor an id it will go into search mode and you can search the game on F95zone. If the request for metadata is in happening in the background, the Plugin will choose the first search result by default.

The search function is only available if you logged into your account in the settings menu.

Settings:

The following settings can be adjusted in Add-ons... -> Extensions settings -> Metadata Sources -> F95zone:

Name Default Value Description
Login - Use this Login Button to log into F95zone with your account. If this does not work you can copy the required cookies from your browser into the text fields below.
Cookie xf_csrf - Cookie used for authentication.
Cookie xf_user - Cookie used for authentication.
Cookie xf_tfa_trust - Cookie used for authentication if the user has Two-Factor authentication enabled. If you do not have TFA enabled you don't need to set this value.
Which property should the F95zone labels be assigned to in Playnite Features You can decide whether the "Categories" from F95zone should go into the "Features", "Genres" or "Tags" field in Playnite
Which property should the F95zone tags be assigned to in Playnite Tags You can decide whether the "Genres" from F95zone should go into the "Features", "Genres" or "Tags" field in Playnite
Check for Updates on Startup false This Plugin will check for updates on startup if you want. You can also specify the minimum wait time between updates per game.
Update Interval in Days 7 This is the minimum wait time between update checking per game. This value must be a positive number.
Look for Updates of finished Games false By default, the Plugin will not look for update of games that are finished (have either the "Completed" or "Abandoned" F95zone label). You can change this behaviour with this option however I advise against doing so because these games will not receive any updates. This is disabled by default to reduce server load.
Use the default F95zone Icon for Games false The Metadata Provider will use the default F95zone for Games.

Config location: 3af84c02-7825-4cd6-b0bd-d0800d26ffc5/config.json

Fanza

Website: Fanza

Supported Fields:

Usage:

This Metadata Provider expects a link to the game on Fanza (eg: https://www.dmm.co.jp/dc/doujin/-/detail/=/cid=d_216826/) as the name of the game. If you do not provide a link the Plugin will search for the game on the site and let you choose from the results.

Settings:

The following settings can be adjusted in Add-ons... -> Extensions settings -> Metadata Sources -> Fanza:

Name Default Value Description
Which property should the Fanza genres be assigned to in Playnite Features You can decide whether the "ジャンル" from Fanza should go into the "Features", "Genres" or "Tags" field in Playnite
Which property should the Fanza game theme be assigned to in Playnite Tags You can decide whether the "ゲームジャンル" from Fanza should go into the "Features", "Genres" or "Tags" field in Playnite

Config location: efc848be-82e1-4e3d-a151-59e5fab3e39a/config.json

Generic Plugins

GameManagement

This plugin keeps track of the installation size of your games and adds a new Uninstall action to a game.

Storage Statistics

You access a view with storage statistics using the red icon on the sidebar. The installation size is calculated by going through all files in the Installation Directory and adding up the file lengths. This gets cached to a37e0963-91ac-4432-be2a-69e366c44726/storage.json in the ExtensionsData folder.

Game Uninstallation

This only works for games with a valid Installation Directory. Playnite already has an uninstallation feature but this only works with games that provide their own uninstaller (like when installed from a CD). The games I manage with Playnite don't have an uninstaller, they don't even have an installer, and can simply be uninstalled by deleting the folder which is what this feature does.

Simply right-click any game in Playnite and click Uninstall. This will delete the entire Installation Directory. The files will be deleted completely. They do not go into the Recycle Bin.

I've also added a new "Uninstall and Remove" action in 2.5.0 which will uninstall the game completely and remove it from Playnite.

Troubleshooting

Always check the log file playnite.log in %appdata%/Playnite or in the Playnite installation directory first. You can also try deleting your config file for a specific extension if you think that is the problem, the paths to the config files are in the description of the each extension.