Post: [BASH]How to convert old pkg to new one to use with geoCFW!
01-09-2011, 11:27 PM #1
izyehboy
Treasure hunter
(adsbygoogle = window.adsbygoogle || []).push({}); Ok so first off, i dont take any credit for this, im just a google nerd...
Its a bash script to convert 3.41 to 3.55 PKG's.

    #!/bin/bash

#Wutangrza's lazy man's script to convert from existing 3.41 pkg to 3.55 pkg installable with GEO's CFW
#You have to have PSL1GHT and all the other goodness installed already

EXPECTED_ARGS=2
E_BADARGS=65

if [ $# -ne $EXPECTED_ARGS ]
then
echo "Usage: `basename $0` old.3.41.pkg new.3.55.pkg"
exit $E_BADARGS
fi

#change these if they're a different path for you
export PS3DEV=/usr/local/ps3dev
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/ppu/bin
export PATH=$PATH:$PS3DEV/spu/bin
export PSL1GHT=~/PSL1GHT/psl1ght/build
PSKEYS=~/.ps3
PSUTILS=~/ps3utils
PSTOOLS=~/ps3tools
PSPUBTOOLS=~/ps3publictools

#update all tools, comment out if you want to skip this
#cd $PSKEYS && git pull && cd $PSUTILS && git pull && make && cd $PSTOOLS && git pull && make && cd $PSPUBTOOLS && git pull && make

OLDPKG=$1
NEWPKG=$2
oldPWD=`pwd`

rm -rf /tmp/crap123
mkdir /tmp/crap123
cd /tmp/crap123
#hackish, but pkg.py won't let me tell it where to extract?
$PSL1GHT/bin/pkg.py -x "$1"
#this is really hackish, but eff you, dont use it if you dont like it
DIRNAME=`ls /tmp/crap123`
$PSTOOLS/unself ${DIRNAME}/USRDIR/EBOOT.BIN crap.elf
$PSPUBTOOLS/bin/make_self_npdrm crap.elf EBOOT.BIN ${DIRNAME}
mv EBOOT.BIN ${DIRNAME}/USRDIR/
$PSL1GHT/bin/pkg.py --contentid ${DIRNAME} /tmp/crap123/${DIRNAME}/ "$2"
$PSPUBTOOLS/bin/package_finalize "$2"
cd $oldPWD
mv /tmp/crap123/"$2" "./$2"
rm -rf /tmp/crap123


Source; You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked izyehboy for this useful post:

Kill_tony485
01-09-2011, 11:31 PM #2
Superahm
< ^ > < ^ >
omfg omfg orgasm yesyes!! WOOOT! :y:
01-09-2011, 11:33 PM #3
KillaPwner
Who’s Jim Erased?
Thank you, i will probably use it a lot
01-09-2011, 11:36 PM #4
djgringoboy2003
Do a barrel roll!
Nice.... anyone confirm that this works?
Can't be botherd shutting down to boot into linux.
01-09-2011, 11:36 PM #5
Mankins
You talkin to me?
does this mean old backup manager on geohot fw!?
01-09-2011, 11:37 PM #6
.Say Hi.
Rep is so 2010
Originally posted by djgringoboy2003 View Post
Nice.... anyone confirm that this works?
Can't be botherd shutting down to boot into linux.


I seen posts on the original site that confirms it works :y:
01-09-2011, 11:42 PM #7
djgringoboy2003
Do a barrel roll!
Originally posted by .Say
I seen posts on the original site that confirms it works :y:

Sweet, thanks.
01-09-2011, 11:46 PM #8
yoh2
You talkin to me?
Yes it works. Here I have linked a new signed Homebrew Pack for cfw. 3.55 !

You must login or register to view this content.
01-10-2011, 12:48 AM #9
how does this work?
01-12-2011, 05:05 AM #10
Another great tutorial here, it helped tremendously....


You must login or register to view this content.


or here:

You must login or register to view this content.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo