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

Add support for the zStandard long distance mode #117

Closed
paulgaijin opened this issue Sep 7, 2022 · 1 comment · Fixed by #127
Closed

Add support for the zStandard long distance mode #117

paulgaijin opened this issue Sep 7, 2022 · 1 comment · Fixed by #127
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@paulgaijin
Copy link

Hi. Add support for --long key from zStandard for better compression.

Also is it possible to add reverse encryption for nca? I want to compress plaintexted (decrypted) nca/nsp with rar or 7z.

nicoboss added a commit that referenced this issue Oct 16, 2022
@nicoboss nicoboss self-assigned this Oct 16, 2022
@nicoboss nicoboss added the enhancement New feature or request label Oct 16, 2022
@nicoboss nicoboss added this to the v4.2 milestone Oct 16, 2022
@nicoboss nicoboss changed the title Support for --long key from zStandard Add support for the zStandard long distance mode Oct 16, 2022
nicoboss added a commit that referenced this issue Dec 8, 2022
@nicoboss
Copy link
Owner

nicoboss commented Dec 10, 2022

Thanks a lot for your feature request. I implemented support for the zStandard long distance mode using the --long option in the latest NSZ v4.2.0 release.

Regarding reencrypting decypted NCA files there are already a lot of tools out there that can do so. You could use the --plaintext and --ciphertext options of https://github.com/Thealexbarney/LibHac to do so. You might also be interested in my long abandoned https://github.com/nicoboss/nsZip project which allows you to LZMA compress NSP/XCI files with Dic=1536, WordS=273, cLevel=9 which is the maximum compression supported by 7zip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants