[Release] Cthulhu - app for managing play time, step history and cached icon data

Discussion in '3DS - Homebrew Development and Emulators' started by Ryuzaki_MrL, Aug 27, 2016.

  1. TheVidoja

    TheVidoja Member

    Newcomer
    13
    2
    Jun 20, 2017
    Spain
    And is there any inconvenience if I nuke the whole activity log other than losing my logs? And does it look suspicious to Ninty if I delete it whole? And finally (I promise xD xD xD), can I backup the log before deleting it?

    Sorry for asking so many questions, but I want to thoroughly know all the ins and outs before I do anything.

    I really want a fully clean activity log, just to be as safe as possible.
     


  2. Quantumcat

    Quantumcat Dead and alive

    Member
    9,837
    5,142
    Nov 23, 2014
    Australia
    Canberra, Australia
    You can back up the activity log and restore it later, yep. I don't think the local activity log has anything to do with the bans though, I think it's using homebrew apps while connected to the internet. But, I don't know for sure, and there's no harm nuking your whole activity log just to be on the safe side.
     
    SaffronXL and TheVidoja like this.
  3. TheVidoja

    TheVidoja Member

    Newcomer
    13
    2
    Jun 20, 2017
    Spain
    And how can I backup the activity log before I completely erase it? Just to be on the safe side.
     
  4. SaffronXL

    SaffronXL Emulationer

    Member
    193
    106
    Nov 17, 2016
    United States
    New Mexico
    Use JKSM (under "System Titles"). I personally backed up the activity log files individually, but do NOT recommend that method.
    Although there's no way to prove it makes any difference, I personally try to wipe my play history and catalog after playing non-USA-eShop titles before turning the WiFi back on.
     
    Quantumcat likes this.
  5. TheVidoja

    TheVidoja Member

    Newcomer
    13
    2
    Jun 20, 2017
    Spain
    So, if I was to clear my activity log, how would I proceed?

    Because the main post says something about needing a "PTM savefile", and I have no idea of what's that.

    And, does this method (clearing the whole activity log) leave it FULLY clean? Because the last thing I tried was also supposed to leave it fully clean but it didn't at all (I'm talking about deleting an entry from the software library).
     
  6. rocknard

    rocknard Member

    Newcomer
    12
    3
    Mar 10, 2017
    Here you can check that: https://gbatemp.net/threads/how-to-3ds-in-incognito-mode-with-godmode9.473630/
     
    TheVidoja likes this.
  7. SaffronXL

    SaffronXL Emulationer

    Member
    193
    106
    Nov 17, 2016
    United States
    New Mexico
  8. Pyr01

    Pyr01 Newbie

    Newcomer
    5
    0
    Mar 11, 2016
    New Zealand
    Any chance this app could back up the PTM save data? I recently got a new 3ds of a different region, and that's the only data I can't seem to recover from my old 3ds. OP even mentions that deleting Activity Log info will be permanent without a backup of the PTM, but how do we get that backup in the first place?
     
  9. rocknard

    rocknard Member

    Newcomer
    12
    3
    Mar 10, 2017
    Not really. I quoted this because a user want to know how to "backup" your PTM, but nothing more useful...

    Better Cthulhu to wipe your log and run (My PTM/log activity have custom homebrew, so it's useless backup it if you want to go online to prevent bans?).
     
    SaffronXL likes this.
  10. MZ-4

    MZ-4 Member

    Newcomer
    32
    8
    Nov 9, 2015
    Gambia, The
    @Ryuzaki_MrL: can you check the .cia link at github?
    It references to a .xml, I think.
     
  11. Kanakops

    Kanakops GBAtemp Regular

    Member
    224
    17
    Aug 14, 2016
    Canada
    anyone with chtulu get ban?
     
  12. Platinum Lucario

    Platinum Lucario GBAtemp Fan

    Member
    478
    203
    May 17, 2014
    Australia
    Warrnambool, Victoria, Australia
    There's one feature I would really like to request for the developers of Cthulhu. I'd really like to see a feature that can actually repair Activity Log data or any data that is otherwise malfunctioning.

    My Activity Log data is showing Download Play being used 24/7 (in the Daily Records section), even when I switch off my Nintendo 3DS system for a few days, after turning it back on, it still logs the previous days that it hasn't been used with the Download Play app. And then, whenever I use some other application/game, it never shows up in the Play Time section of Daily Records.

    I would be very honored to see a feature in which can fix any broken Activity Log data without deleting anything. It would really help me restore my Activity Log back to normal.

    There also needs to be an 'Edit play history' option in Cthulhu, 'cause all there is, is just 'Clear play history', 'Clear step history', 'Clear software library' and 'Edit software library'. The Edit software library option does not modify play history data, it only modifies the data shown in Software Library...

    Thank you so much!
     
    Last edited by Platinum Lucario, Aug 12, 2017
  13. pandavova

    pandavova @pandavova FOLLOW ME ON TWITTER

    Member
    510
    199
    Oct 27, 2015
    Germany
    You thought it was pandavova, but it was me, Dio!
    Hey... I have a feature reqeust/ question if this would be possible?
    I have now 2 3DSes cause i unbricked one. Could something like "add two Activity Log together" be added?

    Cause its very very long to edit it manualy, because you must press everytime and cant scroll...
     
    Last edited by pandavova, Aug 13, 2017
  14. Platinum Lucario

    Platinum Lucario GBAtemp Fan

    Member
    478
    203
    May 17, 2014
    Australia
    Warrnambool, Victoria, Australia
    I've been looking around for tools that can modify Play History data. But I can't find any anywhere on the internet. So this is why I'm very desperate for a way I can edit the Play History data. That's why I really want to see such feature in Cthulhu, it will also help everyone as well.

    Which I'd like to ask. How on Earth can I dump the PlayHistory.dat? I've managed to dump pld.dat, but I can't find PlayHistory.dat, and I really want to learn how to modify it with a hex editor, I really want to know what the values are.

    Thank you in advance.
     
  15. PewnyPL

    PewnyPL GBAtemp Advanced Fan

    Member
    585
    250
    Feb 2, 2014
    Poland
    https://www.3dbrew.org/wiki/PTM_Savegame
     
  16. Platinum Lucario

    Platinum Lucario GBAtemp Fan

    Member
    478
    203
    May 17, 2014
    Australia
    Warrnambool, Victoria, Australia
    If anyone needs more information about how Activity Log and PTM works, you can find it here: https://3dbrew.org/wiki/PTM_Services and here: https://3dbrew.org/wiki/System_SaveData and here: https://www.3dbrew.org/wiki/PTM_Savegame

    Activity Log utilises both 0x00010022 and 0x00020202 (JP)/0x00020212 (US)/0x00020222 (EU) save data. If you want to know what lurks in these files, here's what they are:

    0x00020202/0x00020212/0x00020222: pld.dat
    0x00010022: Pedometer.dat and PlayHistory.dat

    Both of these IDs tend to synchronise with each other, but however...

    The files in 0x00010022 (Pedometer.dat and PlayHistory.dat) both encrypt their contents! So if @Ryuzaki_MrL could implement some encryption and decryption mechanism into it, to decrypt the data in those files, please do! As well as exporting the files and importing the files. We really need to edit our Activity Log data, even if it means using a Hex Editor. But we can't while the main files are encrypted.

    While I am able to edit the pld.dat file within and be able to see which bytes I need to change.... I can't edit 0x00010022 (PTM Services), which contain PlayHistory.dat and Pedometer.dat. Why? Because those files in that save are encrypted and I don't know what the key is for decrypting the data within those files. I can't edit the files while they're encrypted, unless I knew what the AES key is for those files.

    Activity Log uses two saves at the same time. 0x00020202/0x00020212/0x00020222, which is used as a cache (not encrypted), and 0x00010022, which is the actual save data for all the Daily Records, PlayTime and other stuff (which are encrypted).
     
    Last edited by Platinum Lucario, Aug 16, 2017 at 8:03 PM