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: support for sparse storage games #100

Open
SageSystems opened this issue Sep 22, 2021 · 5 comments
Open

Feature Request: support for sparse storage games #100

SageSystems opened this issue Sep 22, 2021 · 5 comments
Labels
enhancement New feature or request file format Issues with the NSZ file format

Comments

@SageSystems
Copy link

SageSystems commented Sep 22, 2021

Recently a new type of games known as sparse storage games have been becoming more and more common (No More Heroes 3 and Last Stop for example) these games cannot be compressed and decompressed correctly with nsz and soon may be very common, I have no technical knowledge of the format but I would like to request support (if it is already not in development)

@proconsule
Copy link

Very hard since small/no docs on that format
(is a field on Program NCA that inform on some math to get the right offsets)
I am working also on it, but for sure will be supported by nicoboss with his smart file format

@nicoboss
Copy link
Owner

I will definitely implement it once there is good enough documentation available about it.
Please link all the documentation you can find and also the open-source project that already implemented it here.
I wonder if they went with a similar approach then with NDV0. I guess we will know once I find documentation about it.
@blawar Do you know anything about this new sparse storage format?

@nicoboss nicoboss added enhancement New feature or request file format Issues with the NSZ file format labels Sep 28, 2021
@Masamune3210
Copy link

Goldleaf just merged support for sparse files, maybe go look at that? Just throwing out ideas

@proconsule
Copy link

proconsule commented Sep 28, 2021

Is not a new format but an unused one.
Atmosphere source code have info on sparse storage also.

Seems like is used on games with 0 day patch (thanks to duckbill007 who point me out this).

@blawar
Copy link
Collaborator

blawar commented Sep 28, 2021

I will definitely implement it once there is good enough documentation available about it. Please link all the documentation you can find and also the open-source project that already implemented it here. I wonder if they went with a similar approach then with NDV0. I guess we will know once I find documentation about it. @blawar Do you know anything about this new sparse storage format?

Yes, I have done a lot of work on it. Compressing it is almost ready. Installing it is much different (and easier) than compressing it. There is a sparse header in the nca header which contains a BKTR header (similar to updates).

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

No branches or pull requests

5 participants