#!/bin/sh
#
# Copyright (C) 2011 glevand (geoffrey.levand@mail.ru)
# Copyright (C) 2013 PSDev (psdev@hotmail.com)
# All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
OFW=$HOME/firmwares/OFW430.PUP
CFW=$HOME/firmwares/CFW430-.PUP
./ps3mfw $OFW $CFW \
--gui false \
--debug false \
--patch_pup \
--pup-build "" \
--version-string "" \
--version-suffix "PSDev" \
--patch_lv1 \
--patch-lv1-peek-poke true \
--patch-lv1-remove-lv2-protection true \
--patch-lv1-sysmgr-disable-integrity-check-4x true \
--patch-lv1-coreos-hash-check true \
--patch_cos \
--patch-lv0-coreos-ecdsa-check true \
--patch-spkg-ecdsa-check true \
--patch-pup-search-in-game-disc true \
--patch-lv2-peek-poke-4x true \
--patch-lv2-lv1-peek-poke-4x true \
--patch-lv2-npdrm-ecdsa-check true \
--patch-lv2-payload-hermes-4x true \
--patch-lv2-SC36-4x true \
--patch_xmb
--add-install-pkg true \
--patch-act-pkg true \
--add-hb-seg true \
--patch-app-home true \
--patch-ren-apphome true \
--patch-alpha-sort true \
--patch-rape-sfo true \
--patch_vsh
--allow-pseudoretail-pkg true \
--allow-debug-pkg true \
--patch-vsh-react-psn-v2-4x true \