Author Topic: Last Played Filter  (Read 2734 times)

blinkybill

  • Newbie
  • *
  • Posts: 8
    • View Profile
Last Played Filter
« on: May 28, 2019, 01:56:53 AM »
im not sure why this is not a feature as it's very easy to implement.
anyway, it is about the only big feature that is missing for me and is very useful imo.
so i wrote a small ahk script (my first time doing ahk) for rocketlauncher that does that.
the script insert a timestamp in your romlist file on the rom line under: "extra" (is this used for anything?).
then you just create a normal filter like any other:
   filter               "Last Played"
      sort_by              Extra
      reverse_order        true
      list_limit           10
      rule                 Extra contains 0|1|2|3|4|5|6|7|8|9


if anyone is interested you can download from here: https://drive.google.com/file/d/1f8BXhBYrbOut2g0d5qpSeKMwxoKGZlM7/view?usp=sharing
you need to put it in your RocketLauncher\Lib\User Functions folder and have attract mode set in rockelauncher's general settings as default rom path.
AND PLEASE BACKUP YOUR ROMLIST FOLDER BEFORE USING IT

AM will not show you the game on the filter right after you exit from it, you will need to go back to the display menu or to another display and then back in to your display and the last game will show up.

please tell me if you have any issue/suggestions.
cheers.

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 861
    • View Profile
    • new projects
Re: Last Played Filter
« Reply #1 on: May 28, 2019, 12:35:21 PM »
Agree, "last played" filter would be great!
I've realized I play only a bunch of games over and over again.

Thanks for sharing - unfortunately I'm on a mac, so no RocketLauncher for me :(

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Last Played Filter
« Reply #2 on: May 28, 2019, 02:51:52 PM »
Agree, "last played" filter would be great!
I've realized I play only a bunch of games over and over again.

Thanks for sharing - unfortunately I'm on a mac, so no RocketLauncher for me :(

I know it's not the same as "Last Played" but "Most Played" might help you do a similar thing to find the games that you play over and over on your Mac.
Code: [Select]
filter               "Most Played"
sort_by              PlayedCount
reverse_order        true
rule                 PlayedCount not_equals 0
« Last Edit: January 26, 2020, 10:53:33 PM by progets »

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 861
    • View Profile
    • new projects
Re: Last Played Filter
« Reply #3 on: May 29, 2019, 03:22:08 AM »
Thanks. It will do the trick.