Skip to content

Instantly share code, notes, and snippets.

@kuba-orlik
Created January 21, 2025 20:50
Show Gist options
  • Save kuba-orlik/8e95a8af9959d23825af1b98978ec509 to your computer and use it in GitHub Desktop.
Save kuba-orlik/8e95a8af9959d23825af1b98978ec509 to your computer and use it in GitHub Desktop.
How to mount switch emummc as decrypted (to extracting game saves)
  1. Open Hekate on Switch by RCM-ing it
  2. Go to USB tools and mount emu RAW GPP
  3. Create the mount point: mkdir /mnt/gpp
  4. Install ninfs
  5. sudo /usr/bin/python /usr/lib/python3.12/site-packages/ninfs nandhac /dev/sdb11 -r --keys /path/to/prod.keys --partition USER -o allow_other -f /mnt/gpp
  6. sudo losetup /dev/loop2 /mnt/gpp/USER.img
  7. Mount /dev/loop2
  8. Saves are in /run/media/kuba/disk/save/
  9. Install hactoolnet
  10. cd to the dir from point 8 and run:
ls -1 | xargs -I {} bash -c "mkdir -p ~/Downloads/saves/{} && hactoolnet -k /path/to/prod.keys -t save {} --outdir ~/Downloads/saves/{}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment