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

recovery proof of concept #8

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

recovery proof of concept #8

wants to merge 5 commits into from

Conversation

dazjo
Copy link

@dazjo dazjo commented May 10, 2016

Since it came up a few times in #3dsdev and other places I got started with porting the built-in updater to the *hax payload itself. Hopefully at the very least this saves someone some time with the more "manual labor" tasks if this ever gets completed.

This currently allows for selecting a target payload version, downloading the payload, and writing it to a file passed through paramblk. This has been tested with hblauncher_loader, though it is designed to also compensate for supermysterychunkhax which has limited savegame space due to a required large sploit file (this could be achieved through OpenSubFile as suggested by yellows8).

Currently the code just enters an infinite loop after completion, the next issue would be updating the currently-running payload with DMA (would this even be feasible?)

This also requires a lot of parameters through paramblk, more than was originally hoped (archive handle because of the need to commit, fs:USER handle because it's required for ControlArchive)

This is an "RFC" I guess, just looking for comments at this stage.

@fox8091
Copy link
Contributor

fox8091 commented May 10, 2016

How does this work with Cubic Ninja or Ocarina of Time now? As of 11.0, loader strips them of http:c and soc:U.

@dazjo
Copy link
Author

dazjo commented May 10, 2016

Only CN is stripped of those, and CN can't even download its initial payload as a result...

Hardly relates to this.

@fox8091
Copy link
Contributor

fox8091 commented May 10, 2016

Alright. I was just asking.

@dazjo
Copy link
Author

dazjo commented May 10, 2016

They can't do this for the majority of games, CN didn't actually use http:C in normal gameplay.

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

Successfully merging this pull request may close these issues.

2 participants