mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-13 04:39:36 +00:00
fix make setup
This commit is contained in:
parent
4618bc4d1f
commit
9dd481861e
2 changed files with 3 additions and 2 deletions
|
@ -48,10 +48,10 @@ print("Patching header...")
|
|||
strippedContent[0x3E] = 0x50
|
||||
|
||||
# Check to see if the ROM is a "vanilla" Debug ROM
|
||||
md5Hash = hashlib.md5(bytearray(strippedContent)).hexdigest()
|
||||
md5Hash = hashlib.md5(bytes(strippedContent)).hexdigest()
|
||||
|
||||
if (str(md5Hash) != "f0b7f35375f9cc8ca1b2d59d78e35405"):
|
||||
print("Error: Expected a hash of f0b7f35375f9cc8ca1b2d59d78e35405 but got " + str(md5Hash) + ". The baserom is probably not \"vanilla\"")
|
||||
print("Error: Expected a hash of f0b7f35375f9cc8ca1b2d59d78e35405 but got " + str(md5Hash) + ". The baserom has probably been tampered, find a new one")
|
||||
sys.exit(1)
|
||||
|
||||
# Write out our new ROM
|
||||
|
|
1
makefile
1
makefile
|
@ -130,6 +130,7 @@ clean:
|
|||
$(RM) $(ROM) $(ELF) -r build
|
||||
|
||||
setup:
|
||||
git submodule update --init --recursive
|
||||
make -C tools
|
||||
python3 fixbaserom.py
|
||||
python3 extract_baserom.py
|
||||
|
|
Loading…
Reference in a new issue