Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Automation scripts for broken displays #898

Closed
DerekRoth opened this issue Oct 29, 2023 · 1 comment
Closed

Feature request: Automation scripts for broken displays #898

DerekRoth opened this issue Oct 29, 2023 · 1 comment

Comments

@DerekRoth
Copy link

With a broken Switch display, hekate's interface cannot be used but there should be a way to use its features. Supporting the docked mode is too much work, and so would probably be adding a web interface. However, what about adding simple scripts support for basic features ?
For example writing in a text file the following instructions that would be automatically executed on launch:

  • format the SD card
  • backup the NAND
  • create an eMMC

The issue would be how to signal to the user that the actions have been performed or that an error occurred. Use sound (if speakers are connected) ? Boot into OFW ? Shutdown ? Make the fan spin ? But for those who need it, i could personally live with just waiting for a fair amount of time before shutting down the console, just to make sure it did its job.

@DerekRoth DerekRoth changed the title Automation scripts for broken displays Feature request: Automation scripts for broken displays Oct 29, 2023
@CTCaer
Copy link
Owner

CTCaer commented Oct 29, 2023

Use hekate's boot storage/payload storage.
hex edit 2 hekate payloads with the relevant values at the relevant offsets (https://github.com/CTCaer/hekate#payload-storage).
One to mount SD via UMS and one to mount eMMC. (If you want write access to eMMC, set umsemmcrw=1 to nyx.ini)
And use one of the many partition managers and switch emmc/emummc managers on your PC.
Otherwise check for switch payloads that have something like that, since an interpreter is out of scope for hekate.

For booting you can already utilize autoboot or again boot storage.

@CTCaer CTCaer closed this as completed Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants