Read/Write "timestamps" from/to savefiles ?

Discussion in '3DS - Homebrew Development and Emulators' started by supercarotte, Oct 16, 2017.

  1. supercarotte
    OP

    supercarotte GBAtemp Advanced Fan

    Member
    6
    May 21, 2015
    France
    Hi,
    Does the 3DS have some kind of standard to store dates inside its savefiles ?
    Most games I've seen so far seem to at least store the last-saved date in their savedata, but I can't figure out how to read/edit it : it seems to be 4-to-6-bytes long but doesn't look like plaintext nor a hash.

    I'm not really sure where/how to look at it anymore, would anyone have an idea ?

    Edit : I forgot to say that sometimes the date stored is relative to the raw rtc clock, sometimes it's not. Rtc-relative seem to be shorter and both look completely different for identical dates, which means there is at least 2 types of structures.
     
    Last edited by supercarotte, Oct 17, 2017
  2. trainboy2019

    trainboy2019 Well-Known Member

    Member
    6
    GBAtemp Patron
    trainboy2019 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Oct 6, 2015
    United States
    GA
    I believe each way a game is saved is up to the devs of the game. So that info is probably in different locations in the save depending on the game.
     
Loading...