Homebrew RELEASE NX Activity Log - View (slightly) more detailed play statistics!

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
@1basti1 Unfortunately nothing has really changed - there are a few new account events showing up early in the log but not for Burnout. I can't see what would be going wrong. I'm a bit busy with exams and stuff at the moment, I'll have another look later when I've got more time! :)
 
  • Like
Reactions: 1basti1

1basti1

Well-Known Member
Member
Joined
Jun 30, 2019
Messages
215
Trophies
0
Age
33
XP
953
Country
Germany
@1basti1 Unfortunately nothing has really changed - there are a few new account events showing up early in the log but not for Burnout. I can't see what would be going wrong. I'm a bit busy with exams and stuff at the moment, I'll have another look later when I've got more time! :)
No Stress. :D
Thanks for looking into it.
And if it isn't fixable, no problem. ;)
 

VectorSux

Member
Newcomer
Joined
May 13, 2020
Messages
8
Trophies
0
Age
26
XP
77
Country
Mexico
Would it be possible to add a startup sound like on the normal startup page?

Also the default language detection doesn't seem to be working for me
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
Would it be possible to add a startup sound like on the normal startup page?

Also the default language detection doesn't seem to be working for me
I'd like to add sounds eventually, unfortunately I likely can't use the same one Nintendo does for legal reasons unless someone finds a way to read the sound from the firmware.

And what do you mean by it's not working? As in it's not picking the correct language?
 
  • Like
Reactions: Csmrcc

VectorSux

Member
Newcomer
Joined
May 13, 2020
Messages
8
Trophies
0
Age
26
XP
77
Country
Mexico
I'd like to add sounds eventually, unfortunately I likely can't use the same one Nintendo does for legal reasons unless someone finds a way to read the sound from the firmware.

And what do you mean by it's not working? As in it's not picking the correct language?
Yeah, my switch is set in Spanish but when I select system language it's set in English, I know that's not really a problem but I supposed I should let you know.
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
Yeah, my switch is set in Spanish but when I select system language it's set in English, I know that's not really a problem but I supposed I should let you know.
I know it's not a big thing but thanks for letting me know, I like to have everything working properly no matter how small it is! :) Unfortunately I can't see why it's not working, according to the libnx docs I believe I've got it programmed correctly...
 

phalk

Handheld Maniac
Member
Joined
Apr 23, 2009
Messages
588
Trophies
1
Age
36
XP
2,078
Country
Brazil
@tallbl0nde is it possible to make your app export all the user's data in a JSON file?

I'm working at a web-based Nintendo Switch "profile" based on Steam's Community user profiles. (Example: https://steamcommunity.com/id/phalkjr)
If there's an easy way to export the user play data it might be possible to import it to my project and display what the user has been playing recently online.
 
Last edited by phalk,

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
@tallbl0nde is it possible to make your app export all the user's data in a JSON file?

I'm working at a web-based Nintendo Switch "profile" based on Steam's Community user profiles. (Example: https://steamcommunity.com/id/phalkjr)
If there's an easy way to export the user play data it might be possible to import it to my project and display what the user has been playing recently online.
That's on the to-do list, I'd love to see a steam version of the Switch stats :)

If you're interested on what's happening, see this issue: https://github.com/tallbl0nde/NX-Activity-Log/issues/21
 

RadMcFist

Well-Known Member
Member
Joined
Sep 16, 2019
Messages
114
Trophies
0
Age
39
XP
698
Country
United States
First of all, superb work on this. I've been using it since before there was even a UI to speak of and it's a wonderful app. I had wanted a decent activity log on Switch since before I even got one and even asked about developing a homebrew one on reddit, etc, so thanks a lot for doing it!

Secondly, is there any way that this could show how playtime is divided between handheld and TV mode for each game or even in general? I'd be really interested in that and I know I'm not alone in that. The info should be stored somewhere since Nintendo themselves knows it and includes some of it in those emails they sometimes send out.
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
First of all, superb work on this. I've been using it since before there was even a UI to speak of and it's a wonderful app. I had wanted a decent activity log on Switch since before I even got one and even asked about developing a homebrew one on reddit, etc, so thanks a lot for doing it!

Secondly, is there any way that this could show how playtime is divided between handheld and TV mode for each game or even in general? I'd be really interested in that and I know I'm not alone in that. The info should be stored somewhere since Nintendo themselves knows it and includes some of it in those emails they sometimes send out.
Glad to hear! I believe it may have been your Reddit post which inspired me to work on this ;)

Back when I was looking into how the play log stores it's data I found some "dock/undock" events, however I couldn't see any meaningful pattern in my log (for example if I docked and undocked while playing a game no docking events were logged, but there were some earlier on) so I simply ignored them. I can try looking into it again at some point, I just don't know when because I have so many things I want to do and so little time :P
 
  • Like
Reactions: sorabora

Turbinetester

Well-Known Member
Newcomer
Joined
Aug 31, 2016
Messages
47
Trophies
0
XP
209
Country
United States
@tallbl0nde First, i'm really impressed with the work you have put in on this. I'm curious how much work it would be for you to add some functionality to this that i think is really lacking from the OFW. As a dad i was super disappointed that i had to downlaod and configure an APP to execute detailed parental controls on the Switch, and that i couldn'tjust set a playtime limit or bedtime or really any other meaningful setting on the device itself. With all this logged information you are gathering, it could be used to enable an actually functional Parental Control capability on the device itself, rather than having to use Nintendo to do it. Here's my current dilema: I would like to be able to have two (3, 4, or 5+) switches with CFW for my kids (because i only want to buy 1 legit copy of the game for my family instead of 4 copies of Minecraft for local LAN play) that have both Playtime Limtis and Bedtime which force the switch to suspend the ability to play the software. I can do this in OFW but ONLY through the Nintendo parental controls app and only in OFW. If i set it up in OFW and copy it over to emuNAND (using SX CORE/SX OS) whatever settings i enabled in OFW are transferred to emuNAND. This means that if i have it set up and working perfectly in OFW, whatever is there in OFW will exactly and only transfer over to CFW, that's the good news. If there is anything incorrect about the setup or anything needs to change based on a childs age or you want to enable them to play Minecraft over LAN/ADHOC, but you didn't set it up in OFW before you created and copied it to emuNAND, you basically have to delete the emuNAND, got back to genuine boot the device into OFW, all just to change that one setting I either did wrong or now need to update. Then i have to take 60-90 minutes to create a new emuNAND and then reinstall all the software titles and copy back the game save data. As you can see this is incredibly frustrating and time consuming. On the other hand, if the data you compile in your HB app could be used to trigger a "SUSPEND" on the switch similar to what Nintendo does when a playtime or bedtime limit is reached, then it could all be controlled from within the HB/emuNAND/CFW environment, and I wouldn't need to undo and redo everything each time i needed to make a change. Further, Nintendo doesn't allow USER level parental controls on the device, only DEVICE level controls. Practically, this means that if i have one kid that picks up the device and plays for the 90 minutes i've allowed for total screen time for the day, they could rob the other child of any screen time. Since your app logs playtime per user, the capability could potentiall be used to set individual user controls. I've little to no software experience, but i do know it's not just a "couple lines of code and a few check boxes" simple, but how much work would it be to add this functionality/capability to what you already have? Would you have any interest in doing this?
 
Last edited by Turbinetester,

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
@Turbinetester I don't really have any interest in pursuing that, however, it should be entirely possible to create a custom sysmodule that provides exactly the functionality you're looking for (at least from what I know). I just have zero interest in that area, which is why I'm not interested in working on it. Perhaps someone else could, but I'll pass, sorry. Glad you like the activity log though! :)

Also on a side note for anyone who sees this (and is curious) - I haven't abandoned this project, I've just been working on another piece of homebrew I'm hoping to release in a month or two. There's a good chance I'll resume development on NX-Activity-Log once this other project has been released!
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,278
Trophies
3
XP
12,043
Country
Poland
It's hard to read this block of text on phone. :P

Iirc this is parental control service domain (pctl).
Issue is that this service isn't fully RE.

https://github.com/switchbrew/libnx/blob/master/nx/include/switch/services/pctl.h

So we lack commands for achieving what you want.
TotalJustice done some things with testing pctl in his Reset Parental Control NX, where you have more commands, but not what you are searching.

https://github.com/ITotalJustice/Reset-Parental-Controls-NX/blob/master/source/main.c

Other way would be to make sysmodule that checks with pmdmnt if game was launched, and if some time passed either force close game, force sleep Switch or jump back to qlaunch. It would require for sure temp save that will store info about times in case of restarting Switch.
 
Last edited by masagrator,
  • Like
Reactions: tallbl0nde

sorabora

Well-Known Member
Member
Joined
Dec 8, 2016
Messages
368
Trophies
0
XP
1,503
Country
United States
Also on a side note for anyone who sees this (and is curious) - I haven't abandoned this project, I've just been working on another piece of homebrew I'm hoping to release in a month or two. There's a good chance I'll resume development on NX-Activity-Log once this other project has been released!

Can you give us a hint about what it is?? :D
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: https://www.keepretro.com/products/miyoo-a30