Post: How to unpack and pack PKG's.
07-06-2010, 05:18 AM #1
Michael
I love smart girls. ♥
(adsbygoogle = window.adsbygoogle || []).push({}); Don't post this anywhere else without giving me, Michael, credit.

You need a root account in Linux for this! I used Ubuntu 10.04. The SDK is for Windows as well, but there's no readme for the files. So I set up VMWare with Ubuntu so I can use Linux inside Windows.

For Linux:
In Ubuntu, Fedora, Yellow Dog, etc, type "sudo apt-get install yum" in Terminal.
Type in your root password.
Now, look for a repository with PS3 binaries. You can get some from PS3Bodega.
You need the PS3 SDK kit as well, the full one. You can't get the full 600MB one from pretty much anywhere unless you search. I can't give a link since it's not allowed.
With yum and the RPM installed, now you can just type "yum ps3unpkgr" in Terminal instead of code editing.
When you get the SDK and install the binaries (the RPM is right there), you can use "ps3unpkgr -x <PKG name>" and unpack everything.
To pack it into a PKG again, use "ps3unpkgr -c <PKG name>" and it will pack.
I'm not going to sit and explain everything so thoroughly if you don't know how to do it. If you really are wanting more, reach me another way.

To do this in Windows:
Download the PS3 SDK.
Go into the "host-win32" folder.
Go into "bin."
In Command Prompt, drag "make_package_npdrm.exe" into the prompt, and use -x <PKG name> to decompress. Use -c <PKG name> to compress.
This unpacker will only work for certain PKGs! Luckily, the patch falls under this category.

You must login or register to view this content.
TinyPic resizing my monitor.. wow.
Last edited by Michael ; 07-11-2010 at 09:36 PM. Reason: I added how to do it on Windows.

The following 18 users say thank you to Michael for this useful post:

<Jimbo>, closebeat, D3cH, deathmore, Grandad Trotter, i_am_legend147, IDontbreak, iiFaMoUzZ-, Macdaddy4sure, Maty360414, Ninja, Nolzad0, ps3user123, RyGuy88, SupaTrollioBros, ThisIsBio, zasz
07-08-2010, 03:49 AM #38
iNikush
I'm back from the dead
Originally posted by Michael View Post
I updated the thread, and now I tell you how to do it on Windows.


You can't drag the file into CMD, won't let you on Vista, and make the Linux one easier, which file is the rpm and do we install it with Alien?
07-08-2010, 03:59 AM #39
I get an error that windows has terminated the program for working when i use it. how can i fix?
07-08-2010, 04:01 AM #40
oX-matto-Xo
#1 Chaos MW3
Originally posted by Michael View Post
I updated the thread, and now I tell you how to do it on Windows.


doesnt work for me on windows 7.. any other idea's?
07-08-2010, 04:04 AM #41
mr.e
Haxor!
Originally posted by Michael View Post
In Command Prompt, drag "make_package_npdrm.exe" into the prompt, and use -x <PKG name> to decompress. Use -c <PKG name> to compress.
This unpacker will only work for certain PKGs! Luckily, the patch falls under this category.


I don't think -c is the compress option.

    >make_package_npdrm.exe --help

usage: [revision 1061]

make_package_npdrm [options] config-file target-directory
-v | --verbose print verbose messages.
-f | --nofilelimit no limitation to file find.

make_package_npdrm [options] npdrm-package
-c | --check check package format.
-l | --list list packaged files.

make_package_npdrm [options]
--version print revision.
--help print help message.


Here's the output from some of my tests with this program under windows.

    
>make_package_npdrm.exe -c UP0002-BLUS30377_00-MW2P000000000010-A0110-V0100-PE.pkg
This file was finalized: "UP0002-BLUS30377_00-MW2P000000000010-A0110-V0100-PE.pkg"

>make_package_npdrm.exe -l UP0002-BLUS30377_00-MW2P000000000010-A0110-V0100-PE.pkg

Listing: "UP0002-BLUS30377_00-MW2P000000000010-A0110-V0100-PE.pkg"
+) overwrite, -) no overwrite
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

>make_package_npdrm.exe -x UP0002-BLUS30377_00-MW2P000000000010-A0110-V0100-PE.pkg

Extract: "UP0002-BLUS30377_00-MW2P000000000010-A0110-V0100-PE.pkg"
+) overwrite, -) no overwrite

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.


For both the extract and list options I received a popup saying make_package_npdrm.exe has stopped working.

Am I missing a piece of the configuration here or maybe an incomplete copy of the sdk?
07-08-2010, 05:07 AM #42
divybc
Former Staff
Originally posted by Michael View Post
I don't think editing the PKG is the method Hunter or TheUnkn0wn took. I think it is something REALLY simple like the prestige glitch found by gofurgold.

Don't post this anywhere else without giving me, Michael, credit.

You need a root account in Linux for this! I used Ubuntu 10.04. The SDK is for Windows as well, but there's no readme for the files. So I set up VMWare with Ubuntu so I can use Linux inside Windows.

For Linux:
In Ubuntu, Fedora, Yellow Dog, etc, type "sudo apt-get install yum" in Terminal.
Type in your root password.
Now, look for a repository with PS3 binaries. You can get some from PS3Bodega.
You need the PS3 SDK kit as well. You can't get the full 600MB one, get the 156MB one. I won't provide a link, go find it.
With yum and the RPM installed, now you can just type "yum ps3unpkgr" in Terminal instead of code editing.
When you get the SDK and install the binaries (the RPM is right there), you can use "ps3unpkgr -x <PKG name>" and unpack everything.
To pack it into a PKG again, use "ps3unpkgr -c <PKG name>" and it will pack.
I'm not going to sit and explain everything so thoroughly if you don't know how to do it. If you really are wanting more, reach me another way.

To do this in Windows:
Download the PS3 SDK.
Go into the "host-win32" folder.
Go into "bin."
In Command Prompt, drag "make_package_npdrm.exe" into the prompt, and use -x <PKG name> to decompress. Use -c <PKG name> to compress.
This unpacker will only work for certain PKGs! Luckily, the patch falls under this category.

You must login or register to view this content.
TinyPic resizing my monitor.. wow.



well i get this
"cannot open package.conf"
with windows :(

---------- Post added at 06:07 AM ---------- Previous post was at 06:04 AM ----------

Originally posted by Xo View Post
doesnt work for me on windows 7.. any other idea's?


windows xp bro
i downgraded to it from windows 7 to test and it wokrs Smile
07-08-2010, 05:16 AM #43
VHS
Has been a while
You the best man, I was trying to unpack the modded pkg file for MW2 (PS3) on Linux... I failed epically. gonna try the method for Windows.
07-08-2010, 05:46 AM #44
ZoneTw0
You talkin to me?
. .
Last edited by ZoneTw0 ; 03-03-2017 at 07:01 PM.
07-08-2010, 05:53 AM #45
divybc
Former Staff
Originally posted by pr0z View Post
When I follow all the steps it says: "The file was finalized: "[File Name Here.PKG]", what I do now?


so you completed it and put the modded mw2 1.11 patch in with fixed checksums ? or no ?
07-08-2010, 06:27 AM #46
ZoneTw0
You talkin to me?
. .
Last edited by ZoneTw0 ; 03-03-2017 at 07:01 PM.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo