tallbl0nde / NX-Activity-Log

Homebrew application for the Nintendo Switch which displays play activity with more accuracy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NX Activity Log

NX Activity Log is a homebrew application for the Nintendo Switch which displays more precise information about your play activity.

Download

Curious about what's next? See my to-do list on Trello

Contents

  1. Features
  2. Screenshots
  3. Reporting Incorrect Data
  4. Known Issues
  5. Translations
  6. Credits
  7. Support

Features

This application currently has the following features:

  • Viewing Play Activity (per user)
    • All Time Activity
      • Total Playtime in minutes
      • Number of times a game has been launched
      • Date of first launch
      • Date/time of most recent launch
      • Average time spent in a game
      • Sorting games by time played, recently played, etc.
    • Recent Activity (see note below)
      • Graph visualizing play time
      • View by day, month or year
      • Total playtime in seconds
      • Number of launches
      • Viewing each 'Play Session'
    • Event-by-event breakdown of your activity
  • Multi-language Support
    • English, Chinese (Simplified and Traditional), French, German, Italian, Korean, Portugese, Russian, Spanish and Turkish
  • Theme Support
    • Automatic theme detection to match the Switch's colour scheme
    • Custom Themes
      • All colours used in the app can be adjusted
      • Set a custom background image
        • Requires a PNG saved at /config/NX-Activity-Log/background.png
  • Update in-app
    • Checks for updates automatically and displays an icon if one is available
    • Update completely within the app
  • User Page Replacement
    • Requires LayeredFS and either Atmosphere 0.10.0+, ReiNX or SXOS (or build and copy the forwarder to your CFW-specific titles folder)
    • Requires .nro to be at /switch/NX-Activity-Log/NX-Activity-Log.nro

Note: The data shown in Recent Activity and Details may be slightly inaccurate over larger periods of time (ie. off by a few minutes) but I will try to improve this over time. If activity is not being shown for earlier periods of time it is likely your switch has been reset at some point, which wipes the data used to calculate playtime in this way.

Screenshots

Recent View All Activity View Detailed View

Reporting Incorrect Data

If you are seeing wildly incorrect values/believe the playtime shown is incorrect within Recent Activity or the Details screen, please do the following:

  1. Download and run the .nro from here
  2. Leave it run; if it appears to be frozen leave it for up to a minute!
  3. Once it is done there should be a playlog.txt at the root of your SD card.
  4. Create an issue with the following:
    • Screenshots of the incorrect data (make sure the date/time and playtime are visible!)
    • The playlog.txt acquired from the last steps

Note: If the data shown under All Activity is incorrect there is nothing I can do! These values are read directly from the Switch and aren't the result of any calculations.

Known Issues

  • The main issue at the moment is that a few users' playtime is incorrect. This is due to the Switch being factory reset at some point and/or some games not requiring a user to be selected to play it. I am looking into how to fix the former!
  • Having a lot of games logged can cause too much memory usage when launched via User Page/Album, leading to out of memory crashes and/or missing images/text.
    • I think I know a way to fix this but if it impacts you you'll have to launch this app in title mode for now.
  • Having a lot of games logged causes a long pause/freeze when loading the 'All Activity' screen
    • Once I learn how to handle threads this won't be a problem :)

Translations

If you'd like to translate the app or fix an issue with a translation, please make a pull request to this repo! I'll add all the relevant code here (if need be) once I see the request :)

Credits

I'd like to thank:

  • AtlasNX for SimpleIniParser
    • Used to read/write the config file
  • nlohmann for his JSON library
  • Switchbrew for nx-hbloader
    • Adapted to override User Page with this app
  • Anyone else involved with the development of homebrew tools and reverse engineering of the Switch!

Support <3

There is absolutely no obligation, however if you have found this software useful you can support me on Ko-fi!

ko-fi

Knowing my software is being used is enough to motivate me to continue work on it!

About

Homebrew application for the Nintendo Switch which displays play activity with more accuracy

License:MIT License


Languages

Language:C++ 91.9%Language:Makefile 4.3%Language:C 3.6%Language:Assembly 0.2%