def patch(backup):
    import sign_support
    print "Patching " + backup + " With VHBL."
    unsign_support.goUnsign(backup, CMA, False, "PGAME", account, ".")
    print "Patching With ARK-2"
    shutil.copy(
        defs.getWorkingDir() + "/easyinstallers/ARK/patch/PBOOT.PBP",
        CMA + "/EXTRACTED/PGAME/" + backup +
        "/game/ux0_pspemu_temp_game_PSP_GAME_" + backup + "/")
    print "Signing to: " + account
    sign_support.goSign(account, "PGAME", backup, True)
    if tkMessageBox.askyesno(title="OneMenu?",
                             message="Would you like to use ONEMENU?"):
        print "Copying Savedata To " + CMA + "/PSAVEDATA/" + defs.getAid(
            account) + "/ARK_01234"
        if not os.path.exists(CMA + "/PSAVEDATA/" + defs.getAid(account) +
                              "/ARK_01234"):
            shutil.copytree(
                defs.getWorkingDir() + "/easyinstallers/ARK/ONEMENU",
                CMA + "/PSAVEDATA/" + defs.getAid(account) + "/ARK_01234")
    else:
        print "Copying Savedata To " + CMA + "/PSAVEDATA/" + defs.getAid(
            account) + "/ARK_01234"
        if not os.path.exists(CMA + "/PSAVEDATA/" + defs.getAid(account) +
                              "/ARK_01234"):
            shutil.copytree(
                defs.getWorkingDir() + "/easyinstallers/ARK/ARK_01234",
                CMA + "/PSAVEDATA/" + defs.getAid(account) + "/ARK_01234")
    import easyInstallers
    tkMessageBox.showinfo(
        title="ARK Easy Installer",
        message=
        "ARK Backup Created! (Note: Icon will be the same as base game)\nBe sure to copy the PSP ARK-2 Savedata file too!"
    )
    easyInstallers.vp_start_gui()
示例#2
0
def patch(backup):
    import sign_support
    unsign_support.goUnsign(backup, CMA, False, "PGAME", account, ".")
    print "Patching " + backup + " With VHBL."
    if os.path.exists(CMA + "/EXTRACTED/PGAME/" + backup +
                      "/game/ux0_pspemu_temp_game_PSP_GAME_" + backup +
                      "/PBOOT.PBP"):
        print "Removing VHBL.."
        os.remove(CMA + "/EXTRACTED/PGAME/" + backup +
                  "/game/ux0_pspemu_temp_game_PSP_GAME_" + backup +
                  "/PBOOT.PBP")
        print "Re-Patching VHBL"
    shutil.copy(
        defs.getWorkingDir() + "/easyinstallers/VHBL/patch/PBOOT.PBP",
        CMA + "/EXTRACTED/PGAME/" + backup +
        "/game/ux0_pspemu_temp_game_PSP_GAME_" + backup + "/PBOOT.PBP")
    print "Signing to: " + account
    sign_support.goSign(account, "PGAME", backup, True)
    print "Copying Savedata To " + CMA + "/PSAVEDATA/" + defs.getAid(
        account) + "/VHBL01234"
    if not os.path.exists(CMA + "/PSAVEDATA/" + defs.getAid(account) +
                          "/VHBL01234"):
        shutil.copytree(
            defs.getWorkingDir() + "/easyinstallers/VHBL/VHBL01234",
            CMA + "/PSAVEDATA/" + defs.getAid(account) + "/VHBL01234")
    import easyInstallers
    tkMessageBox.showinfo(
        title="ARK Easy Installer",
        message=
        "VHBL Backup Created!\n(Note: Icon will be the same as base game)\nBe sure to copy the VHBL Savedata file too!"
    )
    easyInstallers.vp_start_gui()
示例#3
0
def sendSign(account):
    import sign_support
    sign_support.goSign(account,"APP","PCSG90096",True)
    tkMessageBox.showinfo(title="h-encore EasyInstaller", message="h-encore Backup Created. For "+account)
    close_window(root)
    import easyInstallers
    easyInstallers.vp_start_gui()
def patch(backup):
    import sign_support
    unsign_support.pushVars(account, "SYSTEM", ".")
    unsign_support.goUnsign(backup, CMA)
    print "Setting All URI Calls To User Mode."
    dbPath = CMA + "/EXTRACTED/SYSTEM/" + backup + "/ur0_shell/db/app.db"
    print "Opening: " + dbPath
    appDatabase = sqlite3.connect(dbPath)
    print "Executing " + sqlQuery + "To app.db!"
    appDatabase.executescript(sqlQuery)
    appDatabase.close()
    print("Uri's Patched.")
    sign_support.goSign(account, "SYSTEM", backup, True)
    if not os.path.exists(CMA + "/EXTRACTED/APP/URICALL00"):
        shutil.copytree(
            defs.getWorkingDir() + "/easyinstallers/UriCaller/URICALL00",
            CMA + "/EXTRACTED/APP/URICALL00")
    sign_support.goSign(account, "APP", "URICALL00", True)
    tkMessageBox.showinfo(
        title="UriCaller",
        message=
        "Completed! Refresh QCMA Database then restore the SYSTEM Backup + The URICaller App."
    )
    easyInstallers.close_window(root)
    easyInstallers.vp_start_gui()
def patch(backup):
    import sign_support
    unsign_support.pushVars(account, "PGAME", ".")
    unsign_support.goUnsign(backup, CMA)
    print "Patching With VHBL"
    shutil.copy(
        defs.getWorkingDir() + "/easyinstallers/VHBL/patch/PBOOT.PBP",
        CMA + "/EXTRACTED/PGAME/" + backup +
        "/game/ux0_pspemu_temp_game_PSP_GAME_" + backup + "/")
    print "Signing to: " + account
    sign_support.goSign(account, "PGAME", backup, True)
    print "Copying Savedata To " + CMA + "/PSAVEDATA/" + defs.getAid(
        account) + "/VHBL01234"
    if not os.path.exists(CMA + "/PSAVEDATA/" + defs.getAid(account) +
                          "/VHBL01234"):
        shutil.copytree(
            defs.getWorkingDir() + "/easyinstallers/VHBL/VHBL01234",
            CMA + "/PSAVEDATA/" + defs.getAid(account) + "/VHBL01234")
    import easyInstallers
    tkMessageBox.showinfo(
        title="VHBL Easy Installer",
        message=
        "VHBL Backup Created! (Note: Icon will be the same as base game)")
    easyInstallers.close_window(root)
    easyInstallers.vp_start_gui()
def sendSign(account):
    import sign_support
    sign_support.goSign(account,"APP","HIDENAPPS",True)
    tkMessageBox.showinfo(title="Hidden Applications EasyInstaller", message="Hidden Apps Backup Created. For "+account)
    close_window(root)
    import easyInstallers
    easyInstallers.close_window(root)
    easyInstallers.vp_start_gui()
示例#7
0
def sendSign(account):
    import sign_support
    sign_support.goSign(account, "APP", "PCSF00124", True)
    tkMessageBox.showinfo(title="Skype EasyInstaller",
                          message="Skype App Backup Created For: " + account)
    import easyInstallers
    easyInstallers.close_window(root)
    easyInstallers.vp_start_gui()
示例#8
0
def sendSign(account):
    import sign_support
    sign_support.goSign(account,"APP","PCSI00011",True)
    tkMessageBox.showinfo(title="PSM Runtime Package EasyInstaller", message="PSM Runtime Backup Created For: "+account)
    close_window(root)
    import easyInstallers
    easyInstallers.close_window(root)
    easyInstallers.vp_start_gui()
示例#9
0
def sendSign(account):
    import sign_support
    sign_support.goSign(account, "APP", "VITASHELL", True)
    tkMessageBox.showinfo(title="VitaShell EasyInstaller",
                          message="VitaShell Backup Created. For " + account)
    close_window(root)
    import easyInstallers
    easyInstallers.vp_start_gui()
示例#10
0
def patch(backup):
    import sign_support
    unsign_support.goUnsign(backup, CMA, False, "SYSTEM", account, ".")
    print "Patching With Featured App Removed!"
    dbPath = CMA + "/EXTRACTED/SYSTEM/" + backup + "/ur0_shell/db/app.db"
    print "Opening: " + dbPath
    appDatabase = sqlite3.connect(dbPath)
    print "Executing " + sqlQuery + "To app.db!"
    appDatabase.executescript(sqlQuery)
    appDatabase.close()
    sign_support.goSign(account, "SYSTEM", backup, ".")
    tkMessageBox.showinfo(title="FeaturedRemover", message="Backup Patched!")
    easyInstallers.vp_start_gui()
示例#11
0
def patch(backup):
    import sign_support
    unsign_support.goUnsign(backup, CMA, False, "SYSTEM", account, ".")
    print "Patching With Hacked Whitelist"
    dbPath = CMA + "/EXTRACTED/SYSTEM/" + backup + "/ur0_shell/db/app.db"
    print "Opening: " + dbPath
    appDatabase = sqlite3.connect(dbPath)
    print "Executing " + sqlQuery + "To app.db!"
    appDatabase.executescript(sqlQuery)
    appDatabase.close()
    sign_support.goSign(account, "SYSTEM", backup, True)
    tkMessageBox.showinfo(title="WHITELISTER",
                          message="Backup Patched! Restore Backup '" + backup +
                          "' To Hack Your Whitelist")
    easyInstallers.close_window(root)
    easyInstallers.vp_start_gui()
示例#12
0
def esyInstall():
    import easyInstallers
    easyInstallers.vp_start_gui()
    sys.stdout.flush()
                hencore.run()
        else:
            hencore.run()

    else:
        ### Load Custom EasyInstaller. ###
        defs.executePy(defs.getWorkingDir() + '/easyinstallers/' + plugin +
                       '/main.py')

    sys.stdout.flush()


def init(top, gui, *args, **kwargs):
    global root
    global w
    global top_level
    w = gui
    top_level = top
    root = top


def destroy_window():
    global top_level
    top_level.destroy()
    top_level = None


if __name__ == '__main__':
    import easyInstallers
    easyInstallers.vp_start_gui()