|
|
(22 intermediate revisions by 5 users not shown) |
Line 2: |
Line 2: |
|
| |
|
| original wiki is here : http://wiki.gitbrew.org/ but some content is listed here for convenience because of the recent failures of that server/hosting. | | original wiki is here : http://wiki.gitbrew.org/ but some content is listed here for convenience because of the recent failures of that server/hosting. |
| | |
| | == Detailed Guides To Install Linux (Debian, Ubuntu, Yellow Dog Linux) On A PS3 == |
| | [http://www.ps3hax.net/2012/12/detailed-guides-to-install-linux-debian-ubuntu-yellow-dog-linux-on-a-ps3/ Detailed Guides To Install Linux (Debian, Ubuntu, Yellow Dog Linux) On A PS3] |
| | |
| | == PS3 MFW Builder Task compatibility == |
| | |
| | === 3.15 === |
| | fails @ line 185 of patch_lv1.tcl --patch-lv1-dispmgr-access: Allow access to all SS services (Needed for ps3dm-utils) :: Patching Dispatcher Manager to allow access to all SS services |
| | Patching Dispatcher Manager to allow access to all SS services |
| | Executing command ::patch_elf $elf $search 12 $replace |
| | offset: 3798788 |
| | Executing command ::patch_elf $elf $search 8 $replace |
| | FATAL ERROR: Unable to patch self lv1.self.elf : Could not find pattern to patch |
| | See ps3mfw.log for more info |
| | Last lines of log : |
| | ***************** |
| | Executing command ::patch_elf $elf $search 4 $replace |
| | offset: 1062204 |
| | Patching LV1 hypervisor to allow ENCDEC IOCTL command 0x85 |
| | Executing command ::patch_elf $elf $search 4 $replace |
| | offset: 604772 |
| | Patching Dispatcher Manager to allow access to all SS services |
| | Executing command ::patch_elf $elf $search 12 $replace |
| | offset: 3798788 |
| | Executing command ::patch_elf $elf $search 8 $replace |
| | FATAL ERROR: Unable to patch self lv1.self.elf : Could not find pattern to patch |
| | ***************** |
| | Error running script: Unable to patch self lv1.self.elf : Could not find pattern to patch |
| | |
| | fails @ line 304 of patch_lv1.tcl --patch-lv1-otheros-plus-plus: OtherOS++ support :: Patching Secure LPAR Loader to add OtherOS++ support |
| | Patching Secure LPAR Loader to add OtherOS++ support |
| | FATAL ERROR: Unable to patch self lv1.self.elf : Could not find pattern to patch |
| | See ps3mfw.log for more info |
| | Last lines of log : |
| | ***************** |
| | Patching Update Manager to enable extracting for all package types |
| | Patching Update Manager to enable setting product mode by using Update Manager Write EPROM |
| | Patching Storage Manager to allow deleting of all ENCDEC keys |
| | Patching LV1 hypervisor to allow creating/modifying/deleting of repository nodes in any LPAR |
| | Patching System Manager to disable integrity check |
| | Patching System Manager ability mask of GameOS to allow access to all System Manager services |
| | Patching Initial GuestOS Loader to enable GuestOS mode 1 for GameOS |
| | Patching LV1 to enable skipping of ACL checks for all storage devices |
| | Patching Secure LPAR Loader to add OtherOS++ support |
| | FATAL ERROR: Unable to patch self lv1.self.elf : Could not find pattern to patch |
| | ***************** |
| | Error running script: Unable to patch self lv1.self.elf : Could not find pattern to patch |
| | |
| | |
|
| |
|
|
| |
|
| ---- | | ---- |
|
| |
|
| |
|
| == Google cache Sitemap== | | == Google cache Sitemap== |
Line 66: |
Line 114: |
|
| |
|
| == Other values for emer_init.self MFW task == | | == Other values for emer_init.self MFW task == |
|
| |
| <pre>
| |
| #!/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.
| |
| #
| |
|
| |
| # Priority: 300
| |
| # Description: Patch emergency init
| |
|
| |
| # Option --patch-emer-init-gameos-hdd-region-size-half: Create GameOS HDD region of size half of installed HDD
| |
| # Option --patch-emer-init-gameos-hdd-region-size-quarter: Create GameOS HDD region of size quarter of installed HDD
| |
| # Option --patch-emer-init-gameos-hdd-region-size-eighth: Create GameOS HDD region of size eighth of installed HDD
| |
| # Option --patch-emer-init-gameos-hdd-region-size-22gb-smaller: Create GameOS HDD region of size 22GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-10gb-smaller: Create GameOS HDD region of size 10GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-20gb-smaller: Create GameOS HDD region of size 20GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-30gb-smaller: Create GameOS HDD region of size 30GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-40gb-smaller: Create GameOS HDD region of size 40GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-50gb-smaller: Create GameOS HDD region of size 50GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-60gb-smaller: Create GameOS HDD region of size 60GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-70gb-smaller: Create GameOS HDD region of size 70GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-80gb-smaller: Create GameOS HDD region of size 80GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-90gb-smaller: Create GameOS HDD region of size 90GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-100gb-smaller: Create GameOS HDD region of size 100GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-110gb-smaller: Create GameOS HDD region of size 110GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-120gb-smaller: Create GameOS HDD region of size 120GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-130gb-smaller: Create GameOS HDD region of size 130GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-140gb-smaller: Create GameOS HDD region of size 140GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-150gb-smaller: Create GameOS HDD region of size 150GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-160gb-smaller: Create GameOS HDD region of size 160GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-170gb-smaller: Create GameOS HDD region of size 170GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-180gb-smaller: Create GameOS HDD region of size 180GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-190gb-smaller: Create GameOS HDD region of size 190GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-200gb-smaller: Create GameOS HDD region of size 200GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-210gb-smaller: Create GameOS HDD region of size 210GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-220gb-smaller: Create GameOS HDD region of size 220GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-230gb-smaller: Create GameOS HDD region of size 230GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-240gb-smaller: Create GameOS HDD region of size 240GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-250gb-smaller: Create GameOS HDD region of size 250GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-260gb-smaller: Create GameOS HDD region of size 260GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-270gb-smaller: Create GameOS HDD region of size 270GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-280gb-smaller: Create GameOS HDD region of size 280GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-290gb-smaller: Create GameOS HDD region of size 290GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-300gb-smaller: Create GameOS HDD region of size 300GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-310gb-smaller: Create GameOS HDD region of size 310GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-320gb-smaller: Create GameOS HDD region of size 320GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-330gb-smaller: Create GameOS HDD region of size 330GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-340gb-smaller: Create GameOS HDD region of size 340GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-350gb-smaller: Create GameOS HDD region of size 350GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-360gb-smaller: Create GameOS HDD region of size 360GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-370gb-smaller: Create GameOS HDD region of size 370GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-380gb-smaller: Create GameOS HDD region of size 380GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-390gb-smaller: Create GameOS HDD region of size 390GB smaller than default
| |
| # Option --patch-emer-init-gameos-hdd-region-size-400gb-smaller: Create GameOS HDD region of size 400GB smaller than default
| |
| # Option --patch-emer-init-disable-pup-search-in-game-disc: Disable searching for update packages in GAME disc.
| |
|
| |
| # Type --patch-emer-init-gameos-hdd-region-size-half: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-quarter: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-eighth: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-22gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-10gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-20gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-30gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-40gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-50gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-60gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-70gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-80gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-90gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-100gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-110gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-120gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-130gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-140gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-150gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-160gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-170gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-180gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-190gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-200gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-210gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-220gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-230gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-240gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-250gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-260gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-270gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-280gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-290gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-300gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-310gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-320gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-330gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-340gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-350gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-360gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-370gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-380gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-390gb-smaller: boolean
| |
| # Type --patch-emer-init-gameos-hdd-region-size-400gb-smaller: boolean
| |
| # Type --patch-emer-init-disable-pup-search-in-game-disc: boolean
| |
|
| |
| namespace eval ::patch_emer_init {
| |
|
| |
| array set ::patch_emer_init::options {
| |
| --patch-emer-init-gameos-hdd-region-size-half false
| |
| --patch-emer-init-gameos-hdd-region-size-quarter true
| |
| --patch-emer-init-gameos-hdd-region-size-eighth false
| |
| --patch-emer-init-gameos-hdd-region-size-22gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-10gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-20gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-30gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-40gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-50gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-60gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-70gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-80gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-90gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-100gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-110gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-120gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-130gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-140gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-150gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-160gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-170gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-180gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-190gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-200gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-210gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-220gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-230gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-240gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-250gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-260gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-270gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-280gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-290gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-300gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-310gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-320gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-330gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-340gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-350gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-360gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-370gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-380gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-390gb-smaller false
| |
| --patch-emer-init-gameos-hdd-region-size-400gb-smaller false
| |
| --patch-emer-init-disable-pup-search-in-game-disc false
| |
| }
| |
|
| |
| proc main { } {
| |
| set self "emer_init.self"
| |
|
| |
| ::modify_coreos_file $self ::patch_emer_init::patch_self
| |
| }
| |
|
| |
| proc patch_self {self} {
| |
| ::modify_self_file $self ::patch_emer_init::patch_elf
| |
| }
| |
|
| |
| proc patch_elf {elf} {
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-half)} {
| |
| log "Patching emergency init to create GameOS HDD region of size half of installed HDD"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x79\x27\xf8\x42"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-quarter)} {
| |
| log "Patching emergency init to create GameOS HDD region of size quarter of installed HDD"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x79\x27\xf0\x82"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-eighth)} {
| |
| log "Patching emergency init to create GameOS HDD region of size eighth of installed HDD"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x79\x27\xe8\xc2"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-22gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 22GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xfd\x40"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-10gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 10GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xfe\xc0"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-20gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 20GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xfd\x80"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-30gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 30GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xfc\x40"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-40gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 40GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xfb\x00"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-50gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 50GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xf9\xc0"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-60gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 60GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xf8\x80"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-70gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 70GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xf7\x40"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-80gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 80GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xf6\x00"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-90gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 90GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xf4\xc0"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-100gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 100GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xf3\x80"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-110gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 110GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xf2\x40"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-120gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 120GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xf1\x00"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-130gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 130GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xef\xc0"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-140gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 140GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xee\x80"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-150gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 150GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xed\x40"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-160gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 160GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xec\x00"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-170gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 170GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xea\xc0"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-180gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 180GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xe9\x80"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-190gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 190GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xe8\x40"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-200gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 200GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xe7\x00"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-210gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 210GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xe5\xc0"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-220gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 220GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xe4\x80"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-230gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 230GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xe3\x40"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-240gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 240GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xe2\x00"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-250gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 250GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xe0\xc0"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-260gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 260GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xdf\x80"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-270gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 270GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xde\x40"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-280gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 280GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xdd\x00"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-290gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 290GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xdb\xc0"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-300gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 300GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xda\x80"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-310gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 310GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xd9\x40"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-320gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 320GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xd8\x00"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-330gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 330GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xd6\xc0"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-340gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 340GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xd5\x80"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-350gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 350GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xd4\x40"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-360gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 360GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xd3\x00"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-370gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 370GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xd1\xc0"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-380gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 380GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xd0\x80"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-390gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 390GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xcf\x40"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-400gb-smaller)} {
| |
| log "Patching emergency init to create GameOS HDD region of size 400GB smaller than default"
| |
|
| |
| set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
| |
| append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
| |
| set replace "\x3c\xe9\xce\x00"
| |
|
| |
| catch_die {::patch_elf $elf $search 28 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
|
| |
| if {$::patch_emer_init::options(--patch-emer-init-disable-pup-search-in-game-disc)} {
| |
| log "Patching emergency init to disable searching for update packages in GAME disc"
| |
|
| |
| set search "\x80\x01\x00\x74\x2f\x80\x00\x00\x40\x9e\x00\x14\x7f\xa3\xeb\x78"
| |
| set replace "\x38\x00\x00\x01"
| |
|
| |
| catch_die {::patch_elf $elf $search 0 $replace} \
| |
| "Unable to patch self [file tail $elf]"
| |
| }
| |
| }
| |
| }
| |
| </pre>
| |
|
| |
|
| {|class="wikitable sortable" | | {|class="wikitable sortable" |
Line 748: |
Line 131: |
|
| |
|
| === Adding even more sizes === | | === Adding even more sizes === |
| <pre><DirtyJerz> to get the shellcode for appropriate values you need to compile addis %r7, %r9, -0x0A40 and then objdump where A40 is your size</pre>
| |
|
| |
|
| http://pastie.org/2522641 | | <DirtyJerz> to get the shellcode for appropriate values you need to |
| | compile addis %r7, %r9, -0x0A40 |
| | and then objdump where A40 is your size |
| | |
| | http://pastie.org/2522641 |
| emer_init_patch.tcl | | emer_init_patch.tcl |
| Create GameOS HDD region of size x-GB smaller than default | | Create GameOS HDD region of size x-GB smaller than default By: DirtyJerz |
| By: DirtyJerz
| | change "set replace" values. i am not responsible for what you biff. that is all. |
| change "set replace" values | |
| i am not responsible for what you biff. | |
| that is all.
| |
|
| |
| <!--// 10GB --- 3c e9 fe c0 addis r7,r9,-320 | | <!--// 10GB --- 3c e9 fe c0 addis r7,r9,-320 |
| 20GB --- 3c e9 fd 80 addis r7,r9,-640 | | 20GB --- 3c e9 fd 80 addis r7,r9,-640 |
Line 798: |
Line 180: |
| 390GB --- 3c e9 cf 40 addis r7,r9,-12480 | | 390GB --- 3c e9 cf 40 addis r7,r9,-12480 |
| 400GB --- 3c e9 ce 00 addis r7,r9,-12800 | | 400GB --- 3c e9 ce 00 addis r7,r9,-12800 |
| //-->
| |
| 410GB --- 3c e9 cc c0 addis r7,r9,-13120 | | 410GB --- 3c e9 cc c0 addis r7,r9,-13120 |
| 420GB --- 3c e9 cb 80 addis r7,r9,-13440 | | 420GB --- 3c e9 cb 80 addis r7,r9,-13440 |
Line 859: |
Line 240: |
| 990GB --- 3c e9 84 40 addis r7,r9,-31680 | | 990GB --- 3c e9 84 40 addis r7,r9,-31680 |
| 1000GB --- 3c e9 83 00 addis r7,r9,-32000 | | 1000GB --- 3c e9 83 00 addis r7,r9,-32000 |
| | //--> |
| | |
| | For task, see: http://www.ps3devwiki.com/index.php?title=PS3MFW_Builder#more_GameOS.2FOtherOS.2B.2B_sizes |
|
| |
|
| == FreeBSD LiveCD == | | == FreeBSD LiveCD == |
Line 884: |
Line 268: |
| | CFW355-OTHEROS++-CRYPTO-OFF.PUP (170.65 MB) || http://www.multiupload.com/3FO55L3TLV || Test || 37e26ec55345f8ac2413bcf8cce729d4 || ps3/cfw/test/CFW355-OTHEROS++-CRYPTO-OFF.PUP | | | CFW355-OTHEROS++-CRYPTO-OFF.PUP (170.65 MB) || http://www.multiupload.com/3FO55L3TLV || Test || 37e26ec55345f8ac2413bcf8cce729d4 || ps3/cfw/test/CFW355-OTHEROS++-CRYPTO-OFF.PUP |
| |- | | |- |
| | CFW341-OTHEROS++.PUP (167.12 MB) || http://www.multiupload.com/JZPITOXB3H || || 0b9d15c917b494c4335eed7924e0cf46 || ps3/cfw/CFW341-OTHEROS++.PUP | | | CFW341-OTHEROS++.PUP (167.12 MB) || [https://dl.dropbox.com/u/35197530/ps3%20PUP/CFW341-OTHEROS%2B%2B.PUP mirror] || || 0b9d15c917b494c4335eed7924e0cf46 || ps3/cfw/CFW341-OTHEROS++.PUP |
| |- | | |- |
| | CFW355-OTHEROS++.PUP (170.64 MB) || http://www.multiupload.com/SWB7MA8I75 || || 5c8e202e2a405f3b28a6bf10db4e9c0b || ps3/cfw/CFW355-OTHEROS++.PUP | | | CFW355-OTHEROS++.PUP (170.64 MB) || [https://dl.dropbox.com/u/35197530/ps3%20PUP/CFW355-OTHEROS%2B%2B.PUP mirror] || || 5c8e202e2a405f3b28a6bf10db4e9c0b || ps3/cfw/CFW355-OTHEROS++.PUP |
| |- | | |- |
| | CFW355-OTHEROS++-22GB.PUP (170.64 MB) || http://www.multiupload.com/M9AS0XIGDL || || 0aed8e6a77e0a0aed8f41bcc51db3e8c || ps3/cfw/CFW355-OTHEROS++-22GB.PUP | | | CFW355-OTHEROS++-22GB.PUP (170.64 MB) || http://www.multiupload.com/M9AS0XIGDL || || 0aed8e6a77e0a0aed8f41bcc51db3e8c || ps3/cfw/CFW355-OTHEROS++-22GB.PUP |
Line 930: |
Line 314: |
| | || || || 420fdee77087333d5da010f766aa1d52 || ps3/linux/ps3_usb_wlan.tar.gz | | | || || || 420fdee77087333d5da010f766aa1d52 || ps3/linux/ps3_usb_wlan.tar.gz |
| |- | | |- |
| | || || || 0f16158794f9650961f0c52e28f83671 || ps3/petitboot/dtbImage.ps3.bin | | | || [https://dl.dropbox.com/u/35197530/ps3%20linux/dtbImage.ps3.bin mirror] || || 0f16158794f9650961f0c52e28f83671 || ps3/petitboot/dtbImage.ps3.bin |
| |- | | |- |
| | || || || 02cc6ef50879f03dbf3dc519bc0dd299 || ps3/petitboot/dtbImage.ps3.bin.minimal | | | || [https://dl.dropbox.com/u/35197530/ps3%20linux/dtbImage.ps3.bin.minimal mirror] || || 02cc6ef50879f03dbf3dc519bc0dd299 || ps3/petitboot/dtbImage.ps3.bin.minimal |
| |- | | |- |
| | || || || 05399d31c1f83d67fd1c3abbd9610a75 || pkgs.rar | | | || || || 05399d31c1f83d67fd1c3abbd9610a75 || pkgs.rar |
| |- | | |- |
| |} | | |} |
| | |
| | [[http://www.beau.lib.la.us/~jmorris/linux/ps3/petro.gitbrew.org/otheros/ps3cfw/ jmorris]] |
| | |
| | == Even More Mirrors == |
| | |
| | === CFW === |
| | |
| | [https://mega.co.nz/#!9sMxXRJL 3.55 OTHEROS++] key: KIx1N1T0AYtFw40XgihFNxfYqf8BLVgMCrz_LfA3RgI |
| | |
| | [https://mega.co.nz/#!dgFgVSxa 3.41 OTHEROS++] key: coAAOBbdkwQNDcN38M21Tm4bLFwx2LFEJJ6-w7FA3F0 |
| | |
| | === petitboot === |
| | |
| | [https://mega.co.nz/#!c98y3TqY NOR Petitboot] key: WzIOVj7ghqYkQFeQ-AFDGn45MB18IWI2Mz2hX7cNYSI |
| | |
| | [https://mega.co.nz/#!FxthwKaJ NAND Petitboot] key: XZ1z4VOX8mhqQTlWU-O61CAPjmRcGKpsDFxuYQdCFWY |
| | |
| | === pkgs === |
| | |
| | [https://dl.dropbox.com/u/35197530/ps3%20linux/boot_otheros.pkg boot_otheros (42684f30930122f10bbaf474ddfb7dda)] |
| | |
| | [https://dl.dropbox.com/u/35197530/ps3%20linux/setup_flash_for_otheros.pkg setup_flash_for_otheros (af98b95c806f36841627797abb761d20)] |
| | |
| | [https://dl.dropbox.com/u/35197530/ps3%20linux/install_otheros.pkg install_otheros (4649dd1c702e7dc60ad49ccb3aa96a5b)] |
| | |
| | === scripts === |
| | |
| | [https://dl.dropbox.com/u/35197530/ps3%20linux/create_hdd_region.sh create_hdd_region (b0f02c84af1b20d3f384dad3b7001795)] |
| | |
| | === linux === |
| | |
| | [https://dl.dropbox.com/u/35197530/ps3%20linux/linux-3.6.4-build.tar.xz linux-3.6.4 (871ae38017313683ca12def903204445)] |
| | |
| | === sauce === |
| | |
| | [https://github.com/zecoxao/glevand_sauce hot spicy sauce!] |
| | |
| | === fox mirror === |
| | |
| | https://mega.co.nz/#!JoMXhL6K!uAWU3ZQwMabtMEXPfeySZ8MQf50wzDVRihZJjXkjWJ4 |