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
XCI Game Revision #37
Comments
I'm too lazy to fix this so I figure I just put what I found here 😁 |
Just take your time. :) |
garoxas
added a commit
to garoxas/Switch-Backup-Manager
that referenced
this issue
Aug 16, 2018
gibaBR
added a commit
that referenced
this issue
Aug 16, 2018
get correct XCI Game Revision, fix #37
gibaBR
added a commit
that referenced
this issue
Aug 20, 2018
* get correct XCI Game Revision, fix #37 by @garoxas / @Garou; * Fixed filter for content type (dlc, base game, update) not working. Also, this filter is now saved on program preferences (will persist between sessions); * Separate renaming paterns for XCI and NSP files; * User can now limit filename size for NSP files.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a simple write-up on how to get the proper game revision info from an XCI (Note that game revision in this case is not the scene revision, but the actual game version)
There might be a simpler way, but this is what I have for now
I'm using Super Mario Odyssey (rev001) as example
First extract Secure Partition using hactool
There you'll find 2 .cnmt.nca files, each for the base game and the patch. To figure out which one is which, we need to extract both NCA
If it's not already obvious, the patch is in the Patch_0100000000010800.cnmt, so we proceed with this file (if there are multiple patches, that means we have to look each one of them)
Using Hex Editor, open the cnmt file and look at offset 0x0E. Here we got value 0x18, now add 0x20 + 0x18 + 0x38 = 0x70 and you'll get the offset for the filename of the NCA we need
Details on the cnmt format here https://switchbrew.org/index.php?title=NCA
Now open the NCA once again using hactool and you'll get the control.nacp file
And finally, open control.nacp file using Hex Editor and go to offset 0x3060. There you'll find the version information
Details on control.nacp http://switchbrew.org/index.php?title=Control.nacp
The text was updated successfully, but these errors were encountered: