1. radiocaf

    radiocaf Newbie
    Newcomer

    Joined:
    Sep 12, 2009
    Messages:
    5
    Country:
    United States
    Thank you for your reply, I feel more at ease taking advantage of this method now, time to bend some paperclips.
     
  2. Draxzelex

    Draxzelex GBAtemp Legend
    Member

    Joined:
    Aug 6, 2017
    Messages:
    11,103
    Country:
    United States
    That's technically false as you are installing save data of a game into the Nintendo Switch's eMMC.
     
  3. ricky3817

    ricky3817 Newbie
    Newcomer

    Joined:
    Sep 15, 2019
    Messages:
    1
    Country:
    United States
    Hey guys, I've spent too much time trying to figure this out at this point I need to ask for help. I extracted the save file for shield but I'm not sure what file I'm supposed to use for PKHEX and the the raid plugin. I noticed the CMAC signature failed so I'm not sure if it extracted properly. Any help is appreciated. Thank you.



    C:\Users\rinnn\Desktop\try 1>hactoolnet.exe -k prod.keys -t save sav/00000000000000bc --outdir out/00000000000000bc
    Failed to match key rsa_oaep_kek_generation_source
    Failed to match key rsa_private_kek_generation_source
    save:/directories/1609/files/1609_luxuryball
    save:/directories/1609/files.meta
    save:/directories/0113/files/0113_ballguy3
    save:/directories/0113/files.meta
    save:/directories/0112/files/0112_ballguy2
    save:/directories/0112/files.meta
    save:/directories/0111/files/0111_ballguy1
    save:/directories/0111/files.meta
    save:/directories/0107/files/0107_G_kabigon
    save:/directories/0107/files.meta
    save:/directories/0106/files/0106_pokeball_100
    save:/directories/0106/files.meta
    save:/directories/0105/files/0105_dress_kakukoro
    save:/directories/0105/files.meta
    save:/directories/0104/files/0104_BP10
    save:/directories/0104/files.meta
    save:/directories/0102/files/0102_birthday_ev
    save:/directories/0102/files.meta
    save:/directories/0101/files/0101_birthday_pika
    save:/directories/0101/files.meta
    save:/directories/2001/files/2001_palma_myu
    save:/directories/2001/files.meta
    save:/directories/1606/files/1606_dress_goldbag
    save:/directories/1606/files.meta
    save:/directories/1605/files/1605_dress_sports_set
    save:/directories/1605/files.meta
    save:/directories/1604/files/1604_G_crystal_yoogirasu
    save:/directories/1604/files.meta
    save:/directories/1603/files/1603_G_crystal_jarako
    save:/directories/1603/files.meta
    save:/directories/1602/files/1602_quickball
    save:/directories/1602/files.meta
    save:/directories/tournament/files/Galar_Beginnings_BP50
    save:/directories/tournament/files.meta
    save:/directories/rank/files.meta
    save:/directories/gpoke/files/normal_encount
    save:/directories/gpoke/files/drop_rewards
    save:/directories/gpoke/files/dai_encount
    save:/directories/gpoke/files/bonus_rewards
    save:/directories/gpoke/files.meta
    save:/directories/normal/files/distribution_internet
    save:/directories/normal/files.meta
    save:/list.msgpack
    save:/directories.meta
    save:/na_required
    save:/etag.bin
    save:/passphrase.bin

    Savefile:
    CMAC Signature (FAIL): 163CA3E80EAF04F750E58407CFAF7B67
    Title ID: 01008db008c2c000
    User ID: 00000000-0000-0000-0000-000000000000
    Save ID: 0000000000000000
    Save Type: BcatDeliveryCacheStorage
    Owner ID: 010000000000000c
    Timestamp: 2019-12-20 07:40:51 UTC
    Save Data Size: 0x0000000004000000 (64 MB)
    Journal Size: 0x0000000000200000 (2 MB)
    Free Space: 0x0000000003f1c000 (63.109 MB)
    Header Hash (GOOD): 072DA6776A3A55CBD23078BB65E2A7A3E6DB91FB9626B07238A53EE3E532B128
    Number of Files: 47
    Magic: IVFC
    Version: 2
    Salt Seed: FB7A5789C0E2B15C34F9A407B018F7A414CAD62411FD7257A0ECF2EB83A2FD49
    Level 0:
    Data Offset: 0x2000000000000000
    Data Size: 0x0000000000004000
    Hash Offset: 0x0000000000000000
    Hash BlockSize: 0x00004000
    Level 1:
    Data Offset: 0x2800000000000000
    Data Size: 0x0000000000004000
    Hash Offset: 0x2000000000000000
    Hash BlockSize: 0x00004000
    Level 2:
    Data Offset: 0x3000000000000000
    Data Size: 0x0000000000020000
    Hash Offset: 0x2800000000000000
    Hash BlockSize: 0x00004000
    Level 3:
    Data Offset: 0x0000000000000000
    Data Size: 0x0000000004000000
    Hash Offset: 0x3000000000000000
    Hash BlockSize: 0x00004000


    C:\Users\rinnn\Desktop\try 1>pause
    Press any key to continue . . .




























     
  4. Kirikagami

    Kirikagami Newbie
    Newcomer

    Joined:
    Dec 26, 2019
    Messages:
    2
    Country:
    Indonesia
    ...
     
    Last edited by Kirikagami, Dec 29, 2019
  5. Kirikagami

    Kirikagami Newbie
    Newcomer

    Joined:
    Dec 26, 2019
    Messages:
    2
    Country:
    Indonesia
    ...
     
    Last edited by Kirikagami, Dec 29, 2019
  6. Kirikagami
    This message by Kirikagami has been removed from public view by x65943, Dec 27, 2019, Reason: Please don't bump your thread, it will be replied to when it is replied to.
    Dec 27, 2019 Show
  7. Max89

    Max89 Member
    Newcomer

    Joined:
    Oct 18, 2012
    Messages:
    31
    Country:
    Italy
    tell me if im wrong but with this method i can edit the save files with pkhex withou installing custom firmware right?
    i have un unpatched switch, i might try..
     
    MSco likes this.
  8. Max89

    Max89 Member
    Newcomer

    Joined:
    Oct 18, 2012
    Messages:
    31
    Country:
    Italy
    hi,
    h have some problems with hactoonet.
    The software is not recognized by windows if i use your script.
    However If i use the run.bat inside the download of hactoolnet i can extract the save data.
    THe problem now is how to inject the save file... How can i solve?
     
  9. Xyphoseos

    Xyphoseos Hack or no games
    Member

    Joined:
    Jun 29, 2016
    Messages:
    1,685
    Country:
    France
    I use the save transfer tool in setting between my cfw and ofw switch, both aren't banned yet
     
  10. Max89

    Max89 Member
    Newcomer

    Joined:
    Oct 18, 2012
    Messages:
    31
    Country:
    Italy
    maybe i solved runing the bat file from cmd as administrator.
    i got an error
    i dont jnow why the bat file dont recognize the pause at the end .
    I had to delete it because it was attached to the name of the save file
     
    Last edited by Max89, Dec 31, 2019
  11. Max89

    Max89 Member
    Newcomer

    Joined:
    Oct 18, 2012
    Messages:
    31
    Country:
    Italy
    my signature fails the first time and is good the others but the game wont load.
    i have extracted the key file with the sept folder in the root of the sd but it generated 2 file prod.keys 10kb and title keys 2kb
    i use the first for the signature with the inject.bat
    i did everything right?

    EDIT:
    Solved, the problem was the file hactool.exe v0.7 that is not working correctly. there is another version 0.8.
    See here for more information:
    https://github.com/Thealexbarney/LibHac/issues/102
     
    Last edited by Max89, Dec 31, 2019
  12. dude179

    dude179 Newbie
    Newcomer

    Joined:
    Nov 2, 2019
    Messages:
    6
    Country:
    Canada
    I just wanted to say thank you telling us this. This has saved me so much time, because I save edit A LOT for Pokemon SnS.

    I highly recommend this method to everyone. I've been doing this for months now, and as long as the only thing you touch is the save file, you'll be fine.
     
  13. slapmeone

    slapmeone Newbie
    Newcomer

    Joined:
    Jan 24, 2020
    Messages:
    3
    Country:
    Canada
    How would I edit my inject.bat files to inject two files at once? So close to completing this I'm just not great with code
     
  14. Scried

    Scried Member
    Newcomer

    Joined:
    May 3, 2017
    Messages:
    27
    Country:
    Netherlands
    You could just run the .bat file once for the first file; then edit it; change the name of the file to the second save file and run the .bat file again. You could also just duplicate the first line in the .bat file, for example I did the following to inject both the main and backup file of my Pokémon Sword save:
    Code:
    hactoolnet.exe -k prod.keys -t save sav/000000000000004c --replacefile /main out/000000000000004c/main
    hactoolnet.exe -k prod.keys -t save sav/000000000000004c --replacefile /backup out/000000000000004c/backup
    pause
    But before you copy this code, please change the id number to the one that matches yours!
     
    Last edited by Scried, Jan 24, 2020
  15. slapmeone

    slapmeone Newbie
    Newcomer

    Joined:
    Jan 24, 2020
    Messages:
    3
    Country:
    Canada
    I was overthinking it big time. Tysm for the help and fast response!
     
    Scried likes this.
  16. aarti

    aarti Killua Zoldyck
    Member

    Joined:
    Jul 24, 2017
    Messages:
    497
    Country:
    Germany
    Am I god damn stupid or why can't I find these? I only get hactoolnet.exe
     
  17. Scried

    Scried Member
    Newcomer

    Joined:
    May 3, 2017
    Messages:
    27
    Country:
    Netherlands
    Do you mean you're missing the .dll files? They probably got embedded in the .exe in the most recent release(s) of hactoolnet. You can just ignore it. If you're talking about the other files, you have to create or provide them yourself as the guide mentions.
     
    aarti likes this.
  18. MSco

    MSco GBAtemp Regular
    Member

    Joined:
    Nov 2, 2016
    Messages:
    196
    Country:
    Germany
    That would be great. Is this technically realistic? Or is there anything new to this? Did anyone publish something like that?

    Edit:

    Well, I saw this here:
    Nice, this would be an extreme time saver! Did anyone do this method (mounting and editing the NAND directly with tegraRCMgui)?

    My method would be: Do a NAND backup once and save it to a HDD. Everytime I mount the NAND and edit it, I would only do a backup of my savegame (using that tegrarcm mount) without doing a full backup of my NAND everytime. If something goes wrong and my NAND gets fried, I could restore my NAND (the backup would be a bit older, with an older savegame) and inject the latest backup of my savegame. Using this method, I would be quite save, right?
     
    Last edited by MSco, Jan 27, 2020
  19. RHOPKINS13

    RHOPKINS13 Geek
    Member

    Joined:
    Jan 31, 2009
    Messages:
    1,179
    Country:
    United States
    I don't see why not. Either way you're editing the NAND. People have already used HacDiskMount to backup, restore, and transfer saves. Being able to do it from RCM would make things much easier, and would allow you to inject saves in an otherwise clean SysNAND without running CFW.
     
    MSco likes this.
  20. kimbra

    OP kimbra Member
    Newcomer

    Joined:
    Jun 6, 2019
    Messages:
    31
    Country:
    United States
    I have been utilizing this method lately. I run the TegraRcmGUI as Mount “eMMC rawNAND (DANGEROUS)” under the Tools tab. I’m thinking of adding it to the guide soon for clarification and ease.
     
    RHOPKINS13 and MSco like this.
  21. lpdg001

    lpdg001 Newbie
    Newcomer

    Joined:
    Feb 4, 2020
    Messages:
    1
    Country:
    China
    how to edit splatoon2?i wont edit foods i cant inject~~~HELP CFW 9.1
    hactoolnet is new version
    F:\Downloads\Compressed\extract nand gamesave\extract nand gamesave>hactoolnet.exe -k prod.keys -t save save/00000000000000c3 --outdir out/00000000000000c3
    Failed to match key device_key_4x
    Failed to match key rsa_oaep_kek_generation_source
    Failed to match key rsa_private_kek_generation_source
    save:/save.dat

    F:\Downloads\Compressed\extract nand gamesave\extract nand gamesave\out\00000000000000c3\save.dat

    but i cnat inject
    hactoolnet.exe -k prod.keys -t save save/00000000000000c3 --replacefile / out/00000000000000c3

    Failed to match key device_key_4x
    Failed to match key rsa_oaep_kek_generation_source
    Failed to match key rsa_private_kek_generation_source

    ERROR: ResultFsTargetLocked (2002-0007)

    Additional information:
    at LibHac.ThrowHelper.ThrowResult(Result) + 0x2c
    at LibHac.FsSystem.LocalFile..ctor(String, OpenMode) + 0x8e
    at hactoolnet.ProcessSave.Process(Context) + 0x36c
    at hactoolnet.Program.Run(String[]) + 0x2d1
    at hactoolnet.Program.Main(String[]) + 0x1a
     
    Last edited by lpdg001, Feb 4, 2020
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - restoring, payloads, Switch