1. GBK

    GBK Member
    Newcomer

    Joined:
    Oct 18, 2020
    Messages:
    10
    Country:
    Macau
    No I used Tinfoil + JITS to download a game then dumped it with nxdumptool, for the curiosity to make a dump that looks "legit" like the ones on JITS. I thought if I downloaded and installed it via Tinfoil, it must have passed the NCA sig check. Then how come the dump I made can not pass? I can dump cartridges alright, but I don't know how to download my purchased digital games to my modded switch without getting banned.
     
    Last edited by GBK, Feb 2, 2021
  2. DarkMatterCore

    OP DarkMatterCore I like turtles.
    Developer

    Joined:
    May 30, 2009
    Messages:
    1,256
    Country:
    Venezuela
    Signature checks probably aren't enforced on games downloaded from Tinfoil itself because they come from a "known good source". The only reason why signatures from a dumped game via nxdumptool wouldn't match is because the game was tampered with before installation.
     
  3. GBK

    GBK Member
    Newcomer

    Joined:
    Oct 18, 2020
    Messages:
    10
    Country:
    Macau
    Thank you for the explanation!
     
  4. Ibcap

    Ibcap GBAtemp Fan
    Member

    Joined:
    Dec 29, 2019
    Messages:
    378
    Country:
    United States
    Which game specifically? 99% of the content we host is signed nszs, however some of it isnt available as nsp so it might be an xci. The xci wouldn't give you an error on install via jits since its signed, but if you dump it as an nsp the signature would break. Thats the most likely explanation I can think of, tinfoil should still give unsigned errors for games even when using a known good source (for example the original unsigned mario 3d world leak required allowing unsigned code even via jits)
     
  5. GBK

    GBK Member
    Newcomer

    Joined:
    Oct 18, 2020
    Messages:
    10
    Country:
    Macau
    i'm testing on Skylanders Imaginators and yes it's a xcz source.
     
  6. Ibcap

    Ibcap GBAtemp Fan
    Member

    Joined:
    Dec 29, 2019
    Messages:
    378
    Country:
    United States
    Thats the reason then. The xci on jits is completely clean, but when its installed and dumped as an nsp its now a convert which doesn't have a clean signature. Try the same with with an nsp, it should work properly.
     
  7. MarvinXLII

    MarvinXLII Member
    Newcomer

    Joined:
    Mar 12, 2021
    Messages:
    17
    Country:
    United States
    Just curious, what exactly does "holding R while booting the game" do differently when it comes to nxdumptool? Most of my games worked fine without doing it, but from what I can tell, one did require it. Otherwise it would give me an error about not having enough memory for "full decompressed NSO in Program NCA".

    I guess holding R is just better practice?
     
  8. RichardTheKing

    RichardTheKing Really lovin' NFO style
    Member

    Joined:
    Mar 18, 2020
    Messages:
    511
    Country:
    Australia
    Holding R while booting up a game gives homebrew more memory, compared to applets like the Album, since the console believes it's playing an actual game. This gives homebrew the resources it needs to perform specific tasks, like being able to name new backups in Checkpoint or being able to properly dump a game in NXDumpTool's case.

    Applet Mode has less memory available; game mode has significantly more.
     
    MarvinXLII likes this.
  9. DarkMatterCore

    OP DarkMatterCore I like turtles.
    Developer

    Joined:
    May 30, 2009
    Messages:
    1,256
    Country:
    Venezuela
    This is known as a title takeover or application override. It gives homebrew applications access to a ~3.5 GiB memory pool - and yes, even though some people may disagree, it's always the better practice when it comes to homebrew launching on the Switch.

    Running homebrew apps under applet mode only provides them with access to a ~300-something MiB memory pool. Depending on what you want to do, it may not be desirable.
     
    Tyvar1, MarvinXLII and RichardTheKing like this.
  10. MarvinXLII

    MarvinXLII Member
    Newcomer

    Joined:
    Mar 12, 2021
    Messages:
    17
    Country:
    United States
    Good to know. Thank you both!
     
    RichardTheKing likes this.
  11. darkwolfx

    darkwolfx Newbie
    Newcomer

    Joined:
    Mar 17, 2021
    Messages:
    1
    Country:
    United States
    Hello, has anyone run into the issue "retrieveCnmtNcaData: invalid AES Crypt type for CNMT NCA section #0! (0x01)" or "readNCADatabyContentID: invalid parameters to read data from NCA!"?
    It is just happening in some games and some others it doesn't.
    I already tried latest nxdumptool, latest lockpick via RCM twice, prod.keys are there, latest Atmosphere, via Sysnand.
    The options enabled are to Split Output, Verify Dump and Remove console specific data.

    Can't recall if I converted them from XCI to NSP as it has been a while, but could this be the issue from what I was reading before?
    Thanks.
     
    DarkMatterCore likes this.
  12. DarkMatterCore

    OP DarkMatterCore I like turtles.
    Developer

    Joined:
    May 30, 2009
    Messages:
    1,256
    Country:
    Venezuela
    Interesting. Didn't know there are games with unencrypted Partition FS sections for the Meta NCA.

    It's pretty much fixed in the rewrite due to the way things work right now. But legacy nxdumptool needs to be updated, yeah. I don't have too much time at hand right now, so if you feel like using the rewrite PoCs, feel free to pop over the nxdumptool Discord server (there's a link for it in the nxdumptool GitHub repo).
     
  13. ToastGuerta

    ToastGuerta Newbie
    Newcomer

    Joined:
    Mar 26, 2021
    Messages:
    2
    Country:
    United States
    Hey all, i'm trying to dump a copy of pokemon shield i have on my SD card for randomizing purposes and I can dump exeFS just fine but when i try to dump romFS it'll get to about 92% and stop giving me this error:

    recursiveDumpRomFsFile: failed to open output file "sdmc:/switch/nxdumptool/RomFS/Pok_mon Shield v0 (01008DB008C2000) (BASE)/bin/pml/grow_table_0/grow_00.bin"!

    i've already redone all of my title keys and prod keys with the most recent version of lockpick payload and nro, my nxdumptool is up to date and still i get nothin', any solution?
     
  14. pcwizard7

    pcwizard7 GBAtemp Maniac
    Member

    Joined:
    Aug 2, 2013
    Messages:
    1,215
    Country:
    Australia
    @ToastGuerta why are you dumping it in individual parts and not as a single nsp dump?

    any are you running the app as title overide?
     
  15. ToastGuerta

    ToastGuerta Newbie
    Newcomer

    Joined:
    Mar 26, 2021
    Messages:
    2
    Country:
    United States
    in the video i was watching for randomizing pokemon shield, the guy had dumped the exefs file and the romfs file, i tried using the randomzier on a full nsp but it didn't work.

    as for the title override, i was in the regular homebrew menu, not the applet mode.

    edit: i have tried to do the dump from applet mode and it gives me the same error for the same file
     
    Last edited by ToastGuerta, Mar 26, 2021
  16. duckbill007

    duckbill007 GBAtemp Fan
    Member

    Joined:
    May 5, 2011
    Messages:
    317
    Country:
    Russia
    @DarkMatterCore Just a question - why to manually decrypt and read romfs data instead of using fsOpenFileSystemWithId function and left all crypt operations to system? It will allow to use app without prod.keys
     
  17. DarkMatterCore

    OP DarkMatterCore I like turtles.
    Developer

    Joined:
    May 30, 2009
    Messages:
    1,256
    Country:
    Venezuela
    Due to FS access permissions, it's not usually possible to mount the RomFS from another title at runtime. You either do this, or force the user to launch nxdumptool by taking over the title they wish to dump the RomFS from - the decision was pretty clear to me.

    Doing it this way also makes it possible to do other interesting things, like dumping base application data even if an update has already been installed, or dumping data from other NCA sections that may otherwise be hidden (e.g. logo PFS).
     
    Last edited by DarkMatterCore, Apr 8, 2021
  18. Johnmariozelda99

    Newcomer

    Joined:
    Mar 14, 2021
    Messages:
    30
    Country:
    United States
    Good morning. I was hoping to ask you if you have any idea of when nxdumptool will be updated to 12.0? I know it literally just came out yesterday, and I'm honestly not trying to rush you or anything. Your homebrew is by far the most important piece of software on my switch and I appreciate the work that you do. Any timeline would be absolutely great. Thanks
     
  19. pofehof

    pofehof GBAtemp Regular
    Member

    Joined:
    Oct 23, 2019
    Messages:
    153
    Country:
    United States
    For the time being, if you really need to dump something, version 1.1.12 works well with AMS 0.19.0/FW 12.0.0.
     
    Johnmariozelda99 likes this.
  20. Johnmariozelda99

    Newcomer

    Joined:
    Mar 14, 2021
    Messages:
    30
    Country:
    United States
    Well I'll be. That works. I wonder why 1.1.12 works on Atmosphere 0.19.0 but 1.1.13 doesn't. Definitely odd. Now if I could find a save manager that works on AMS 0.19.0 Id be set
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - nxdumptool, Nintendo, Switch