Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add an optional, isolated backup/restore adapter for Gen1Recomp save files stored on SD rather than in Horizon save data.
The feature is invisible when the expected Gen1Recomp directory is absent. It can also be disabled with
homebrew.gen1recomp=0.Isolation
Gen1Recomp deliberately does not use or modify the native title archive, fingerprint or sync-state pipeline:
sdmc:/switch/gen1recomp/pokemon-love2d;484247454E315243(HBGEN1RC);.syncstate.gen1;Only the configured default account owns this SD source, avoiding duplicate uploads for a filesystem tree that has no Horizon account ownership.
Archive safety
Restore safety
The app downloads only the latest
HBGEN1RCrevision and accepts onlysaves/plusoptions.lua. It rejects traversal, directories, duplicates, oversized files and corrupt/CRC-failing archives before changing active files. Existing data is retained as*.before-unss-restore, rename failures roll back, and an explicit confirmation screen is required.Supporting change
Directory walking now shares one callback instance and has a depth limit. This avoids recursive
std::functioncopies on the sysmodule stack and lets callers detect partial traversal.Validation
options.lua;