Skip to content

Instantly share code, notes, and snippets.

@GarnetSunset
Created June 19, 2021 04:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GarnetSunset/20caed068b9ce40708f1ff41d895a7cf to your computer and use it in GitHub Desktop.
Save GarnetSunset/20caed068b9ce40708f1ff41d895a7cf to your computer and use it in GitHub Desktop.
script to take nand saves and get them ready for edizon bulk import
from subprocess import check_output
f=[]
import os
for file in os.listdir("save"):
f.append(os.path.join("save", file))
for file in f:
tID = str(check_output("hactoolnet.exe -t save "+file, shell=True))[170:186]
check_output("hactoolnet.exe -t save "+file+" --outdir \"saves/"+tID)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment