Skip to content

Commit

Permalink
Disabled Hacking EBOOT process in the Setup Wizard.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThunderGemios10 committed Jun 1, 2016
1 parent 44858d4 commit 69fc72d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions setup_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,14 +308,15 @@ def setup_workspace(self):
with open(blank, "wb") as f:
pass

# NOTE: To re-enable this, Simply remove the hashtag before the codes.
# Copy the decrypted EBOOT into the ISO folder and apply our hacks to it.
progress.setLabelText("Hacking EBOOT...")
progress.setValue(progress.value() + 1)
# progress.setLabelText("Hacking EBOOT...")
# progress.setValue(progress.value() + 1)

hacked_eboot = BitStream(filename = self.eboot_path)
hacked_eboot = apply_eboot_patches(hacked_eboot)
with open(os.path.join(self.edited_iso_dir, "PSP_GAME", "SYSDIR", "EBOOT.BIN"), "wb") as f:
hacked_eboot.tofile(f)
# hacked_eboot = BitStream(filename = self.eboot_path)
# hacked_eboot = apply_eboot_patches(hacked_eboot)
# with open(os.path.join(self.edited_iso_dir, "PSP_GAME", "SYSDIR", "EBOOT.BIN"), "wb") as f:
#hacked_eboot.tofile(f)
# shutil.copy(self.eboot_path, os.path.join(self.edited_iso_dir, "PSP_GAME", "SYSDIR", "EBOOT.BIN"))

progress.setLabelText("Extracting editor data...")
Expand Down

0 comments on commit 69fc72d

Please sign in to comment.