[RELEASE] NSScreenshotMaker

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

  1. jjbredesen

    jjbredesen Developer

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

    Our Patreon
    234
    279
    Feb 16, 2018
    Norway
    Hyrule
    Makes sense, the Switch only takes 720p screenshots, so I don't see why larger images would be allowed within the parameters given
     
  2. Mnecraft368

    Mnecraft368 GBAtemp Maniac

    Member
    1,345
    378
    Aug 8, 2015
    I usually watch anime in like 480p/720p quality anyways.
     
  3. SuinkaiVS

    SuinkaiVS GBAtemp Regular

    Member
    111
    33
    Apr 3, 2017
    Inside Hombrew
    so no images larger than 64kb?
     
  4. Mnecraft368

    Mnecraft368 GBAtemp Maniac

    Member
    1,345
    378
    Aug 8, 2015
    Actually, it appears to only care about thumbnails larger than 64kb

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

    Even using the lowest quality setting, still gives the error
     
  5. cheuble
    OP

    cheuble Marieism™

    Member
    738
    1,399
    Feb 6, 2016
    France
    Calamari Region
    I see what might cause the issue, let me see if I can fix it.
     
    Mnecraft368 likes this.
  6. Mnecraft368

    Mnecraft368 GBAtemp Maniac

    Member
    1,345
    378
    Aug 8, 2015
    Would also like to point out that a 600x400 image managed to load without error. Just in case anybody wanted to know
     
  7. YTElias

    YTElias Ashley

    Member
    968
    296
    Aug 23, 2017
    Germany
    Germany
    I watch 480p Anime on Crunchyroll^_^
     
    Mnecraft368 likes this.
  8. ScarletDreamz

    ScarletDreamz [Debug Mode]

    Member
    3,072
    1,449
    Feb 16, 2015
    United States
    California
    Or the Tiff Exploit:

    On September 23, 2005, an exploit, a buffer overrun in the image rendering libraries, was discovered, allowing execution of an unsigned binary file. The method involved the user setting a PNG image as their background and a TIFF file in their photo directory. When the Photo menu was accessed, the binary file was loaded.

    Two days later, the first "Hello World" program was released. The size of the binary was limited to 64kb, and the PSP could not yet read unencrypted ELF files, so further experimentation was required before any kind of homebrew software could be run. A day later, the first playable game using the exploit was released, titled "TIFF Pong 2.00".

    A PSP developer by the name of Fanjita created a program called eLoader using the same exploit as the MPH Downgrader, allowed the user to run unsigned user mode homebrew launched from a menu. This was an alternative to downgrading the PSP to 1.5 using the MPH Downgrader.
     
  9. CTCaer

    CTCaer GBAtemp Regular

    Member
    282
    227
    Mar 22, 2008
    Greece
    The Switch videos have a jpg strapped at the end of the mp4 container.
    This is the thumbnail you see in album and also acts as a verifier.

    Changing the script to add padding and an image with the HMAC will probably work.
    Dunno if it checks the actual video or the thumbnail to create the HMAC though.

    I will probably play a bit when I have some time.. It will be great as a handheld and tv player.
     
    Naked_Snake likes this.
  10. cheuble
    OP

    cheuble Marieism™

    Member
    738
    1,399
    Feb 6, 2016
    France
    Calamari Region
    Alright, try the latest release, it might have fixed it.

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

    From Switchbrew:
    So yeah, it probably won't be as easy as it currently is for the JPEGs
     
    CTCaer and Mnecraft368 like this.
  11. Mnecraft368

    Mnecraft368 GBAtemp Maniac

    Member
    1,345
    378
    Aug 8, 2015
    Seems to have generated fine!
    Will see if it works on the switch and report back.

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

    Works great :)
    Is in great quality too!

    If you could get this to work for videos that would be amazing :D

    also, going to ignore the SAO haters
     

    Attached Files:

    Masterwin and cheuble like this.
  12. CTCaer

    CTCaer GBAtemp Regular

    Member
    282
    227
    Mar 22, 2008
    Greece
    Hmm I see..
     
  13. nmkd

    nmkd GBAtemp Regular

    Member
    259
    182
    Oct 25, 2016
    Germany
    Hmm, can't get it to work with 720p images as PNG created in paint.net.
    Thumbnail shows, but it won't show in fullscreen.

    Any ideas?
     
  14. Mnecraft368

    Mnecraft368 GBAtemp Maniac

    Member
    1,345
    378
    Aug 8, 2015
    Not sure what happened there. Are you sure you made the image 1280x720?
    I made some test images in Gimp, its free if you want to try it out. They work fine.
     
  15. salamandrusker

    salamandrusker Advanced Member

    Newcomer
    55
    16
    Mar 12, 2018
    Spain
    is it normal for the generated file name to be so long? you have to copy tb the folders that are created 2018-04-11? or only the images that are generated within nintendo / album ??
     
  16. Mnecraft368

    Mnecraft368 GBAtemp Maniac

    Member
    1,345
    378
    Aug 8, 2015
    Yes they are supposed to be long.
    Copy the Nintendo folder to the root of your SD card, no need to mess around with files.
     
    salamandrusker likes this.
  17. salamandrusker

    salamandrusker Advanced Member

    Newcomer
    55
    16
    Mar 12, 2018
    Spain

    resolution 600x400??
     
  18. Mnecraft368

    Mnecraft368 GBAtemp Maniac

    Member
    1,345
    378
    Aug 8, 2015
    No, that was a 720p image (1280x720)
     
  19. cheuble
    OP

    cheuble Marieism™

    Member
    738
    1,399
    Feb 6, 2016
    France
    Calamari Region
    Try saving them as JPG first maybe?
     
  20. Mnecraft368

    Mnecraft368 GBAtemp Maniac

    Member
    1,345
    378
    Aug 8, 2015
    I used PNG files and they worked fine though.
     
Loading...