[RELEASE] NSScreenshotMaker

Discussion in 'Switch - Hacking & Homebrew' started by cheuble, Apr 11, 2018.

  1. cheuble
    OP

    cheuble Marieism™

    Member
    737
    1,399
    Feb 6, 2016
    France
    Calamari Region
    Can you provide me the file in a PM please? I'll look into it.
     
  2. _______

    _______  

    Member
    310
    144
    May 13, 2016
    Japan
    Sure, check your inbox.

    Also, Switch creates screenshot with local time instead of UTC, so datetime.utcnow() should be datetime.now() I guess?
     
  3. cheuble
    OP

    cheuble Marieism™

    Member
    737
    1,399
    Feb 6, 2016
    France
    Calamari Region
    It shouldn't really matter. The Switch only checks if the timestamp in the exif matches the one in the file name.
     
  4. _______

    _______  

    Member
    310
    144
    May 13, 2016
    Japan
    Yes, but that will mass up the order if you live somewhere far from UTC time zone.
     
  5. cheuble
    OP

    cheuble Marieism™

    Member
    737
    1,399
    Feb 6, 2016
    France
    Calamari Region
    Ah, I didn't think about that. I suppose I can change it if you want.
     
  6. Naked_Snake

    Naked_Snake Constant Miscreant

    Member
    1,161
    302
    Oct 6, 2013
    Hyrule Field
    Done all that settings stuff and I still get “this data could not be displayed”

    — Posts automatically merged - Please don't double post! —

    Here is that picture you converted for me on my 5.0.1
    *my iphone didnt upload the picture for whatever reason
     
    Last edited by Naked_Snake, Apr 13, 2018
  7. zaki-PH27

    zaki-PH27 Newbie

    Newcomer
    4
    1
    Mar 15, 2018
    Netherlands
    can someone help me? it's says I'm using an invalid key even though I'm sure i am using the right one.
     
  8. Naked_Snake

    Naked_Snake Constant Miscreant

    Member
    1,161
    302
    Oct 6, 2013
    Hyrule Field
    same problem here
     
  9. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,978
    3,022
    Dec 19, 2014
    Antarctica
    Use HxD to create the bin file.

    — Posts automatically merged - Please don't double post! —

    Thanks cheuble, now I can make potato quality pictures of Fortnite "running" on Switch and get internet famous! B-)
     
    Naked_Snake, einfachGaer and cheuble like this.
  10. _______

    _______  

    Member
    310
    144
    May 13, 2016
    Japan
    I was discussing with OP, but here are some info someone might be interested in.

    Here's the EXIF from an unmodified 5.0.1 home screen screenshot with PIL:

    Code:
    {271: 'Nintendo co., ltd', 274: 1, 531: 1, 282: (72, 1), 283: (72, 1), 296: 2, 34665: 164, 306: '2018:04:14 01:06:00', 36864: b'0230', 37121: b'\x01\x02\x03\x00', 40960: b'0100', 40961: 1, 40962: 1280, 40963: 720, 37500: b'\x02\x00\x00\x00\x00\x00\x10\x00\x9a\x1c}\x14\xfa\x85\x86\xdb\x10\xa1\xcd\xf7\xefJ\x85\xce>\xc0\xa2\xad\xdb4\xb1\x83|\x11\xc7\xa0\xbb\xe9\xfbK\xd5\x02\xae\x99\x86_f\xe7]\xed/\\\'s\xec(0\xff\x05\xa99\x9ca\x14\xc1*\xe8\xbc\xa4\xae\x12%#B\x99\'1\xa0\x99\xfbo&1\x02\x8d\x92\xf4rq\x94\x8a1\x02\xbb\x1c\x1b\xf1\x1f\xe1\xb5\xe5\x87c\x08\'\x8eedz\x00\xc7$\x15a}\x08x\x844\xb3`9+\xa4\xebm\xe5\x05\xc2T&\xbe%p\xabDAkv\xd1\xd0s\xbc&VsC`\'D\xe5\xe0\xdc\x0b7P\xa1\xa7\x89\xa7\xea\xe8\xee\xd8\x1c\x82\xd0\xc45\x8b\\\xfc\x99\xee\xd23\xc1n8\xaf\x96\xcd\xd2v=6\xd2\xde\x084\x1aZBO\x19F*\x10\xa1?tj@a\xa8\x83[\xcd\xbbVp\xa1\x83\x1b\xee\xc3\x8c\xdf\xdc\xeb\xc1\xda\xac\x80\xc2\x1f\x8c\xcaG\x9f!\xae\x91\x8f\xd9L2\xe8\xc1\xf7u\x84n(v\xdbX\x038\\\xda\x1f\xac\xdd\xbaH\xe5\xb9\xf4(\xf4\x1b\xaf\xfd\xf4\x91\x05\x0f-f\xdb\x96\x1b<\xa61Q\xa2|`\x18\x91O\x12\xfdS\xca\xee\xe1\xd7yDX}\x88Z\xfa\xdbe\xd7`\x04RE\x02\xcb\nj\x81\x08\x1bb\xe4\'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\x93S.GH\xd8\x01#LgFb\xc0\x11\xe3e=\xb8\x86\xe4S\xc7\x85\xc2\x12raw G\xac\x01\xabBL*\xedB\xd5Tv\xff{\xc8|\x88\x16\xf4\x8c\xc3^\x94\x17ij\xf9\x0b\r\x04\xd2<S\xad\x84\xb2:\xab\x81\xcc\x82\x11\x07\xae]\x9d\x05\x08\x90\x8c\x8d\t\xfb\xd9t\xe1\x9e\x135 O~\x83\xe8\xfe\xe4\xcd\xd6\'\xd4\xd6\xb1\xb7Ul\xb3\x86@h\x8er\xafn\x18\xe0\xf7I=#\x93\xf0\x9d\x81\x1c\x15\xe8>U\x1f\xf1Z\xa6r@\x18\xaf\x8f\xf3\xc0Pb\xec\xe1M\xf5\x99i\xe5f\xf69\xe4<\x94\xcb\xcf\xce\x80\x9a`\x9b\xadD\x82\\m)Ox\x07\xa1\n\x95T \xe8\xce^\xc1U\xa1I\xfd\x8e\xa5\xe3\x16\xf8\xc2 Y\xe7\x194\xb5\xa6\x02u\xc7\xfd"\x95c\xb1\xec/\x96\xc0N\xf8&\xa9\xdfcA}\xc9ka\xb0\x95W\xb2e\xda\x07\x84\xecT{b0\x1b\xa4\x06\xb9\x99c\xd3\xa3\xb4\xd7"\xe0\x98\x12\xcfLD\xd8\xb6\x0b\x8e\x8e\xdc\xa8\xdb\xae]*\x92\x1f\t\xa9\xa5Z\x8a|\xca\x15_=\x7f\xf7\x83\xaa\xc6\r\xa2\x16P/\xe8nj\'\xe8\xa8\xdaZ\xe4\x9b\xe8\x81\xb7\xe7\xfaeW\xd3\x1c\xd4\xb3F\xaa2\xb0)\x046(\x1e\xb5\x02@\xcccS\xe8\xe2j\x88\xb6\x0b\x0e\x0e\x11\x01/{\x03\x03\x0bf6$\xab\xd5\xc0J\xca\xe8\x1f\xcfK\xa0\x8a\x8a\xbc\x86\xd0\xf8T\xfc\xc4\xd2\x86d5\xe0\x91\xc4L\x04w\xaf\x99\x0e;\x12\x00'}
    And this is from the same image after processed with OP's script:

    Code:
    {271: 'Nintendo co., ltd', 274: 1, 531: 1, 282: (72, 1), 283: (72, 1), 296: 2, 34665: 164, 306: '2018:04:13 18:07:39', 36864: b'0230', 37121: b'\x01\x02\x03\x00', 40960: b'0100', 40961: 1, 40962: 1280, 40963: 720, 37500: b'\x00\x00\x00\x00\x00\x00\x10\x00\xb2\xa0\xa2\x17MM\x96\xb4\xac\x05\xf6\xc8\xfb\x11{\x06\x01\x00\x10\x00W\xb4b\x8d"g#\x1dW\xe0\xfc\x10x\xc0Ym'}
    Its clearly that MakerNote(37500) has some sort of structural/algo/key/whatever changes in 5.0.1.

    FYI, as I'm not sure system did at some point rejects the old screenshots or what, I can make it work on my 3.0.0 but not 5.0.1.
     
  11. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,978
    3,022
    Dec 19, 2014
    Antarctica
    Works here on 4.1.0.
     
  12. zaki-PH27

    zaki-PH27 Newbie

    Newcomer
    4
    1
    Mar 15, 2018
    Netherlands
    tried to convert 11 images only 5 showed up in the gallery.
    the same pictures show up both with the python and .exe method.
    no discrimination between size, resolution and file type.
     
  13. wicksand420

    wicksand420 GBAtemp Advanced Maniac

    Member
    1,900
    700
    Nov 13, 2016
    United States
    I'm on 5.0.1 and it works fine for me
     
  14. Mnecraft368

    Mnecraft368 GBAtemp Maniac

    Member
    1,298
    365
    Aug 8, 2015
    Im on 5.1.0 and all images I have converted load perfectly, without error.
    Running Windows 10, using exe version. Saw something on timezone in an earlier post, if it helps my timezone is GMT.
     
  15. _______

    _______  

    Member
    310
    144
    May 13, 2016
    Japan
    Interesting, was your SD card in exFAT or FAT32?

    Second thought, the first MakerNote seems to be like the one as described in the wiki (video), no idea why.
     
    Last edited by _______, Apr 13, 2018
  16. naamloosNL

    naamloosNL Newbie

    Newcomer
    4
    1
    Nov 25, 2016
    Netherlands
    hmmm, what about video files? Would it be possible to sign those too? Perhaps we could have a way to natively play back video files on the switch :^)
     
  17. _______

    _______  

    Member
    310
    144
    May 13, 2016
    Japan
    Nope, as the wiki does not tell us how the validation works.
     
  18. naamloosNL

    naamloosNL Newbie

    Newcomer
    4
    1
    Nov 25, 2016
    Netherlands
    ouch
     
  19. wicksand420

    wicksand420 GBAtemp Advanced Maniac

    Member
    1,900
    700
    Nov 13, 2016
    United States
    Fat32 sd, How did you make your bin key?
     
  20. _______

    _______  

    Member
    310
    144
    May 13, 2016
    Japan
    That's from the original screenshot's EXIF, not spoofed ones.

    Also that one was from exFAT card. My 3.0.0 was using FAT32. Tho it would be quite strange if this will cause the issue...(or maybe my Switch was acting up)
     
Loading...