Created
July 1, 2009 05:26
-
-
Save icefire/138607 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys, os | |
sys.path.append('../Common') | |
import pywii as wii | |
def hexdump(s): | |
return ' '.join(map(lambda x: "%02x"%x,map(ord,s))) | |
isofile = sys.argv[1] | |
disc = WiiDisc(isofile) | |
disc.showinfo() | |
part = WiiPartition(disc,int(sys.argv[2])) | |
part.showinfo() | |
part.tmd.update_signature(file("signthree.bin").read()) | |
part.tmd.brute_sha() | |
part.updatetmd() | |
part.showinfo() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment