PNGShot Switch: Difference between revisions
From GameBrew
More actions
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
|description=Capture screenshots as PNGs. | |description=Capture screenshots as PNGs. | ||
|author=J-D-K | |author=J-D-K | ||
|lastupdated=2025/ | |lastupdated=2025/11/06 | ||
|type=Sysmodules | |type=Sysmodules | ||
|version=2. | |version=2.5.0 | ||
|license=Mixed | |license=Mixed | ||
|download=https://dlhb.gamebrew.org/switchhomebrews/PNGShotSwitch.7z | |download=https://dlhb.gamebrew.org/switchhomebrews/PNGShotSwitch.7z | ||
| Line 34: | Line 34: | ||
==Changelog== | ==Changelog== | ||
'''v2.5.0''' | |||
* All code has been heavily refactored to be cleaner, modular, and easier to maintain. | |||
* Captures are now organized in a cleaner folder structure for easier browsing: | |||
** <code>sdmc:/Nintendo/Album/PNGs/YYYY/MM/DD/YYYYMMDD_hhmmss.png</code> | |||
'''v2.0.0''' | '''v2.0.0''' | ||
* Capture event filter, bug fixes, and improved timestamps thanks to [https://github.com/ppkantorski @ppkantorski]. | * Capture event filter, bug fixes, and improved timestamps thanks to [https://github.com/ppkantorski @ppkantorski]. | ||
Revision as of 02:51, 7 November 2025
| PNGShot | |
|---|---|
| General | |
| Author | J-D-K |
| Type | Sysmodules |
| Version | 2.5.0 |
| License | Mixed |
| Last Updated | 2025/11/06 |
| Links | |
| Download | |
| Website | |
| Source | |
A sysmodule that can take screenshots and save them as PNG's instead of the system's default JPEG. The benefits are that:
- Files are smaller than a bitmap, ranging from a couple of hundred kilobytes to just under 2MB, depending on what’s captured.
- Unlike JPEG, PNGs are lossless.
Installation
For now you will need the exefs patches from bitmap-printer.
Download the sysmodule from here and extract to your SD card.
User guide
Screenshots are exported to "SDMC:/[album directory]/PNGs/[year][month][day][hour][minutes][seconds].png" when the capture button is pressed.
They are standard RGB, containing no alpha to minimize size. They are captured using the screenshot viLayer, so they do contain the same watermarks as normal screenshots. This can easily be changed by editing line 99 for the "experimental" build or 170 of capture.c in PNGShot's source.
Changelog
v2.5.0
- All code has been heavily refactored to be cleaner, modular, and easier to maintain.
- Captures are now organized in a cleaner folder structure for easier browsing:
sdmc:/Nintendo/Album/PNGs/YYYY/MM/DD/YYYYMMDD_hhmmss.png
v2.0.0
- Capture event filter, bug fixes, and improved timestamps thanks to @ppkantorski.
- Now includes VI patches to enable debug mode screen capturing thanks to @impeeza.
- Creating a file named
allow_jpegsand placing it insdmc:/conifg/PNGShotwill stop PNGShot from deleting JPEGs that are normally captured by the system.
v1.5.0
- PNGShot now uses
[album directory]/PNGsinstead ofswitch/PNGShotwhen creating screenshots.- PNGShot will try to open the album directory on your SD card first and fall back to NAND if that fails.
- This also means PNGShot no longer uses C stdio functions for file writing, instead using libnx's FS functions directly to get the job done.
- Included in this release is what I call the "experimental" build:
- This build buffers the entire raw capture after the capture button is pressed. This requires a lot more memory to be used. The experimental build uses 6MB vs the normal build's 24KB. YOU HAVE BEEN WARNED. This can cause conflicts and issues, but has the benefit of allowing normal JPEGs and video captures to function again because the capture stream is released almost immediately.
v1.0.2
- Time service is exited after libnx time is initialized and it's no longer needed anymore.
v1.0.1
- Uses new naming scheme for output.
- Updated code.
v1.0
- First Release.
Credits
Thanks to:
- HookedBehemoth for bitmap-printer and its patches.
- Impeeza for enhancing the makefile and readme to be more descriptive and easier to use. Thank you.