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

Merge pspdecrypt and psardecrypt, with additional arguments #22

Closed
artart78 opened this issue Feb 18, 2021 · 3 comments · Fixed by #25
Closed

Merge pspdecrypt and psardecrypt, with additional arguments #22

artart78 opened this issue Feb 18, 2021 · 3 comments · Fixed by #25

Comments

@artart78
Copy link
Contributor

artart78 commented Feb 18, 2021

Here's my proposal:

  • pspdecrypt could take PBPs, PSARs and PSPs as an input
  • --outfile/-o specifies the output decrypted PSP
  • --outdir/-O specifies the output dir for PSAR
  • --extract-only will only extract and not decrypt the PSAR's contents
  • --psar-only and --psp-only, if given a PBP, will select what to extract/decrypt

Then, independently (using only --outdir/-O), --ipl-decrypt and a facultative --preipl argument.

Also, possibly, --verbose (at least for enabling the IPL decryption output).

It should cover #5 and #6

@John-K
Copy link
Owner

John-K commented Feb 19, 2021

This sounds good to me. It would be nice to have it do something sane if you just passed it a file without any arguments too.

@WorldGenesis
Copy link

This sounds good to me. It would be nice to have it do something sane if you just passed it a file without any arguments too.

It might be nice to have it show the PSAR/table version, and if its a FW update, show the update version too when run without arguments :P

@John-K
Copy link
Owner

John-K commented Feb 19, 2021

That's a cool idea, maybe a --info as well?

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 a pull request may close this issue.

3 participants