Homebrew RELEASE sys-screenuploader: a handy screen capture extractor

bakatrouble

Active Member
OP
Newcomer
Joined
Jan 18, 2020
Messages
34
Trophies
0
Age
27
XP
133
Country
Russia
I've got fed up with ugly screen photos and using Twitter or SD card to move captures to my PC, so I've finally hacked my Switch and wrote this sysmodule.
Basically, it's monitoring Nintendo/Album directory on your SD card for new screenshots/captures and then sends them to a server via HTTP, which in its turn can upload them to various destinations.

icon.png


See https://screenuploader.bakatrouble.me/ for instructions
Available upload destinations:
  • Telegram
  • Discord

Releases: https://github.com/bakatrouble/sys-screenuploader/releases
Source: https://github.com/bakatrouble/sys-screenuploader

Discord server: https://discord.gg/k7YYK8b
Telegram group: https://t.me/sys_screenuploader

Icon by @lordelan
 
Last edited by bakatrouble,

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,274
Country
Chile
Neat app :D really fasten the uploading process, I believe I found a bug, if you take a clip the sysmodule no longer works until you reload atmosphere
 

bakatrouble

Active Member
OP
Newcomer
Joined
Jan 18, 2020
Messages
34
Trophies
0
Age
27
XP
133
Country
Russia
Holy shit that's nice! Can you please enable HTTPS on your site? Thanks
FYI: You can include the Kosmos Toolbox stuff in a "toolbox.json" in the same folder as the module (next to the exefs.nsp)
The problem is I wasn't able to make chunked uploading work with curl (as loading whole up to 30M files to memory of a sysmodule feels wrong) and I opted into using raw sockets to manually construct an HTTP reqeust. I will try again, but no guarantee there. HTTPS using curl takes more memory as well, even loading a simple HTML page while experimenting required me to increase initial allocated memory size.
Thanks for a hint about toolbox.json!
Does stock Atmosphere look for sysmodules in /atmosphere/contents or jsut /atmosphere/titles?

Neat app :D really fasten the uploading process, I believe I found a bug, if you take a clip the sysmodule no longer works until you reload atmosphere
I think it just takes more time, did you try to wait longer? The sysmodule is singlethreaded, so it won't continue operating until upload isn't finished.


Also at first I've been trying to capture some kind of system event for screenshots/captures, but wasn't able to find any such option, so I decided to monitor a directory for new files. If these events exist, any hint will be appreciated.
 
Last edited by bakatrouble,
  • Like
Reactions: cucholix

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,274
Country
Chile
I think it just takes more time, did you try to wait longer? The sysmodule is singlethreaded, so it won't continue operating until upload isn't finished.


Also at first I've been trying to capture some kind of system event for screenshots/captures, but wasn't able to find any such option, so I decided to monitor a directory for new files. If these events exist, any hint will be appreciated.
I’m super sure that the module just stop working if you take a clip, I’ve waited long enough, once I reload atmosphere it starts working again, normally screenshots appear on telegram within 1 minute.

Also, it does upload clips?
 
Last edited by cucholix,

bakatrouble

Active Member
OP
Newcomer
Joined
Jan 18, 2020
Messages
34
Trophies
0
Age
27
XP
133
Country
Russia
I’m super sure that the module just stop working if you take a clip, I’ve waited long enough, once I reload atmosphere it starts working again, normally screenshots appear on telegram within 1 minute.

Also, it does upload clips?
It does
Takes literally 3 seconds for screenshots for me
Maybe connection issues?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: I like it when usps is like delivery expexted Today jk we meant tomorrow