Editing PS3MFW Builder

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<div style="float:right">[[File:Mfwbuilder.png|200px|thumb|left|PS3MFW Builder v0.2]]</div>
== Main description ==
<div style="float:right">[[File:Mfw-otherosplusplus.png|200px|thumb|left|PS3MFW Builder v0.2 OtherOS++]]</div>
<div style="float:right">[[File:Mfw-rebug.png|200px|thumb|left|PS3MFW Builder v0.2 Rebug OtherOS++]]</div>


== Main description ==


== Tasks ==
== Tasks ==
<div style="float:right">[[File:Mfwbuilder.png|200px|thumb|left|PS3MFW Builder v0.2]]<br />[[File:Mfw-otherosplusplus.png|200px|thumb|left|PS3MFW Builder v0.2 OtherOS++]]<br />[[File:Mfw-rebug.png|200px|thumb|left|PS3MFW Builder v0.2 Rebug OtherOS++]]</div>


=== PS3MFW ===  
=== PS3MFW ===  
Line 11: Line 9:
**add_license_msg.tcl (0.1) - Add a custom message to the 'New Features' installation screen. Modifies PUP license.xml --license-auto-add-features : Automatically generate the enabled features of PS3MFW --license-features-message : Prefix message to the generated features list --license-message : New Features message (Appears after the license agreement)
**add_license_msg.tcl (0.1) - Add a custom message to the 'New Features' installation screen. Modifies PUP license.xml --license-auto-add-features : Automatically generate the enabled features of PS3MFW --license-features-message : Prefix message to the generated features list --license-message : New Features message (Appears after the license agreement)
**broken_bluray.tcl (0.2) – Allows you to remove Blu-Ray firmware installation so that the MFW can be installed without a working Blu-Ray drive. This is potentially dangerous if used on a PS3 with a working drive, and should only be used if the drive is broken.
**broken_bluray.tcl (0.2) – Allows you to remove Blu-Ray firmware installation so that the MFW can be installed without a working Blu-Ray drive. This is potentially dangerous if used on a PS3 with a working drive, and should only be used if the drive is broken.
**change_coldboot_files.tcl (0.2) – Advanced users only: Allows changing the sound played and image shown during the boot process. Caution: If improper files are used, this can cause a “brick” (Currently not working for me maybe it‘s getting fixed in the future).
**change_coldboot_files.tcl (0.2) – Advanced users only: Allows changing the sound played and image shown during the boot process. Caution: If improper files are used, this can cause a “brick”.
**change_devflash_files.tcl
**change_devflash_files.tcl
**change_ssl_cer.tcl (0.2) – Allows changing of SSL certificates.
**change_ssl_cer.tcl (0.2) – Allows changing of SSL certificates.
Line 35: Line 33:
**patch_xmb_plugin.tcl
**patch_xmb_plugin.tcl
**spoof_version.tcl (0.2) – Allows changing the firmware version the PS3 appears to be on, similar to the rebug spoofer.
**spoof_version.tcl (0.2) – Allows changing the firmware version the PS3 appears to be on, similar to the rebug spoofer.


=== Gitbrew OtherOS++ ===
=== Gitbrew OtherOS++ ===
Line 73: Line 74:




=== Alternate XMB Languages ===
=== PSheb project ===
* Hebrew (PSheb project 0.1)
* PSheb project 0.1 (Hebrew translation of PS3 XMB)
** Task: [https://github.com/DanyL/PS3MFW-Builder/blob/master/tasks/language_pack.tcl language_pack.tcl]
** Task: [https://github.com/DanyL/PS3MFW-Builder/blob/master/tasks/language_pack.tcl language_pack.tcl]
** Language Pack: [https://github.com/DanyL/PSheb]
** Languagepack: [https://github.com/DanyL/PSheb]
** Newsitem including screenshots for reference: http://www.ps3hax.net/2011/08/psheb-project-v0-1-hebrew-language-on-ps3/
** Newsitem including screenshots for reference: http://www.ps3hax.net/2011/08/psheb-project-v0-1-hebrew-language-on-ps3/
* Greek (ErMaK86's Translation for 4.80/4.81)
** Language Pack: [http://www.mediafire.com/file/5ya93a6duvu7wo7/Greek-ErMaK86.LP]


==== Guide for adding other translations / building languagepacks ====
==== Guide for adding other translations / building languagepacks ====
Line 129: Line 127:
=== more Spoof ===
=== more Spoof ===
Copypaste and save as spoof_version.tcl in tasks folder (make sure you use proper ps3mfw_base.tcl from 0.2 or [http://pastie.org/private/1u5p6jfd5mhxeleiibadg unofficial v0.2.1 OtherOS++] and not the glevand or rebug version that reduced/castrated the spoof method):
Copypaste and save as spoof_version.tcl in tasks folder (make sure you use proper ps3mfw_base.tcl from 0.2 or [http://pastie.org/private/1u5p6jfd5mhxeleiibadg unofficial v0.2.1 OtherOS++] and not the glevand or rebug version that reduced/castrated the spoof method):
{{Boxcode|code=<syntaxhighlight lang="tcl">
{{Boxcode|content=<syntaxhighlight lang="tcl">




Line 338: Line 336:
=== more GameOS/OtherOS++ sizes ===
=== more GameOS/OtherOS++ sizes ===
Copypaste and save as patch_emer_init.tcl in tasks folder:
Copypaste and save as patch_emer_init.tcl in tasks folder:
{{Boxcode|code=<syntaxhighlight lang="tcl">
{{Boxcode|content=<syntaxhighlight lang="tcl">
#!/usr/bin/tclsh
#!/usr/bin/tclsh
#
#
Line 619: Line 617:
Allows you to remove Bluetooth firmware installation so that the MFW can be installed without a working Bluetooth board (circumventing errorcode 0x8002F1F9). This is potentially dangerous if used on a PS3 with a working BT/Wifi board, and should only be used if the BT/Wifi is broken (or abcent, like on Arcade consoles).
Allows you to remove Bluetooth firmware installation so that the MFW can be installed without a working Bluetooth board (circumventing errorcode 0x8002F1F9). This is potentially dangerous if used on a PS3 with a working BT/Wifi board, and should only be used if the BT/Wifi is broken (or abcent, like on Arcade consoles).


{{Boxcode|code=<syntaxhighlight lang="tcl">
{{Boxcode|content=<syntaxhighlight lang="tcl">
#!/usr/bin/tclsh
#!/usr/bin/tclsh
#
#
Line 667: Line 665:
=== Patch package installer for older (2.70) version support ===
=== Patch package installer for older (2.70) version support ===
save as patch_nas_plugin.tcl in task folder and only select 1 allow-debug-pkg or allow-debug-pkg-270 subtask at the same time, depending on target firmware.
save as patch_nas_plugin.tcl in task folder and only select 1 allow-debug-pkg or allow-debug-pkg-270 subtask at the same time, depending on target firmware.
{{Boxcode|code=<syntaxhighlight lang="tcl">
{{Boxcode|content=<syntaxhighlight lang="tcl">
#!/usr/bin/tclsh
#!/usr/bin/tclsh
#
#
Line 753: Line 751:
Copypaste and save as patch_epilepsy.tcl
Copypaste and save as patch_epilepsy.tcl


{{Boxcode|code=<syntaxhighlight lang="tcl">
{{Boxcode|content=<syntaxhighlight lang="tcl">
#!/usr/bin/tclsh
#!/usr/bin/tclsh
#
#
Line 769: Line 767:
# Description: [4.xx] Patch to disable epilepsy message
# Description: [4.xx] Patch to disable epilepsy message


# Option --patch-epilepsy-cex: [4.xx] Patch to disable the epilepsy message on cex cfw!
# Option --patch-disable-epilepsy-message-on-cex: [4.xx] Patch to disable the epilepsy message on cex cfw!
# Option --patch-epilepsy-dex: [4.xx] Patch to disable the epilepsy message on dex cfw!
# Option --patch-disable-epilepsy-message-on-dex: [4.xx] Patch to disable the epilepsy message on dex cfw!
# Option --patch-epilepsy-rebug: [4.xx] Patch to disable the epilepsy message on rebug cfw!
# Option --patch-disable-epilepsy-message-on-rebug: [4.xx] Patch to disable the epilepsy message on rebug cfw!


# Type --patch-epilepsy-cex: boolean
# Type --patch-disable-epilepsy-message-on-cex: boolean
# Type --patch-epilepsy-dex: boolean
# Type --patch-disable-epilepsy-message-on-dex: boolean
# Type --patch-epilepsy-rebug: boolean
# Type --patch-disable-epilepsy-message-on-rebug: boolean


namespace eval ::patch_epilepsy {
namespace eval ::patch_epilepsy {


     array set ::patch_epilepsy::options {
     array set ::patch_epilepsy::options {
         --patch-epilepsy-cex true
         --patch-disable-epilepsy-message-on-cex true
--patch-epilepsy-dex false
--patch-disable-epilepsy-message-on-dex false
--patch-epilepsy-rebug false
--patch-disable-epilepsy-message-on-rebug false
     }
     }


     proc main { } {
     proc main {} {
variable options
    set self [file join dev_flash vsh module vsh.self]
set ::SELF "vsh.self"
        if { ${::OLDROUTINE} == "1" } {
::modify_devflash_file $self ::patch_epilepsy::patch_self
} elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_file2 $self ::patch_epilepsy::patch_self
}
}


        if {$::patch_epilepsy::options(--patch-epilepsy-cex)} {
    proc patch_self { self } {
            set selfs {vsh.self}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_epilepsy::patch_epilepsy_cex_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_epilepsy::patch_epilepsy_cex_self
}
}
        if {$::patch_epilepsy::options(--patch-epilepsy-dex)} {
            set selfs {vsh.self}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_epilepsy::patch_epilepsy_dex_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_epilepsy::patch_epilepsy_dex_self
}
}
if {$::patch_epilepsy::options(--patch-epilepsy-rebug)} {
            set selfs1 {vsh.self vsh.self.swp}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs1 ::patch_epilepsy::patch1_epilepsy_rebug_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs1 ::patch_epilepsy::patch1_epilepsy_rebug_self
}
set selfs2 {vsh.self.cexsp}
             if { ${::OLDROUTINE} == "1" } {
             if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs2 ::patch_epilepsy::patch2_epilepsy_rebug_self
::modify_self_file $self ::patch_epilepsy::patch_elf
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs2 ::patch_epilepsy::patch2_epilepsy_rebug_self
}
}
    }
proc patch_epilepsy_cex_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_epilepsy::patch_epilepsy_cex_elf
} elseif { ${::OLDROUTINE} == "0" } {
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_epilepsy::patch_epilepsy_cex_elf
::modify_self_file2 $self ::patch_epilepsy::patch_elf
}
}
     }
     }
     proc patch_epilepsy_cex_elf {elf} {
 
         if {$::patch_epilepsy::options(--patch-epilepsy-cex)} {
     proc patch_elf { elf } {
         if {$::patch_epilepsy::options(--patch-disable-epilepsy-message-on-cex) } {
             log "Patching [file tail $elf] to disable epilepsy message on cex cfw"
             log "Patching [file tail $elf] to disable epilepsy message on cex cfw"
log "Added by Ezio"
log "Added by Ezio"
             set search  "\x00\x00\x00\x02\x00\x00\x00\x01\x02\x01\x01\x01\xff\xff\xff\xff"
             set search  "\x00\x00\x00\x02\x00\x00\x00\x01\x02\x01\x01\x01\xff\xff\xff\xff"
set replace "\x00\x00\x00\x02\x00\x00\x00\x01\x02\x00\x01\x01\xff\xff\xff\xff"
set replace "\x00\x00\x00\x02\x00\x00\x00\x01\x02\x00\x01\x01\xff\xff\xff\xff"
             catch_die {::patch_file_multi $elf $search 0 $replace} \
 
                "Unable to patch self [file tail $elf]"
             catch_die {::patch_elf $elf $search 0 $replace} \
"Unable to patch self [file tail $elf]"
         }
         }
    }
 
if {$::patch_epilepsy::options(--patch-disable-epilepsy-message-on-dex) } {
proc patch_epilepsy_dex_self {self} {
    log "Patching [file tail $elf] to disable epilepsy message on dex cfw"
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_epilepsy::patch_epilepsy_dex_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_epilepsy::patch_epilepsy_dex_elf
}
    }
    proc patch_epilepsy_dex_elf {elf} {
        if {$::patch_epilepsy::options(--patch-epilepsy-dex)} {
            log "Patching [file tail $elf] to disable epilepsy message on dex cfw"
log "Added by Ezio"
log "Added by Ezio"
set search  "\x00\x00\x00\x00\x00\x00\x00\x00\x01\x01\x01\x00\xff\xff\xff\xff"
set search  "\x00\x00\x00\x00\x00\x00\x00\x00\x01\x01\x01\x00\xff\xff\xff\xff"
set replace "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x01\x00\xff\xff\xff\xff"
set replace "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x01\x00\xff\xff\xff\xff"
            catch_die {::patch_elf $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
catch_die {::patch_elf $elf $search 2 $replace} \
        }
"Unable to patch self [file tail $elf]"
    }
}
 
proc patch1_epilepsy_rebug_self {self} {
if {$::patch_epilepsy::options(--patch-disable-epilepsy-message-on-rebug) } {
if { ${::OLDROUTINE} == "1" } {
    log "Patching [file tail $elf] to disable epilepsy message on rebug cfw"
::modify_self_file $self ::patch_epilepsy::patch1_epilepsy_rebug_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_epilepsy::patch1_epilepsy_rebug_elf
}
    }
    proc patch1_epilepsy_rebug_elf {elf} {
        if {$::patch_epilepsy::options(--patch-epilepsy-rebug)} {
            log "Patching [file tail $elf] to disable epilepsy message on rebug cfw"
log "Added by Ezio"
log "Added by Ezio"
set search  "\x00\x00\x00\x00\x00\x00\x00\x00\x01\x01\x01\x00\xff\xff\xff\xff"
            set search  "\x00\x00\x00\x00\x00\x00\x00\x00\x01\x01\x01\x00\xff\xff\xff\xff"
set replace "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x01\x00\xff\xff\xff\xff"
set replace "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x01\x00\xff\xff\xff\xff"
            catch_die {::patch_elf $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
catch_die {::patch_elf $elf $search 0 $replace} \
        }
"Unable to patch self [file tail $elf]"
    }
}
proc patch2_epilepsy_rebug_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_epilepsy::patch2_epilepsy_rebug_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_epilepsy::patch2_epilepsy_rebug_elf
}
    }
    proc patch2_epilepsy_rebug_elf {elf} {
        if {$::patch_epilepsy::options(--patch-epilepsy-rebug)} {
            log "Patching [file tail $elf] to disable epilepsy message on rebug cfw"
log "Added by Ezio"
set search  "\x00\x00\x00\x02\x00\x00\x00\x01\x02\x01\x01\x01\xff\xff\xff\xff"
set replace "\x00\x00\x00\x02\x00\x00\x00\x01\x02\x00\x01\x01\xff\xff\xff\xff"
            catch_die {::patch_elf $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
     }
     }
}
}
</syntaxhighlight>}}
</syntaxhighlight>}}
http://www.psdevwiki.com/ps3/Patches#disable_epilepsy_message
http://www.psdevwiki.com/ps3/Patches#disable_epilepsy_message
Line 901: Line 844:


http://pastebin.com/NULiKT5j
http://pastebin.com/NULiKT5j
=== Patch all self/sprx to secure privacy ===
Copypaste and save as patch_privacy_all.tcl
{{Boxcode|code=<syntaxhighlight lang="tcl">
#!/usr/bin/tclsh
#
# ps3mfw -- PS3 MFW creator
#
# Copyright (C) Anonymous Developers (Code Monkeys)
#
# This software is distributed under the terms of the GNU General Public
# License ("GPL") version 3, as published by the Free Software Foundation.
#
# Modified and fixed by Ezio
# Priority: 105
# Description: Patch all self/sprx to secure privacy
# Option --patch-playstati0n-net: Patch additional communication with playstation.net - [Warning]: use it only on 3.40-3.66 fw
# Option --patch-playstation-net: Patch all communications with playstation.net
# Option --patch-playstation-org: Patch all communications with playstation.org
# Option --patch-sony-com: Patch all communications with sony.com - [Warning]: use it only on 3.40-4.11 fw
# Option --patch-sony-co-jp: Patch all communications with sony.co.jp - [Warning]: use it only on 4.50 and lower fw
# Option --patch-bitwallet: Patch all communications with bitwallet.co.jp
# Option --patch-qriocity: Patch all communications with qriocity.com - [Warning]: use it only on 3.10-4.26 fw
# Option --patch-trendmicro: Patch all communications with trendmicro.com
# Option --patch-allmusic: Patch all communications with allmusic.com
# Option --patch-intertrust: Patch all communications with intertrust.com
# Option --patch-marlin-drm: Patch all communications with marlin-drm.com
# Option --patch-marlin-tmo: Patch all communications with marlin-tmo.com
# Option --patch-oasis-open: Patch all communications with oasis-open.org
# Option --patch-octopus-drm: Patch all communications with octopus-drm.com
# Option --patch-facebook: Patch all communications with facebook.com
# Option --patch-dtcp: Patch all communications with dtcp.com
# Option --patch-purl: Patch all communications with purl.org
# Option --patch-xmlsoap: Patch all communications with xmlsoap.org
# Type --patch-playstati0n-net: boolean
# Type --patch-playstation-net: boolean
# Type --patch-playstation-org: boolean
# Type --patch-sony-com: boolean
# Type --patch-sony-co-jp: boolean
# Type --patch-bitwallet: boolean
# Type --patch-qriocity: boolean
# Type --patch-trendmicro: boolean
# Type --patch-allmusic: boolean
# Type --patch-intertrust: boolean
# Type --patch-marlin-drm: boolean
# Type --patch-marlin-tmo: boolean
# Type --patch-oasis-open: boolean
# Type --patch-octopus-drm: boolean
# Type --patch-facebook: boolean
# Type --patch-dtcp: boolean
# Type --patch-purl: boolean
# Type --patch-xmlsoap: boolean
namespace eval ::patch_privacy_all {
    array set ::patch_privacy_all::options {
        --patch-allmusic true
        --patch-bitwallet true
--patch-dtcp true
--patch-facebook true
        --patch-intertrust true
        --patch-marlin-drm true
        --patch-marlin-tmo true
        --patch-oasis-open true
        --patch-octopus-drm true
        --patch-playstation-net true
--patch-playstati0n-net false
        --patch-playstation-org true
--patch-purl true
        --patch-qriocity false
        --patch-sony-com false
--patch-sony-co-jp false
        --patch-trendmicro true
--patch-xmlsoap true
    }
    proc main { } {
variable options
        if {$::patch_privacy_all::options(--patch-allmusic)} {
            set selfs {x3_amgsdk.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_allmusic_com_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_allmusic_com_self
}
}
        if {$::patch_privacy_all::options(--patch-bitwallet)} {
            set selfs {edy_plugin.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_bitwallet_co_jp_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_bitwallet_co_jp_self
}
}
if {$::patch_privacy_all::options(--patch-dtcp)} {
            set selfs {mintx_client.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_dtcp_com_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_dtcp_com_self
}
}
if {$::patch_privacy_all::options(--patch-facebook)} {
            set selfs {eula_net_plugin.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_facebook_com_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_facebook_com_self
}
}
        if {$::patch_privacy_all::options(--patch-intertrust)} {
            set selfs {mcore.self msmw2.sprx}
            if { ${::OLDROUTINE} == "1" } {
    ::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_intertrust_com_self
            } elseif { ${::OLDROUTINE} == "0" } {
        ::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_intertrust_com_self
}
}
        if {$::patch_privacy_all::options(--patch-marlin-drm)} {
            set selfs {mcore.self}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_marlin_drm_com_self
            } elseif { ${::OLDROUTINE} == "0" } {
    ::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_marlin_drm_com_self
}
}
        if {$::patch_privacy_all::options(--patch-marlin-tmo)} {
            set selfs {mcore.self msmw2.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_marlin_tmo_com_self
            } elseif { ${::OLDROUTINE} == "0" } {
    ::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_marlin_tmo_com_self
}
}
        if {$::patch_privacy_all::options(--patch-oasis-open)} {
            set selfs {mcore.self msmw2.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_oasis_open_org_self
            } elseif { ${::OLDROUTINE} == "0" } {
    ::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_oasis_open_org_self
}
}
        if {$::patch_privacy_all::options(--patch-octopus-drm)} {
            set selfs {mcore.self msmw2.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_octopus_drm_com_self
            } elseif { ${::OLDROUTINE} == "0" } {
    ::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_octopus_drm_com_self
}
}
if {$::patch_privacy_all::options(--patch-playstati0n-net)} {
        set selfs {sysconf_plugin.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch0_playstation_net_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch0_playstation_net_self
}
}
        if {$::patch_privacy_all::options(--patch-playstation-net)} {
        set selfs1 {libad_core.sprx libmedi.sprx libsysutil_np_commerce2.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash sys external] $selfs1 ::patch_privacy_all::patch1_playstation_net_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash sys external] $selfs1 ::patch_privacy_all::patch1_playstation_net_self
}
        set selfs2 {game_ext_plugin.sprx np_eula_plugin.sprx photo_network_sharing_plugin.sprx x3_mdimp11.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs2 ::patch_privacy_all::patch1_playstation_net_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs2 ::patch_privacy_all::patch1_playstation_net_self
}
}
if {$::patch_privacy_all::options(--patch-playstation-net)} {
        set selfs1 {libsysutil_np_clans.sprx libsysutil_np_util.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash sys external] $selfs1 ::patch_privacy_all::patch2_playstation_net_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash sys external] $selfs1 ::patch_privacy_all::patch2_playstation_net_self
}
        set selfs2 {autodownload_plugin.sprx download_plugin.sprx esehttp.sprx eula_cddb_plugin.sprx eula_hcopy_plugin.sprx eula_net_plugin.sprx explore_category_friend.sprx explore_category_game.sprx explore_category_music.sprx explore_category_network.sprx explore_category_photo.sprx explore_category_psn.sprx explore_category_sysconf.sprx explore_category_tv.sprx explore_category_user.sprx explore_category_video.sprx explore_plugin.sprx explore_plugin_ft.sprx explore_plugin_np.sprx friendtrophy_plugin.sprx hknw_plugin.sprx nas_plugin.sprx newstore_plugin.sprx np_trophy_plugin.sprx np_trophy_util.sprx profile_plugin.sprx regcam_plugin.sprx videoeditor_plugin.sprx videoplayer_plugin.sprx videoplayer_util.sprx vsh.self x3_mdimp7.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs2 ::patch_privacy_all::patch2_playstation_net_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs2 ::patch_privacy_all::patch2_playstation_net_self
}
}
        if {$::patch_privacy_all::options(--patch-playstation-org)} {
            set selfs {netconf_plugin.sprx sysconf_plugin.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_playstation_org_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_playstation_org_self
}
}
if {$::patch_privacy_all::options(--patch-purl)} {
            set selfs {mintx_client.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_purl_org_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_purl_org_self
}
}
        if {$::patch_privacy_all::options(--patch-qriocity)} {
            set selfs {regcam_plugin.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_qriocity_com_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_qriocity_com_self
}
}
        if {$::patch_privacy_all::options(--patch-sony-com)} {
            set selfs {eula_net_plugin.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_sony_com_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_sony_com_self
}
}
        if {$::patch_privacy_all::options(--patch-sony-co-jp)} {
            set selfs {videodownloader_plugin.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_sony_co_jp_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_sony_co_jp_self
}
}
        if {$::patch_privacy_all::options(--patch-trendmicro)} {
            set selfs {silk.sprx silk_nas.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_trendmicro_com_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_trendmicro_com_self
}
}
if {$::patch_privacy_all::options(--patch-xmlsoap)} {
            set selfs {mintx_client.sprx}
            if { ${::OLDROUTINE} == "1" } {
::modify_devflash_files [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_xmlsoap_org_self
            } elseif { ${::OLDROUTINE} == "0" } {
::modify_devflash_files2 [file join dev_flash vsh module] $selfs ::patch_privacy_all::patch_xmlsoap_org_self
}
}
    }
proc patch0_playstation_net_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch0_playstation_net_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch0_playstation_net_elf
}
    }
    proc patch0_playstation_net_elf {elf} {
        if {$::patch_privacy_all::options(--patch-playstati0n-net)} {
            log "Patching [file tail $elf] to disable communication with playstation.net"
#          playstation.net
            set search  "\x70\x6c\x61\x79\x73\x74\x61\x74\x69\x6f\x6e\x2e\x6e\x65\x74"
#          aaaaaaaaaaa.net
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x6e\x65\x74"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch1_playstation_net_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch1_playstation_net_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch1_playstation_net_elf
}
    }
    proc patch1_playstation_net_elf {elf} {
        if {$::patch_privacy_all::options(--patch-playstation-net)} {
            log "Patching [file tail $elf] to disable communication with playstation.net"
#          playstation.net
            set search  "\x70\x6c\x61\x79\x73\x74\x61\x74\x69\x6f\x6e\x2e\x6e\x65\x74"
#          aaaaaaaaaaa.net
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x6e\x65\x74"
            catch_die {::patch_elf $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch2_playstation_net_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch2_playstation_net_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch2_playstation_net_elf
}
    }
    proc patch2_playstation_net_elf {elf} {
        if {$::patch_privacy_all::options(--patch-playstation-net)} {
            log "Patching [file tail $elf] to disable communication with playstation.net"
#          playstation.net
            set search  "\x70\x6c\x61\x79\x73\x74\x61\x74\x69\x6f\x6e\x2e\x6e\x65\x74"
#          aaaaaaaaaaa.net
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x6e\x65\x74"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_playstation_org_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_playstation_org_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_playstation_org_elf
}
    }
    proc patch_playstation_org_elf {elf} {
        if {$::patch_privacy_all::options(--patch-playstation-org)} {
            log "Patching [file tail $elf] to disable communication with playstation.org"
#          playstation.org
            set search  "\x70\x6c\x61\x79\x73\x74\x61\x74\x69\x6f\x6e\x2e\x6f\x72\x67"
#          aaaaaaaaaaa.org
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x6f\x72\x67"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_sony_com_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_sony_com_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_sony_com_elf
}
    }
    proc patch_sony_com_elf {elf} {
        if {$::patch_privacy_all::options(--patch-sony-com)} {
            log "Patching [file tail $elf] to disable communication with sony.com"
#          sony.com
            set search  "\x73\x6f\x6e\x79\x2e\x63\x6f\x6d"
#          aaaa.com
            set replace "\x61\x61\x61\x61\x2e\x63\x6f\x6d"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_sony_co_jp_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_sony_co_jp_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_sony_co_jp_elf
}
    }
    proc patch_sony_co_jp_elf {elf} {
        if {$::patch_privacy_all::options(--patch-sony-co-jp)} {
            log "Patching [file tail $elf] to disable communication with sony.co.jp"
#          sony.co.jp
            set search  "\x73\x6f\x6e\x79\x2e\x63\x6f\x2e\x6a\x70"
#          aaaa.co.jp
            set replace "\x61\x61\x61\x61\x2e\x63\x6f\x2e\x6a\x70"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_bitwallet_co_jp_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_bitwallet_co_jp_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_bitwallet_co_jp_elf
}
    }
    proc patch_bitwallet_co_jp_elf {elf} {
        if {$::patch_privacy_all::options(--patch-bitwallet)} {
            log "Patching [file tail $elf] to disable communication with bitwallet.co.jp"
#          bitwallet.co.jp
            set search  "\x62\x69\x74\x77\x61\x6c\x6c\x65\x74\x2e\x63\x6f\x2e\x6a\x70"
#          aaaaaaaaa.co.jp
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x63\x6f\x2e\x6a\x70"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_qriocity_com_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_qriocity_com_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_qriocity_com_elf
}
    }
    proc patch_qriocity_com_elf {elf} {
        if {$::patch_privacy_all::options(--patch-qriocity)} {
            log "Patching [file tail $elf] to disable communication with qriocity.com"
#          qriocity.com
            set search  "\x71\x72\x69\x6f\x63\x69\x74\x79\x2e\x63\x6f\x6d"
#          aaaaaaaa.com
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x63\x6f\x6d"
            catch_die {::patch_elf $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_trendmicro_com_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_trendmicro_com_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_trendmicro_com_elf
}
    }
    proc patch_trendmicro_com_elf {elf} {
        if {$::patch_privacy_all::options(--patch-trendmicro)} {
            log "Patching [file tail $elf] to disable communication with trendmicro.com"
#          trendmicro.com
            set search  "\x74\x72\x65\x6e\x64\x6d\x69\x63\x72\x6f\x2e\x63\x6f\x6d"
#          aaaaaaaaaa.com
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x63\x6f\x6d"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_allmusic_com_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_allmusic_com_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_allmusic_com_elf
}
    }
    proc patch_allmusic_com_elf {elf} {
        if {$::patch_privacy_all::options(--patch-allmusic)} {
            log "Patching [file tail $elf] to disable communication with allmusic.com"
#          allmusic.com
            set search  "\x61\x6c\x6c\x6d\x75\x73\x69\x63\x2e\x63\x6f\x6d"
#          aaaaaaaa.com
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x63\x6f\x6d"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_intertrust_com_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_intertrust_com_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_intertrust_com_elf
}
    }
    proc patch_intertrust_com_elf {elf} {
        if {$::patch_privacy_all::options(--patch-intertrust)} {
            log "Patching [file tail $elf] to disable communication with intertrust.com"
#          intertrust.com
            set search  "\x69\x6e\x74\x65\x72\x74\x72\x75\x73\x74\x2e\x63\x6f\x6d"
#          aaaaaaaaaa.com
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x63\x6f\x6d"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_marlin_tmo_com_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_marlin_tmo_com_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_marlin_tmo_com_elf
}
    }
    proc patch_marlin_tmo_com_elf {elf} {
        if {$::patch_privacy_all::options(--patch-marlin-tmo)} {
            log "Patching [file tail $elf] to disable communication with marlin-tmo.com"
#          marlin-tmo.com
            set search  "\x6d\x61\x72\x6c\x69\x6e\x2d\x74\x6d\x6f\x2e\x63\x6f\x6d"
#          aaaaaaaaaa.com
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x63\x6f\x6d"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_marlin_drm_com_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_marlin_drm_com_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_marlin_drm_com_elf
}
    }
    proc patch_marlin_drm_com_elf {elf} {
        if {$::patch_privacy_all::options(--patch-marlin-drm)} {
            log "Patching [file tail $elf] to disable communication with marlin-drm.com"
#          marlin-drm.com
            set search  "\x6d\x61\x72\x6c\x69\x6e\x2d\x64\x72\x6d\x2e\x63\x6f\x6d"
#          aaaaaaaaaa.com
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x63\x6f\x6d"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_oasis_open_org_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_oasis_open_org_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_oasis_open_org_elf
}
    }
    proc patch_oasis_open_org_elf {elf} {
        if {$::patch_privacy_all::options(--patch-oasis-open)} {
            log "Patching [file tail $elf] to disable communication with oasis-open.org"
#          oasis-open.org
            set search  "\x6f\x61\x73\x69\x73\x2d\x6f\x70\x65\x6e\x2e\x6f\x72\x67"
#          aaaaaaaaaa.org
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x6f\x72\x67"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_octopus_drm_com_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_octopus_drm_com_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_octopus_drm_com_elf
}
    }
    proc patch_octopus_drm_com_elf {elf} {
        if {$::patch_privacy_all::options(--patch-octopus-drm)} {
            log "Patching [file tail $elf] to disable communication with octopus-drm.com"
#          octopus-drm.com
            set search  "\x6f\x63\x74\x6f\x70\x75\x73\x2d\x64\x72\x6d\x2e\x63\x6f\x6d"
#          aaaaaaaaaaa.com
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x63\x6f\x6d"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_facebook_com_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_facebook_com_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_facebook_com_elf
}
    }
    proc patch_facebook_com_elf {elf} {
        if {$::patch_privacy_all::options(--patch-facebook)} {
            log "Patching [file tail $elf] to disable communication with facebook.com"
#          facebook.com
            set search  "\x66\x61\x63\x65\x62\x6f\x6f\x6b\x2e\x63\x6f\x6d"
#          aaaaaaaa.com
            set replace "\x61\x61\x61\x61\x61\x61\x61\x61\x2e\x63\x6f\x6d"
            catch_die {::patch_elf $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
    proc patch_dtcp_com_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_dtcp_com_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_dtcp_com_elf
}
    }
    proc patch_dtcp_com_elf {elf} {
if {$::patch_privacy_all::options(--patch-dtcp)} {
            log "Patching [file tail $elf] to disable communication with dtcp.com"
#          dtcp.com
            set search  "\x64\x74\x63\x70\x2e\x63\x6f\x6d"
#          aaaa.com
            set replace "\x61\x61\x61\x61\x2e\x63\x6f\x6d"
            catch_die {::patch_elf $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_purl_org_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_purl_org_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_purl_org_elf
}
    }
    proc patch_purl_org_elf {elf} {
if {$::patch_privacy_all::options(--patch-purl)} {
            log "Patching [file tail $elf] to disable communication with purl.org"
#          purl.org
            set search  "\x70\x75\x72\x6c\x2e\x6f\x72\x67"
#          aaaa.com
            set replace "\x61\x61\x61\x61\x2e\x63\x6f\x6d"
            catch_die {::patch_elf $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
proc patch_xmlsoap_org_self {self} {
if { ${::OLDROUTINE} == "1" } {
::modify_self_file $self ::patch_privacy_all::patch_xmlsoap_org_elf
} elseif { ${::OLDROUTINE} == "0" } {
::modify_self_file2 $self ::patch_privacy_all::patch_xmlsoap_org_elf
}
    }
    proc patch_xmlsoap_org_elf {elf} {
if {$::patch_privacy_all::options(--patch-xmlsoap)} {
            log "Patching [file tail $elf] to disable communication with xmlsoap.org"
#          xmlsoap.org
            set search  "\x78\x6d\x6c\x73\x6f\x61\x70\x2e\x6f\x72\x67"
#          aaaaaaa.com
            set replace "\x61\x61\x61\x61\x61\x61\x61\x2e\x63\x6f\x6d"
            catch_die {::patch_file_multi $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
}
</syntaxhighlight>}}


== Using console / shellscript ==
== Using console / shellscript ==
Line 1,535: Line 865:
===Example of PS3MFW Builder 0.2.3 tasks===
===Example of PS3MFW Builder 0.2.3 tasks===
{{Keyboard|content=<syntaxhighlight lang="bash">
{{Keyboard|content=<syntaxhighlight lang="bash">
ps3mfw.exe %1 "Y:\PS3-Firmwares\OFW430.PUP" ""Z:/MFWOtherOS-out/MFW430.PUP" --gui false --debug true --patch_pup --pup-build "" --version-string "" --version-suffix "PSDEVWIKI" --patch_lv1 --patch-lv1-peek-poke true --patch-lv1-remove-lv2-protection true --patch-lv1-sysmgr-disable-integrity-check-4x true --patch-lv1-coreos-hash-check true --patch_cos --patch-lv0-coreos-ecdsa-check true --patch-spkg-ecdsa-check true --patch-pup-search-in-game-disc true --patch-lv2-peek-poke-4x true --patch-lv2-lv1-peek-poke-4x true --patch-lv2-npdrm-ecdsa-check true --patch-lv2-payload-hermes-4x true --patch-lv2-SC36-4x true --patch_xmb --add-install-pkg true --patch-act-pkg true --add-hb-seg true --patch-app-home true --patch-ren-apphome true --patch-alpha-sort true --patch-rape-sfo true --patch_vsh --allow-pseudoretail-pkg true --allow-debug-pkg true --patch-vsh-react-psn-v2-4x true
ps3mfw.exe %1 "Y:\PS3-Firmwares\OFW430.PUP" ""Z:/MFWOtherOS-out/MFW430.PUP" --gui false --debug true --patch_pup --pup-build "" --version-string "" --version-suffix "PS3DEVWIKI" --patch_lv1 --patch-lv1-peek-poke true --patch-lv1-remove-lv2-protection true --patch-lv1-sysmgr-disable-integrity-check-4x true --patch-lv1-coreos-hash-check true --patch_cos --patch-lv0-coreos-ecdsa-check true --patch-spkg-ecdsa-check true --patch-pup-search-in-game-disc true --patch-lv2-peek-poke-4x true --patch-lv2-lv1-peek-poke-4x true --patch-lv2-npdrm-ecdsa-check true --patch-lv2-payload-hermes-4x true --patch-lv2-SC36-4x true --patch_xmb --add-install-pkg true --patch-act-pkg true --add-hb-seg true --patch-app-home true --patch-ren-apphome true --patch-alpha-sort true --patch-rape-sfo true --patch_vsh --allow-pseudoretail-pkg true --allow-debug-pkg true --patch-vsh-react-psn-v2-4x true
</syntaxhighlight>}}
</syntaxhighlight>}}


Line 1,590: Line 920:




{{Custom Firmware}}<noinclude>[[Category:Main]]</noinclude>
{{System Firmware}}<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)