Vous êtes sur la page 1sur 43

http://www.scribd.

com/doc/23915050/Presentation-2 PS3MFW Builder From PS3 Development Wiki Jump to: navigation, search

Contents [hide] 1 Main description 2 Tasks 2.1 PS3MFW 2.2 Gitbrew OtherOS++ 2.3 Rebug OtherOS++ 2.4 PSheb project 2.4.1 Guide for adding other translations / building languagepacks 2.5 more Spoof 2.6 more GameOS/OtherOS++ sizes 3 Using console / shellscript 4 Reference 5 Downloads / precompiled & source [edit] Main description [edit] Tasks PS3MFW Builder v0.2 PS3MFW Builder v0.2 OtherOS++ PS3MFW Builder v0.2 Rebug OtherOS++[edit] PS3MFW PS3MFW * add_license_msg.tcl (0.1) - Add a custom message to the 'New Features' installat ion screen. Modifies PUP license.xml --license-auto-add-features : Automatically generate the enabled features of PS3MFW --license-features-message : Prefix mes sage to the generated features list --license-message : New Features message (Ap pears after the license agreement) broken_bluray.tcl (0.2) Allows you to remove Blu-Ray firmware installation so th at 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 p layed and image shown during the boot process. Caution: If improper files are us ed, this can cause a brick . change_devflash_files.tcl change_ssl_cer.tcl (0.2) Allows changing of SSL certificates. change_theme.tcl (0.2) Can be used to replace the default "Airbrush" theme with another theme file (.p3t format). change_version.tcl clean_friends.tcl (0.1) - Clean unwanted icons from the XMB Friends Category. Mo difies dev_flash/vsh/resource/explore/xmb/category_friends.xml file --clean-frie nds-avcroom : Remove "Video Chat" icon from the XMB Friends Category --clean-fri ends-chat : Remove "Chat Room" icon from the XMB Friends Category --clean-friend s-message-box : Remove "Message Box" icon from the XMB Friends Category --cleanfriends-nas : Remove "My Profile" icon from the XMB Friends Category --clean-fri ends-new-chat : Remove "New Chat" icon from the XMB Friends Category clean_game.tcl (0.1) - Clean unwanted icons from the XMB Game Category. Modifies dev_flash/vsh/resource/explore/xmb/category_game.xml file --clean-game-gamedata : Remove "Game Data" icon from the XMB Game Category --clean-game-mcutility : R

emove "Memory Card Utility (PS/PS2)" icon from the XMB Game Category --clean-gam e-minis-manual : Remove "Minis Manual" icon from the XMB Game Category --clean-g ame-sdps3 : Remove "Saved Data Utility (PS3)" icon from the XMB Game Category -clean-game-sdpsp : Remove "Saved Data Utility (minis)" icon from the XMB Game Ca tegory --clean-game-trophy : Remove "Trophy Collection" icon from the XMB Game C ategory --clean-game-welcome : Remove "PlayStation Store" icon from the XMB Game Category tasks/clean_music.tcl (0.1) - Clean unwanted icons from the XMB Music Category. Modifies dev_flash/vsh/resource/explore/xmb/category_music.xml file --clean-musi c-dlna-device : Remove "Network Media Servers" icon from the XMB Music Category --clean-music-dlna-scan : Remove "Search for Media Servers" icon from the XMB Mu sic Category --clean-music-welcome : Remove "PlayStation Store" icon from the XM B Music Category clean_network.tcl (0.1) - Clean unwanted icons from the XMB Network Category. Mo difies dev_flash/vsh/resource/explore/xmb/category_network.xml file --clean-netw ork-browser : Remove "Internet Browser" icon from the XMB Network Category --cle an-network-folding-at-home : Remove "Life with PlayStation" icon from the XMB Ne twork Category --clean-network-kensaku : Remove "Internet Search" icon from the XMB Network Category --clean-network-manual : Remove "Online Instruction Manuals " icon from the XMB Network Category --clean-network-premo : Remove "Remote Play " icon from the XMB Network Category clean_photo.tcl (0.1) - Clean unwanted icons from the XMB Photo Category. Modifi es dev_flash/vsh/resource/explore/xmb/category_photo.xml file --clean-photo-dlna -device : Remove "Network Media Servers" icon from the XMB Photo Category --clea n-photo-dlna-scan : Remove "Search for Media Servers" icon from the XMB Photo Ca tegory --clean-photo-hakoniwa : Remove "Photo Gallery" icon from the XMB Photo C ategory --clean-photo-screenshot : Remove "Screenshot" icon from the XMB Photo C ategory clean_psn.tcl (0.1) - Clean unwanted icons from the XMB PlayStation Network Cate gory Modifies dev_flash/vsh/resource/explore/xmb/category_psn.xml file --clean-p sn-commerce-new : Remove "What's New" icon from the XMB PlayStation Network Cate gory --clean-psn-home : Remove "PlayStation Home" icon from the XMB PlayStation Network Category --clean-psn-regist : Remove "Sign In" icon from the XMB PlaySta tion Network Category --clean-psn-welcome : Remove "PlayStation Store" icon from the XMB PlayStation Network Category clean_sysconf.tcl clean_tv.tcl clean_video.tcl (0.1) - Clean unwanted icons from the XMB Video Category. Modifi es dev_flash/vsh/resource/explore/xmb/category_video.xml file --clean-video-bdda ta-mgmt : Remove "BD Data Utility" icon from the XMB Video Category --clean-vide o-dlna-device : Remove "Network Media Servers" icon from the XMB Video Category --clean-video-dlna-scan : Remove "Search for Media Servers" icon from the XMB Vi deo Category --clean-video-editingvideo-mgmt : Remove "Video Editor & Uploader" icon from the XMB Video Category --clean-video-netflix : Remove "Netflix" icon f rom the XMB Video Category --clean-video-welcome : Remove "PlayStation Store" ic on from the XMB Video Category patch_category_game.tcl (0.1) - Add new icons to the XMB Game category. Modifies dev_flash/vsh/resource/explore/xmb/category_game.xml file --patch-package-files : Add "Install Package Files" icon to the XMB Game Category --patch-app-home : Add "/app_home" icon to the XMB Game Category patch_lv1.tcl (0.1) - Patch LV1 hypervisor. Modifies CORE OS lv1.self --patch-lv 1-mmap : Allow mapping of any memory area (Needed for LV2 Poke) patch_lv2.tcl (0.1) - Patch LV2 kernel. Modifies CORE OS lv1.self --patch-lv2-pe ek-poke : Patch to add Peek&Poke system calls to LV2 patch_nas_plugin.tcl (0.1) - Patch package installer Modifies dev_flash/vsh/modu le/nas_plugin.sprx --allow-debug-pkg : Patch to allow installation of debug pack ages --allow-pseudoretail-pkg : Patch to allow installation of pseudo-retail pac kages PS3 collects a large amount of personal information whil patch_privacy.tcl (0.2) e it s operating. Additionally personal information is sent to many domain names w

hen internet access is enabled (unrelated to PSN access). This task prevents PS3 from sending any data to the domain names you select. patch_shop.tcl (0.2) Creates firmware to transform demo PS3s (the units used in stores) into full retail PS3s, without the need for service mode! patch_translations.tcl patch_vsh.tcl (0.1) - Patch Application launcher. Modifies dev_flash/vsh/module/ vsh.self --allow-unsigned-app : Patch to allow running of unsigned applications 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. new tutorial =============================== 1. Install one of these versions of AsbestOS or BootOS. Some work with some cons oles, and some work with others...start with the most recent nd work your way to wards the older versions, this way you have the most recent version you can get. If your console hangs or gives an error, try uninstalling the pkg and reinstall it. If that still doesn't work, move on to the next version. If you have QA Flag enabled, install the QA Reset app and restart your console f irst!!! QA Reset BootOS 3.0 BootOS 2.01 AsbestOS 2.0 AsbestOS 1.5 2. You need the otherOS++ update. Previously, there was an error running games c aused by a mfw patch. The trophies couldn't be loaded, therefore causing the gam e to error out before it completely loads. This pup has been fixed to not cause the error. (You may have to install from recovery...look it up if you don't know ) ReBug 3.55.1/OtherOS++ ReBug 3.55.2/OtherOS++ 3. If you don't have lv2 patch, get it & install it. You will run this app to lo ad linux as otherOS lv2 v9 pkg 4. Install Boot OtherOS pkg and run it....listen for the beeps and your console will restart. This will install petitboot to run after you select 'linux' in lv2 patcher. Boot OtherOS 5. Download the Red Ribbon distro from this thread: http://www.ps3iso.com/showthread.php?t=84118 You may also use any other linux distro available. Not all distros will run, and not all distros will run well. Red Ribbon is specifically built from the ground up for PS3, and is still currently being updated. No matter how you choose to run it, you MUST burn Red Ribbon (or any other distr o) to disk as a disk image (google img burn) If you install to internal, it WILL wipe your entire internal HDD. Use the nativ

e backup feature to save all your stuff To install to internal HDD, follow this guide: http://www.ps3iso.com/showthread.php?p=384892 6. Run lv2 patcher...when it loads, select linux. Wait for petitboot to load and select how you'd like to run linux (since this uses otherOS++, do not select th e asbestOS option) if there are multiple distros, select the one you would like to run in this menu. That's it!! It may take a minute to boot the first time it loads, but it will be a little faster in the future. Disk loading can take up to 5 minutes to load. ** to load linux in the future, just repeat step 6...no need to do anything else ** Enjoy your linux box!! btw, if you ever have issues getting any distros to load, install asbestOS/bootO S, then the boot OtherOS pkg again....in that order. installing the other way ar ound will not allow petitboot to load and you won't be able to load any linux di stro. If you can not get multiman to work properly after this guide, just uninstall & reinstall it ================================================================================ ================================

[edit] Gitbrew OtherOS++ Gitbrew OtherOS++ * Same as 0.2 unless state otherwise below: patch_emer_init.tcl 4 GameOS/OtherOS Sizes: Create GameOS HDD region of size half / quarter / eight of installed HDD or 22GB smaller than default Disable searching for update packages in GAME disc. patch_lv1.tcl peek/poke support (unused lv1 calls 182 and 183) Allow mapping of HTAB with write protection Allow to set all bits of SPE register MFC_SR1 with lv1_set_spe_privilege_state_a rea_1_register Allow setting data access breakpoints in hypervisor state with lv1_set_dabr Allow ENCDEC IOCTL command 0x85 Allow access to all SS services (Needed for ps3dm-utils) Allow access to all services of Indi Info Manager Allow extracting for all package types Allow enabling product mode by using Update Manager Write EPROM Allow deleting of all ENCDEC keys Allow creating/modifying/deleting of repository nodes in any LPAR Disable integrity check in System Manager Allow access to all System Manager services of GameOS Enable GuestOS mode 1 for GameOS Skip ACL checks for all storage devices OtherOS++ support patch_lv2.tcl Patch to add LV1 Peek&Poke system calls to LV2 3.55 (LV1 peek/poke patch necessa ry)

Patch to add LV1 Call system call to LV2 3.55 patch_profile.tcl - Increase boot memory size of GameOS (Needed for OtherOS++) spoof_version.tcl - Simplified spoof up to 3.60 ps3mfw_base.tcl - Added support for SPP (needed for patch_profile.tcl) [edit] Rebug OtherOS++ Rebug OtherOS++ (https://github.com/evilsperm // http://rebug.me/) ..

[edit] PSheb project PSheb project 0.1 (Hebrew translation of PS3 XMB) Task: language_pack.tcl Languagepack: git.dashhacks.com/psheb Newsitem including screenshots for reference: http://www.ps3hax.net/2011/08/pshe b-project-v0-1-hebrew-language-on-ps3/ [edit] Guide for adding other translations / building languagepacks This guide will explain you how to translate the XMB and use language_pack.tcl P S3MFW task. LP structure: font/name_of_the_font_file_to_replace.TTF replace/name_of_the_rco_file.xml edit/name_of_the_rco_file/language_name.xml 1. Create a folder this will be our working directory. 2. If the language you want to translate XMB to is using unsupported font glyphs , you ll have to include a modified PS3 font. How to add glyphs to fonts? I personally use font creator, open 2 fonts: the one I want to modify, and anoth er one that contains the glyphs that I want to add. Than all I need to do is to copy & paste the glyphs from one font to the other, and assign any glyph to it s letter. I modify SCE-PS3-DH-R-CGB.TTF , but this should work with any font. When you finished modifying your font, create the folder font inside your working directory, and put you modified font in there. 3. Extract language XML files from RCO files Here you have two options: 1) Extract them one by one using RCOmage (CLI or GUI). 2) Using LP_RCO to automatically extract language XML files from all RCO files ( or writing your own script). For those who doesn t use LP_RCO: You should extract only one language file from each RCO file (for example English .XML ). name each language file by the RCO file it was extracted from. Now create a folder named replace in your working directory, and place all the ext racted language files in it. 4. The translation itself This is the exhausting stage, where you should just translate any string in the language files you extracted in charter 3. You should translate only the string between the and tags. You could let Google to translate it for you, but then you ll have to fix formatti ng and all Sony s special glyphs (such as the cross symbol), and of course to correct all the typos. 5. Packing everything into LP

Use any tar compression tool, and compress the root of your working directory, a nd named it name.LP . 6. The edit option : There is also the edit option in language_pack.tcl task, which allow you to fix ty pos in several RCOs and languages. Create a folder named edit inside you working directory. Extract the language XML files you want to edit, and put them inside a directory named by the RCO file they extracted from. Now all you got to do is to edit the language files. 7. All you need now is to build your MFW with your new language pack! Take attention that you don t have to include any of those folders inside your LP include them only if you want to use their function. source: http://www.ps3hax.net/2011/08/xmb-translation-guide/ (thanks to DanyL fo r this fine explaination :) )

[edit] more Spoof Copypaste and save as spoof_version.tcl in tasks folder: #!/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: 2600 # Description: Spoof firmware build / version # Option --spoof: Select firmware version to spoof # Type --spoof: combobox { {1.02 1788 001:CEX-ww 20061021} {1.10 2120 001:CEX-ww 20061109} {1.11 2232 001:CEX-ww 20061121} {1.30 2400 001:CEX-ww 20061205} {1.31 2494 001:CEX-ww 20061212} {1.32 2587 001:CEX-ww 20061218} {1.50 3014 001:CEX-ww 20070119} {1.51 3229 001:CEX-ww 20070201} {1.54 3563 001:CEX-ww 20070222} {1.60 3940 001:CEX-ww 20070321} {1.70 4540 001:CEX-ww 20070416} {1.80 5354 001:CEX-ww 20070523} {1.81 5746 001:CEX-ww 20070612} {1.82 5986 001:CEX-ww 20070624} {1.90 6591 001:CEX-ww 20070721} {1.92 7272 001:CEX-ww 20070828} {1.93 7444 001:CEX-ww 20070909} {1.94 7510 001:CEX-ww 20070912} {2.00 8237 001:CEX-ww 20071030} {2.01 8426 001:CEX-ww 20071115} {2.10 9181 001:CEX-ww 20071215} {2.16 10444 001:CEX-w w 20080131} {2.17 11729 001:CEX-ww 20080303} {2.20 12342 001:CEX-ww 20080317} {2 .30 13778 001:CEX-ww 20080411} {2.35 15109 001:CEX-ww 20080512} {2.36 16093 001: CEX-ww 20080605} {2.40 17023 001:CEX-ww 20080625} {2.41 17362 001:CEX-ww 2008070 4} {3.00 34641 001:CEX-ww 20090829} {2.42 18467 001:CEX-ww 20080723} {2.43 19024 001:CEX-ww 20080903} {2.50 23368 001:CEX-ww 20081011} {2.52 24267 001:CEX-ww 20 081028} {2.53 25075 001:CEX-ww 20081117} {2.60 28392 001:CEX-ww 20090116} {2.70 30429 001:CEX-ww 20090326} {2.76 31347 001:CEX-ww 20090427} {2.80 32582 001:CEXww 20090616} {3.00 34641 001:CEX-ww 20090829} {3.01 35108 001:CEX-ww 20090910} { 3.10 37233 001:CEX-ww 20091113} {3.15 38031 001:CEX-ww 20091206} {3.20 39999 001 :CEX-ww 20100128} {3.21 41486 001:CEX-ww 20100320} {3.30 42164 001:CEX-ww 201004 14} {3.40 44261 001:CEX-ww 20100623} {3.41 45039 001:CEX-ww 20100721} {3.42 4583 1 001:CEX-ww 20100901} {3.50 46135 001:CEX-ww 20100913} {3.55 47516 001:CEX-ww 2 0101127} {3.56 48165 001:CEX-ww 20110125} {3.56 48247 001:CEX-ww 20110129} {3.60

48686 001:CEX-ww 20110304} {3.61 49561 001:CEX-ww 20110428} {3.65 49764 001:CEX -ww 20110513} {3.66 50527 001:CEX-ww 20110616} {3.70 51968 001:CEX-ww 20110805} {3.72 52565 001:CEX-ww 20110914} {3.73 52870 001:CEX-ww 20111004} } namespace eval ::spoof_version { array set ::spoof_version::options { --spoof "3.73 52870 001:CEX-ww 20111004" } proc main {} { variable options set set set set set release [lindex $options(--spoof) 0] build [lindex $options(--spoof) 1] target [lindex $options(--spoof) 2] auth [lindex $options(--spoof) 1] bdate [lindex $options(--spoof) 3]

if {$release != "" $build != "" $target != "" $auth != ""} { log "Changing firmware version.txt & index.dat file" ::modify_devflash_file [file join dev_flash vsh etc version.txt] ::spoof _version::version_txt } if {$build != "" $auth != ""} { log "Patching vsh.self" ::modify_devflash_file [file join dev_flash vsh module vsh.self] ::spoof _version::patch_self } if {$build != "" && $bdate != ""} { log "Patching UPL.xml" ::modify_upl_file ::spoof_version::upl_xml } } proc patch_self {self} { ::modify_self_file $self ::spoof_version::patch_elf } proc patch_elf {elf} { variable options set release [lindex $options(--spoof) 0] set build [lindex $options(--spoof) 1] log "Patching [file tail $elf] to spoof version and build" debug "Patching version number" set search "99.99" debug "search: $search" set major [lindex [split $release "."] 0] set minor [lindex [split $release "."] 1] set replace "[format %0.2d ${major}].[format %0.2d ${minor}]" debug "replace: $replace" catch_die {::patch_elf $elf $search 0 $replace} "Unable to patch self [fil e tail $elf]" debug "Patching build number" set search "[format %0.5d [::get_pup_build]]"

debug "search: $search" set replace "[format %0.5d $build]" debug "replace: $replace" catch_die {::patch_elf $elf $search 0 $replace} "Unable to patch self [fil e tail $elf] with [::hexify $replace]" # debug "Patching 0x31a7c0" # set search "\x48\x00\x00\x38\xa0\x7f\x00\x04\x39\x60\x00\x01" # set replace "\x38\x60\x00\x82" # catch_die {::patch_elf $elf $search 4 $replace} "Unable to patch self [fi le tail $elf]" # debug "Patching ..." # set search "\x4b\xff\xfe\x80\xf8\x21\xff\x81\x7c\x08\x02\xa6\x38\x61\x00\ x70" # set replace "\x38\x60\x00\x01\x4e\x80\x00\x20" # catch_die {::patch_elf $elf $search 4 $replace} "Unable to patch self [fi le tail $elf]" debug "Patching 0x48d030" set search "\xeb\xe1\x00\x80\x38\x21\x00\x90\x7c\x08\x03\xa6\x4e\x80\x0 0\x20" append search "\xf8\x21\xff\x61\x7c\x08\x02\xa6\xfb\xe1\x00\x98\xf8\x01\x0 0\xb0" append search "\x7c\x7f\x1b\x78\x38\x00\x00\x00\x38\x61\x00\x74\xfb\x81\x0 0\x80" set replace "\x38\x60\x00\x00\x4e\x80\x00\x20" catch_die {::patch_elf $elf $search 16 $replace} "Unable to patch self [fi le tail $elf]" } proc get_fw_release {filename} { debug "Getting firmware release from [file tail $filename]" set results [grep "^release:" $filename] set release [string trim [regsub "^release:" $results {}] ":"] return [string trim $release] } proc get_fw_build {filename} { debug "Getting firmware build from [file tail $filename]" set results [grep "^build:" $filename] set build [string trim [regsub "^build:" $results {}] ":"] return [string trim $build] } proc get_fw_target {filename} { debug "Getting firmware target from [file tail $filename]" set results [grep "^target:" $filename] set target [regsub "^target:" $results {}] return [string trim $target] } proc get_fw_auth {filename} { debug "Getting firmware auth from [file tail $filename]" set results [grep "^auth:" $filename] set auth [string trim [regsub "^auth:" $results {}] ":"] return [string trim $auth] } proc version_txt {filename} {

variable options set set set set release [lindex $options(--spoof) 0] build [lindex $options(--spoof) 1] target [lindex $options(--spoof) 2] auth [lindex $options(--spoof) 1]

set fd [open $filename r] set data [read $fd] close $fd if {$release != [get_fw_release $filename]} { debug "Setting firmware release to $release" set major [lindex [split $release "."] 0] set minor [lindex [split $release "."] 1] set nano "0" set data [regsub {release:[0-9]+\.[0-9]+:} $data "release:[format %0.2d ${major}].[format %0.2d ${minor}][format %0.2d ${nano}]:"] } if {$build != [get_fw_build $filename]} { debug "Setting firmware build in to $build" set build_num $build set build_date [lindex [split [lindex [split [::spoof_version::get_fw_bu ild $filename] ":"] 1] ","] 1] set data [regsub {build:[0-9]+,[0-9]+:} $data "build:${build_num},${buil d_date}:"] } if {$target != [get_fw_target $filename]} { debug "Setting firmware target to $target" set target_num [lindex [split $target ":"] 0] set target_string [lindex [split $target ":"] 1] set data [regsub {target:[0-9]+:[A-Z]+-ww} $data "target:${target_num}:$ {target_string}"] } if {$auth != [get_fw_auth $filename]} { debug "Setting firmware auth to $auth" set data [regsub {auth:[0-9]+:} $data "auth:$auth:"] } set fd [open $filename w] puts -nonewline $fd $data close $fd set index_dat [file join [file dirname $filename] index.dat] shell "dat" [file nativename $filename] [file nativename $index_dat] } proc upl_xml {filename} { variable options set set set set set set release [lindex $options(--spoof) 0] build [lindex $options(--spoof) 1] bdate [lindex $options(--spoof) 3] major [lindex [split $release "."] 0] minor [lindex [split $release "."] 1] nano "0"

debug "Setting UPL.xml.pkg :: release to ${release} :: build to ${build},$ {bdate}" set search [::get_header_key_upl_xml $filename Version Version] set replace "[format %0.2d ${major}].[format %0.2d ${minor}][format %0.2d ${nano}]:" if { $search != "" && $search != $replace } { set xml [::set_header_key_upl_xml $filename Version "${replace}" Version ] if { $xml == "" } { die "spoof failed:: search: $search :: replace: $replace" } } set search [::get_header_key_upl_xml $filename Build Build] set replace "${build},${bdate}" if { $search != "" && $search != $replace } { set xml [::set_header_key_upl_xml $filename Build "${replace}" Build] if { $xml == "" } { die "spoof failed:: search: $search :: replace: $replace" } } if {$::change_version::options(--pup-build) == ""} { ::set_pup_build [incr build] } } } Note: there is good reason for including the date and not ommitting it like the simplified spoof as in gitbrew and danyL versions. [edit] more GameOS/OtherOS++ sizes Copypaste and save as patch_emer_init.tcl in tasks folder: #!/usr/bin/tclsh # # ps3mfw -- PS3 MFW creator # # Copyright (C) Anonymous Developers (Code Monkeys) # Copyright (C) glevand (geoffrey.levand@mail.ru) # # 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 reg ion of size quarter of installed HDD # Option --patch-emer-init-gameos-hdd-region-size-eighth: Create GameOS HDD regi on of size eighth of installed HDD # Option --patch-emer-init-gameos-hdd-region-size-22gb-smaller: Create GameOS HD D region of size 22GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-10gb-smaller: Create GameOS HD D region of size 10GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-20gb-smaller: Create GameOS HD D region of size 20GB smaller than default

# Option --patch-emer-init-gameos-hdd-region-size-30gb-smaller: Create GameOS HD D region of size 30GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-40gb-smaller: Create GameOS HD D region of size 40GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-50gb-smaller: Create GameOS HD D region of size 50GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-60gb-smaller: Create GameOS HD D region of size 60GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-70gb-smaller: Create GameOS HD D region of size 70GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-80gb-smaller: Create GameOS HD D region of size 80GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-90gb-smaller: Create GameOS HD D region of size 90GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-100gb-smaller: Create GameOS H DD region of size 100GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-110gb-smaller: Create GameOS H DD region of size 110GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-120gb-smaller: Create GameOS H DD region of size 120GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-130gb-smaller: Create GameOS H DD region of size 130GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-140gb-smaller: Create GameOS H DD region of size 140GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-150gb-smaller: Create GameOS H DD region of size 150GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-160gb-smaller: Create GameOS H DD region of size 160GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-170gb-smaller: Create GameOS H DD region of size 170GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-180gb-smaller: Create GameOS H DD region of size 180GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-190gb-smaller: Create GameOS H DD region of size 190GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-200gb-smaller: Create GameOS H DD region of size 200GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-210gb-smaller: Create GameOS H DD region of size 210GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-220gb-smaller: Create GameOS H DD region of size 220GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-230gb-smaller: Create GameOS H DD region of size 230GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-240gb-smaller: Create GameOS H DD region of size 240GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-250gb-smaller: Create GameOS H DD region of size 250GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-260gb-smaller: Create GameOS H DD region of size 260GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-270gb-smaller: Create GameOS H DD region of size 270GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-280gb-smaller: Create GameOS H DD region of size 280GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-290gb-smaller: Create GameOS H DD region of size 290GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-300gb-smaller: Create GameOS H DD region of size 300GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-310gb-smaller: Create GameOS H DD region of size 310GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-320gb-smaller: Create GameOS H DD region of size 320GB smaller than default

# Option --patch-emer-init-gameos-hdd-region-size-330gb-smaller: DD region of size 330GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-340gb-smaller: DD region of size 340GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-350gb-smaller: DD region of size 350GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-360gb-smaller: DD region of size 360GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-370gb-smaller: DD region of size 370GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-380gb-smaller: DD region of size 380GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-390gb-smaller: DD region of size 390GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-400gb-smaller: DD region of size 400GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-410gb-smaller: DD region of size 410GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-420gb-smaller: DD region of size 420GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-430gb-smaller: DD region of size 430GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-440gb-smaller: DD region of size 440GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-450gb-smaller: DD region of size 450GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-460gb-smaller: DD region of size 460GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-470gb-smaller: DD region of size 470GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-480gb-smaller: DD region of size 480GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-490gb-smaller: DD region of size 490GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-500gb-smaller: DD region of size 500GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-510gb-smaller: DD region of size 510GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-520gb-smaller: DD region of size 520GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-530gb-smaller: DD region of size 530GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-540gb-smaller: DD region of size 540GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-550gb-smaller: DD region of size 550GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-560gb-smaller: DD region of size 560GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-570gb-smaller: DD region of size 570GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-580gb-smaller: DD region of size 580GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-590gb-smaller: DD region of size 590GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-600gb-smaller: DD region of size 600GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-610gb-smaller: DD region of size 610GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-620gb-smaller: DD region of size 620GB smaller than default

Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H

# Option --patch-emer-init-gameos-hdd-region-size-630gb-smaller: DD region of size 630GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-640gb-smaller: DD region of size 640GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-650gb-smaller: DD region of size 650GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-660gb-smaller: DD region of size 660GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-670gb-smaller: DD region of size 670GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-680gb-smaller: DD region of size 680GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-690gb-smaller: DD region of size 690GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-700gb-smaller: DD region of size 700GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-710gb-smaller: DD region of size 710GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-720gb-smaller: DD region of size 720GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-730gb-smaller: DD region of size 730GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-740gb-smaller: DD region of size 740GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-750gb-smaller: DD region of size 750GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-760gb-smaller: DD region of size 760GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-770gb-smaller: DD region of size 770GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-780gb-smaller: DD region of size 780GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-790gb-smaller: DD region of size 790GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-800gb-smaller: DD region of size 800GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-810gb-smaller: DD region of size 810GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-820gb-smaller: DD region of size 820GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-830gb-smaller: DD region of size 830GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-840gb-smaller: DD region of size 840GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-850gb-smaller: DD region of size 850GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-860gb-smaller: DD region of size 860GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-870gb-smaller: DD region of size 870GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-880gb-smaller: DD region of size 880GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-890gb-smaller: DD region of size 890GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-900gb-smaller: DD region of size 900GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-910gb-smaller: DD region of size 910GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-920gb-smaller: DD region of size 920GB smaller than default

Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H Create GameOS H

# Option --patch-emer-init-gameos-hdd-region-size-930gb-smaller: Create GameOS H DD region of size 930GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-940gb-smaller: Create GameOS H DD region of size 940GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-950gb-smaller: Create GameOS H DD region of size 950GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-960gb-smaller: Create GameOS H DD region of size 960GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-970gb-smaller: Create GameOS H DD region of size 970GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-980gb-smaller: Create GameOS H DD region of size 980GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-990gb-smaller: Create GameOS H DD region of size 990GB smaller than default # Option --patch-emer-init-gameos-hdd-region-size-1000gb-smaller: Create GameOS HDD region of size 1000GB smaller than default # Option --patch-emer-init-disable-pup-search-in-game-disc: Disable searching fo r update packages in GAME disc. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type --patch-emer-init-gameos-hdd-region-size-half: boolean --patch-emer-init-gameos-hdd-region-size-quarter: boolean --patch-emer-init-gameos-hdd-region-size-eighth: boolean --patch-emer-init-gameos-hdd-region-size-22gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-10gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-20gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-30gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-40gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-50gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-60gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-70gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-80gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-90gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-100gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-110gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-120gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-130gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-140gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-150gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-160gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-170gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-180gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-190gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-200gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-210gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-220gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-230gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-240gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-250gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-260gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-270gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-280gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-290gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-300gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-310gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-320gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-330gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-340gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-350gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-360gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-370gb-smaller: boolean

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type Type

--patch-emer-init-gameos-hdd-region-size-380gb-smaller: --patch-emer-init-gameos-hdd-region-size-390gb-smaller: --patch-emer-init-gameos-hdd-region-size-400gb-smaller: --patch-emer-init-gameos-hdd-region-size-410gb-smaller: --patch-emer-init-gameos-hdd-region-size-420gb-smaller: --patch-emer-init-gameos-hdd-region-size-430gb-smaller: --patch-emer-init-gameos-hdd-region-size-440gb-smaller: --patch-emer-init-gameos-hdd-region-size-450gb-smaller: --patch-emer-init-gameos-hdd-region-size-460gb-smaller: --patch-emer-init-gameos-hdd-region-size-470gb-smaller: --patch-emer-init-gameos-hdd-region-size-480gb-smaller: --patch-emer-init-gameos-hdd-region-size-490gb-smaller: --patch-emer-init-gameos-hdd-region-size-500gb-smaller: --patch-emer-init-gameos-hdd-region-size-510gb-smaller: --patch-emer-init-gameos-hdd-region-size-520gb-smaller: --patch-emer-init-gameos-hdd-region-size-530gb-smaller: --patch-emer-init-gameos-hdd-region-size-540gb-smaller: --patch-emer-init-gameos-hdd-region-size-550gb-smaller: --patch-emer-init-gameos-hdd-region-size-560gb-smaller: --patch-emer-init-gameos-hdd-region-size-570gb-smaller: --patch-emer-init-gameos-hdd-region-size-580gb-smaller: --patch-emer-init-gameos-hdd-region-size-590gb-smaller: --patch-emer-init-gameos-hdd-region-size-600gb-smaller: --patch-emer-init-gameos-hdd-region-size-610gb-smaller: --patch-emer-init-gameos-hdd-region-size-620gb-smaller: --patch-emer-init-gameos-hdd-region-size-630gb-smaller: --patch-emer-init-gameos-hdd-region-size-640gb-smaller: --patch-emer-init-gameos-hdd-region-size-650gb-smaller: --patch-emer-init-gameos-hdd-region-size-660gb-smaller: --patch-emer-init-gameos-hdd-region-size-670gb-smaller: --patch-emer-init-gameos-hdd-region-size-680gb-smaller: --patch-emer-init-gameos-hdd-region-size-690gb-smaller: --patch-emer-init-gameos-hdd-region-size-700gb-smaller: --patch-emer-init-gameos-hdd-region-size-710gb-smaller: --patch-emer-init-gameos-hdd-region-size-720gb-smaller: --patch-emer-init-gameos-hdd-region-size-730gb-smaller: --patch-emer-init-gameos-hdd-region-size-740gb-smaller: --patch-emer-init-gameos-hdd-region-size-750gb-smaller: --patch-emer-init-gameos-hdd-region-size-760gb-smaller: --patch-emer-init-gameos-hdd-region-size-770gb-smaller: --patch-emer-init-gameos-hdd-region-size-780gb-smaller: --patch-emer-init-gameos-hdd-region-size-790gb-smaller: --patch-emer-init-gameos-hdd-region-size-800gb-smaller: --patch-emer-init-gameos-hdd-region-size-810gb-smaller: --patch-emer-init-gameos-hdd-region-size-820gb-smaller: --patch-emer-init-gameos-hdd-region-size-830gb-smaller: --patch-emer-init-gameos-hdd-region-size-840gb-smaller: --patch-emer-init-gameos-hdd-region-size-850gb-smaller: --patch-emer-init-gameos-hdd-region-size-860gb-smaller: --patch-emer-init-gameos-hdd-region-size-870gb-smaller: --patch-emer-init-gameos-hdd-region-size-880gb-smaller: --patch-emer-init-gameos-hdd-region-size-890gb-smaller: --patch-emer-init-gameos-hdd-region-size-900gb-smaller: --patch-emer-init-gameos-hdd-region-size-910gb-smaller: --patch-emer-init-gameos-hdd-region-size-920gb-smaller: --patch-emer-init-gameos-hdd-region-size-930gb-smaller: --patch-emer-init-gameos-hdd-region-size-940gb-smaller: --patch-emer-init-gameos-hdd-region-size-950gb-smaller: --patch-emer-init-gameos-hdd-region-size-960gb-smaller: --patch-emer-init-gameos-hdd-region-size-970gb-smaller:

boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean

# # # #

Type Type Type Type

--patch-emer-init-gameos-hdd-region-size-980gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-990gb-smaller: boolean --patch-emer-init-gameos-hdd-region-size-1000gb-smaller: boolean --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-gameos-hdd-region-size-410gb-smaller false --patch-emer-init-gameos-hdd-region-size-420gb-smaller false --patch-emer-init-gameos-hdd-region-size-430gb-smaller false --patch-emer-init-gameos-hdd-region-size-440gb-smaller false --patch-emer-init-gameos-hdd-region-size-450gb-smaller false --patch-emer-init-gameos-hdd-region-size-460gb-smaller false --patch-emer-init-gameos-hdd-region-size-470gb-smaller false --patch-emer-init-gameos-hdd-region-size-480gb-smaller false

--patch-emer-init-gameos-hdd-region-size-490gb-smaller false --patch-emer-init-gameos-hdd-region-size-500gb-smaller false --patch-emer-init-gameos-hdd-region-size-510gb-smaller false --patch-emer-init-gameos-hdd-region-size-520gb-smaller false --patch-emer-init-gameos-hdd-region-size-530gb-smaller false --patch-emer-init-gameos-hdd-region-size-540gb-smaller false --patch-emer-init-gameos-hdd-region-size-550gb-smaller false --patch-emer-init-gameos-hdd-region-size-560gb-smaller false --patch-emer-init-gameos-hdd-region-size-570gb-smaller false --patch-emer-init-gameos-hdd-region-size-580gb-smaller false --patch-emer-init-gameos-hdd-region-size-590gb-smaller false --patch-emer-init-gameos-hdd-region-size-600gb-smaller false --patch-emer-init-gameos-hdd-region-size-610gb-smaller false --patch-emer-init-gameos-hdd-region-size-620gb-smaller false --patch-emer-init-gameos-hdd-region-size-630gb-smaller false --patch-emer-init-gameos-hdd-region-size-640gb-smaller false --patch-emer-init-gameos-hdd-region-size-650gb-smaller false --patch-emer-init-gameos-hdd-region-size-660gb-smaller false --patch-emer-init-gameos-hdd-region-size-670gb-smaller false --patch-emer-init-gameos-hdd-region-size-680gb-smaller false --patch-emer-init-gameos-hdd-region-size-690gb-smaller false --patch-emer-init-gameos-hdd-region-size-700gb-smaller false --patch-emer-init-gameos-hdd-region-size-710gb-smaller false --patch-emer-init-gameos-hdd-region-size-720gb-smaller false --patch-emer-init-gameos-hdd-region-size-730gb-smaller false --patch-emer-init-gameos-hdd-region-size-740gb-smaller false --patch-emer-init-gameos-hdd-region-size-750gb-smaller false --patch-emer-init-gameos-hdd-region-size-760gb-smaller false --patch-emer-init-gameos-hdd-region-size-770gb-smaller false --patch-emer-init-gameos-hdd-region-size-780gb-smaller false --patch-emer-init-gameos-hdd-region-size-790gb-smaller false --patch-emer-init-gameos-hdd-region-size-800gb-smaller false --patch-emer-init-gameos-hdd-region-size-810gb-smaller false --patch-emer-init-gameos-hdd-region-size-820gb-smaller false --patch-emer-init-gameos-hdd-region-size-830gb-smaller false --patch-emer-init-gameos-hdd-region-size-840gb-smaller false --patch-emer-init-gameos-hdd-region-size-850gb-smaller false --patch-emer-init-gameos-hdd-region-size-860gb-smaller false --patch-emer-init-gameos-hdd-region-size-870gb-smaller false --patch-emer-init-gameos-hdd-region-size-880gb-smaller false --patch-emer-init-gameos-hdd-region-size-890gb-smaller false --patch-emer-init-gameos-hdd-region-size-900gb-smaller false --patch-emer-init-gameos-hdd-region-size-910gb-smaller false --patch-emer-init-gameos-hdd-region-size-920gb-smaller false --patch-emer-init-gameos-hdd-region-size-930gb-smaller false --patch-emer-init-gameos-hdd-region-size-940gb-smaller false --patch-emer-init-gameos-hdd-region-size-950gb-smaller false --patch-emer-init-gameos-hdd-region-size-960gb-smaller false --patch-emer-init-gameos-hdd-region-size-970gb-smaller false --patch-emer-init-gameos-hdd-region-size-980gb-smaller false --patch-emer-init-gameos-hdd-region-size-990gb-smaller false --patch-emer-init-gameos-hdd-region-size-1000gb-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 hal f of installed HDD" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 qua rter of installed HDD" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 eig hth of installed HDD" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 22G B smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 10G B smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 20G B smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 30G B smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 40G B smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 50G B smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 60G B smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 70G B smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 80G B smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 90G B smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0

0\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 100 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 110 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 120 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 130 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 140 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 150 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 160 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 170 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 180 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 190 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 200 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 210 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 220 GB smaller than default"

set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 230 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 240 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 250 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 260 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 270 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 280 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 290 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 300 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 310 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 320 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 330 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 340 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 350 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 360 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 370 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 380 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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 390 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0

0\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 400 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\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-gameos-hdd-region-size -410gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 410 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xcc\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 -420gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 420 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xcb\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 -430gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 430 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xca\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 -440gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 440 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xc9\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 -450gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 450 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xc7\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 -460gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 460 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xc6\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 -470gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 470 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xc5\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 -480gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 480 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xc4\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 -490gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 490 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xc2\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 -500gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 500 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xc1\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 -510gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 510 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xc0\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 -520gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 520 GB smaller than default"

set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xbf\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 -530gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 530 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xbd\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 -540gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 540 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xbc\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 -550gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 550 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xbb\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 -560gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 560 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"

set replace "\x3c\xe9\xba\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 -570gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 570 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xb8\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 -580gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 580 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xb7\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 -590gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 590 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xb6\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 -600gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 600 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xb5\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 -610gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 610 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xb3\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 -620gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 620 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xb2\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 -630gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 630 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xb1\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 -640gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 640 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xb0\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 -650gb-smaller)} {

log "Patching emergency init to create GameOS HDD region of size 650 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xae\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 -660gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 660 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xad\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 -670gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 670 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xac\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 -680gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 680 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xab\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 -690gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 690 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0

0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xa9\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 -700gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 700 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xa8\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 -710gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 710 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xa7\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 -720gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 720 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xa6\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 -730gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 730 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xa4\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 -740gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 740 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xa3\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 -750gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 750 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xa2\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 -760gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 760 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\xa1\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 -770gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 770 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x9f\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 -780gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 780 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x9e\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 -790gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 790 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x9d\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 -800gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 800 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x9c\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 -810gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 810 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x9a\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 -820gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 820 GB smaller than default"

set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x99\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 -830gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 830 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x98\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 -840gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 840 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x97\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 -850gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 850 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x95\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 -860gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 860 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"

set replace "\x3c\xe9\x94\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 -870gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 870 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x93\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 -880gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 880 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x92\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 -890gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 890 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x90\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 -900gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 900 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x8f\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 -910gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 910 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x8e\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 -920gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 920 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x8d\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 -930gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 930 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x8b\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 -940gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 940 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x8a\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 -950gb-smaller)} {

log "Patching emergency init to create GameOS HDD region of size 950 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x89\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 -960gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 960 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x88\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 -970gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 970 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x86\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 -980gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 980 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x85\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 -990gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 990 GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0

0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x84\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 -1000gb-smaller)} { log "Patching emergency init to create GameOS HDD region of size 100 0GB smaller than default" set search "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x0 0\x00\x00\x7d\x26\x48\x50" append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8" set replace "\x3c\xe9\x83\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-ingame-disc)} { log "Patching emergency init to disable searching for update package s in GAME disc" set search "\x80\x01\x00\x74\x2f\x80\x00\x00\x40\x9e\x00\x14\x7f\xa 3\xeb\x78" set replace "\x38\x00\x00\x01" catch_die {::patch_elf $elf $search 0 $replace} \ "Unable to patch self [file tail $elf]" } } } [edit] Using console / shellscript By using commandline switches you can preset every task there is, plus the sourc e PUP, destination PUP and debug settings. Example of PS3MFW Builder 0.2 tasks: ps3mfw.exe %1 "Y:\PS3-Firmwares" "Z:/PS3MFW-out/test.pup" --change_version --add _license_msg --patch_lv1 --patch_lv2 --patch_nas_plugin --patch_privacy --patch_ vsh --patch_category_game --spoof_version --debug true Example of PS3MFW Builder with OtherOS++ tasks (in this case tasks that fail wit h FW 3.15 are disabled/not selected): ps3mfw.exe %1 "Y:\PS3-Firmwares\" "Z:/MFWOtherOS-out/test.pup" --change_version --add_license_msg --patch_lv1 --patch-lv1-dispmgr-access false --patch-lv1-other os-plus-plus false --patch_lv2 --patch-emer-init --patch_category_game --patch-p ackage-files true --patch-app-home true --patch_nas_plugin --allow-pseudoretailpkg true --allow-debug-pkg true --patch_vsh --allow-unsigned-app true --patch_pr ivacy --debug true

[edit] Reference TCL Tutorial

Tcl Reference Manual Tutorial - Create Custom PS3 Boot Logo - Edit Coldboot.raf https://github.com/kakaroto/RCOMage [edit] Downloads / precompiled & source Ubuntu precompiled build: ps3mfw.gibrew.8-11-11.ubuntu.zip (by nevik) Windows precompiled build of release v0.2 with ps3keys and tools: ps3mfw-w32_por table.rar (4.4 MB) (pretested Windows 7 / XP) Old Windows precompiled build of release v0.1: PS3MFW_0.1-win.rar (4.34 MB) Apple MAC OSX v0.2: PS3mfw.V.02.gitbrew.8-1-11.tasks.zip (4.15 MB) (Intel) PS3mfwV.02.ppc.OsX.gitbrew.8-1-11.tasks.zip (4.14 MB) (PPC) Gitbrew ps3tools (dd aug 18 2011): for Linux and MACOSX (Intel&PPC) : Mac-Linux-tools.zip (6.8 MB) (thanks to nevik :) ) for Win7-x64 (needs Cygwin 1.7.x) : Win7-x64-tools.zip (1.05 MB) (thanks to nevi k :) ) for Windows x86 and x64 (contains cygwin DLL and other files needed) : Windows-x 86-x64-ps3tools.rar (2.01 MB) Old MAC OSX precompiled build of release v0.1: PS3MFW_0.1.dmg (9.04 MB) Quick build scripts: For Debian/Ubuntu: http://www.pastie.org/2117364 For Debian/Archlinux/RHEL: http://pastie.org/private/6qd9gvzohdm7ivnxuibsg Git source : http://git-hacks.com/ps3mfw