RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Clearing lastplayed and playcount on Windows ES

    Scheduled Pinned Locked Moved Ideas and Development
    clearinglastplayedcountwindowsgamelist.xml
    1 Posts 1 Posters 793 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      baltagf
      last edited by

      I have been searching for a way to clear the lastplayed and playcount data on ES for Windows with no luck whatsoever. I have only found @tanstaafl script for retropie but I have no idea how to properly run it on windows. Does anyone have a script or would be kindly enough to translate @tanstaafl´s one for windows? Thanks in advance! Also, this is my first post so I am very sorry if i broke any rules.

      This is @tanstaafl´s script:

      #!/bin/sh
      #clear_played.sh

      for f in /home/pi/RetroPie/roms/**/gamelist.xml
      do
      echo "file: $f"
      grep -e lastplayed -e playcount -v $f > "$f.tmp"
      mv -f "$f.tmp" $f
      done

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.