Jump to content
LaunchBox Community Forums

How Long To Beat - Game Length Plugin 1.0.1

   (3 reviews)

5 Screenshots

About This File

About

Plugin that scrapes information from HowLongToBeat.com and adds custom fields with game lengths information.

I made this plugin to add length information for certain games, mostly rpgs. This adds 3 custom fields for Main Story, Main + Extra and Completionist length. You can configure which ones you want to add by editing the file HLTBPlugin.xml.

Because there's no oficial API from HLTB, I had to parse the HTML, which means that as soon as they change something on the HTML this plugin probably will stop working...

Install

Extract files (dll + xml) to : Launchbox/Plugins/HLTBPlugin.

Config (HLTBPlugin.xml)

  • MainStoryLength: Enable/disable main story length update. Default: true.
  • MainExtraLength: Enable/disable main story + extra length update. Default: true.
  • CompletionistLength: Enable/disable completionist length update. Default: true.
  • MainStoryFieldName: Change main story length custom field name. Default: Main Story Length
  • MainExtraFieldName: Change main story + extra length custom field name. Default: Main + Extra Length
  • CompletionistFieldName: Change completionist length custom field name. Default: Completionist Length

Note: If you change the fields names it will not update the games that already have information, so you will end up with duplicated fields with different names and you will have to manually delete them (edit game -> custom fields tab). So config the first time and stick with that.

Usage

Access the option by right-click a game (only one game, no massive update yet). A window will popup with all the games found and you can choose which one correspond to your game. If there's no results you can manually change the search words (e.g. Metal Gear Ac!d will get no results but you can then change the search to Metal Gear Acid).

You can use the "Arrange By" option to order the games by length. Lengths are shown with leading zeroes because is the only way to properly order the games since custom fields are strings and not integers.

Tested on version 8.9. I think you need a premium license because custom fields are not supported in free license (not sure).

1.thumb.jpg.af7728582cdeb302ebbf4caad33defea.jpg2.thumb.jpg.eb1de3e8a8247fc22eefaa30f6f487de.jpg3.jpg.e0b5d1c12c72bcb131952b6d41877453.jpg4.thumb.jpg.ad5d22bab6344ddc943ce6e3b34eac89.jpg

I have no relation with HowLongToBeat.com, if you like their work please go and support them.


What's New in Version 1.0.1   See changelog

Released

Update HTML scrapper because of a change on HLTB page

  • Like 4
  • Thanks 1
  • Unusual Gem 2



User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest

deadyourinstinct

   1 of 1 member found this review helpful 1 / 1 member

This is a great feature. I think a lot of us have tons of games and we end up sampling them then putting them down if they are more than the few hours we are looking for, this straight up tells you. Also I'm not a huge RPG guy but I am intrigued by a lot of them, but when you come across a DQ7, it might be good to know what your getting yourself into and start with something a bit shorter before hitting those giant RPGs. Very good idea and well executed.

Now if we can just figure out how to get a time-spent-playing plug in, we will have the other end of this kind of idea.

  • Thanks 1

Share this review


Link to review
Maul83

   1 of 1 member found this review helpful 1 / 1 member

Very cool plugin I didn't know I needed. Shame about no API but that isn't on you. Seems to work really well so far. 

Share this review


Link to review
fromlostdays

  

Works fine, and is a really awesome feature! Mass update would be awesome!

Share this review


Link to review
×
×
  • Create New...