Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Sys-screenuploader Switch

From GameBrew
Revision as of 05:54, 24 April 2023 by HydeWing (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
sys-screenuploader
Sysscreenuploadernx.png
General
Authorbakatrouble
TypeSysmodules
Version0.0.10
LicenseLGPL-3.0
Last Updated2020/05/02
Links
Download
Website
Source

Homebrew Nintendo Switch NSP sysmodule for automatic upload of screen captures to remote server. It monitors /Nintendo/Album directory on your SD card for new files and uploads them to this website for further processing.

Currently available upload destinations:

  • Telegram
  • Discord

Instructions can be found here (website repo).

Server implementations for self-hosting are available here.

Installation

Download latest sys-screenuploader.zip and extract it to SD card root.

SX OS users: move 42000062616B6101 directory from /atmosphere/contents to /sxos/titles.

Signup on this website, create a destination and put its ID (visible on the destination list page) to /config/sys-screenuploader/config.ini under destinations section.

(You may replace default destination value or create a new one and set default_destination value under the server section to its name.)

Default configuration uploads captures to the #default-destination channel on the project's Discord server.

If you want to use different destinations for some titles, add values under title_settings section following the example.

Configuration UI is TBD. For logs see /config/sys-screenuploader/screenuploader.log.

User guide

FAQ

Q. I can't open the log file

The log file is inaccessible while the sysmodule is running. Either stop the sysmodule (using Kosmos Toolbox or by any other means) or plug your SD card into another device.

Q. Media are not being sent.

The sysmodule only detects newest screenshots. Check the startup messages, if they say that the latest media has a future date, congratulations!

This usually means that you're an Animal Crossing cheater and have took some captures "in future", and the sysmodule will only detect media with a date later than your captures from future.

To resolve this issue either delete all captures with a wrong date or move them outside the Album folder.

Q. My log file is large.

It's safe to delete it from time to time.

Changelog

v0.0.10 2020/05/02

  • Logging was remade completely: added an option to clear logs on launch; format was changed; log file is now readable even while the sysmodule is running (mostly).
  • https://screenuploader.bakatrouble.me now supports placeholders for captions: {date}, {time} and {title}.

v0.0.9 2020/04/25

  • Now it's possible to add captions to your uploaded media (if you're using my service) or pass individual arbitrary url parameters for requests to your own server.
  • Also fixed logging messages a bit.

v0.0.8 2020/02/08

v0.0.7 2020/01/30

  • Destinations are now configurable on per-application basis.
  • Album directory detection was also improved (thanks @HookedBehemoth).
  • Default configuration is now usable and uploads to the #default-destination channel on this project's Discord server.
  • Configuration file structure was changed, but should still be compatible with the old one.

v0.0.6 2020/01/29

  • Old media are not reuploaded when the newest one is deleted.

v0.0.5 2020/01/28

  • Fix frequent segfaults when the file we try opening is still opened by another process.

v0.0.4 2929/01/20

  • Reduced memory footprint.
  • Hardcoded /Emutendo/Album album path for SX OS (just checking whether the path exists, is there any better way to either detect SX OS or retrieve path from system configuration?).
  • Configurable album path (use album_path option if yours was detected incorrectly).
  • Skipping incorrect directory names (issue report).

v0.0.3 2020/01/19

  • I've finaly made libcurl work, now we support arbitrary server URLs and HTTPS.
  • Also a toolbox.json was added for integration with Kosmos Toolbox.

v0.0.2 2020/01/18

  • Move to cloud service.

v0.0.1 2020/01/14

  • Initial release.

Credits

This is my first nx homebrew app, a template project by vbe0201 was used (and extended to support sysmodule building).

Initial sysmodule code was taken from SunTheCourier's SwitchPresence-Rewritten.

Icon by lordelan (GBAtemp / GitHub).

External links

Advertising: