Gamepedia Viewer 2.0

Version 2.0 of the Gamepedia Viewer is here! I know that since 1.0 has come out Bruji software has released their own way to view your collection remotely, but this view still has a few features they are lacking:

  • The ability to view your collection when offline (after initially syncing it on-line of course).
  • The ability to view items in your collection not in the “doghouse” system.
  • Customizable themes (although there pretty minimalistic to start feel free to fork the repo and go nuts).

The biggest one of those is of course that you can now view your collection offline once it’s been cached. This feature works on any modern browser that supports Web Workers and IndexedDB (pretty much everything on the mobile front, and most desktop browsers too). Once the initial sync is done you can come back any time and see the data just as it was. Works great as a web-application now, even has it’s own icon and everything, just hit the “Add to homescreen” item in the menu and it’ll show up and work like any normal application (well, almost, images do not show when offline because caching them would be difficult due to the size restraints, but you can’t have everything).

Since this is using your database and not the doghouse you can view items that are not in doghouse for whatever reason. If you have some unusual or just really ham-fisted a name into your collection (guilt) then it’s great, plus it’s quickly and easily searchable so cross-checking something you might already have is quick and easy.

The project is up on github (link below) so you can tweak it to your liking. Currently there are three default themes, which simply recolor the interface to your preference. If theres something your looking for then feel free to fork the project and start changing things or let me know, I’ll try to re-incorporate them if you want to share. You can also see it running with my collection here. The initial sync won’t be blazing fast, my collection is fairly large (940 titles at time of writing, with more waiting to be put into the system).

DIR updated

I just pushed an update to my Directory Image Resizer script, now it supports a fuzziness factor when resizing images. Before, if your image was even a tiny bit off the ratio that you wanted and you were using the crop or padding method it would either cut just a sliver off or add a sliver of padding. Small distortions however arn’t readily noticable, so if the distortion is within the fuzziness factor it will distort it to fit instead. Can be disabled easily in the resizer.php options.

I also made some changes to the div.js script, mainly renaming it to dir.js (as that seems much more logical) and adding a path to prevent it from creating a bunch of cookies when it really only needs one.

Update is on github, ready to go.

Inflation Class Updated.

This is a class I haven’t talked about here, and for good reason, it was way to simplistic. Initially all this class did was scrape use the bls.gov inflation calculator and return the results. This however is slow, sometimes very slow, and I grew tired of waiting for it. With this update it now does the calculations locally for speedy adjustments. It also can do to-the-month adjustments now, something the bls.gov calculator does not support (even though they have all the data needed).

I know it’s a oddly specific thing to need, but if you need it check out the github repoitory.

Matchbox Updated

Just pushed an update to matchbox. Version 1.1.0 introduces the navigationLoop option, allowing the navigation arrows to loop end-to-end through the image set. I laos fixed a couple bugs; one where the loadingHTML would only show on the first load, and another were opening the same image twice would prevent it from loading. The there were also minor changes in the code and readme to make things clearer.