In this post, we'll be going over how to...
Manually Unpack/Decrypt PKG files
Downloaded manually, or due to NPS Browser closing, crashing, or an error in downloading.
First thing, we need a couple of tools before we get started. If you're using NPS Browser already, you already have all of the tools needed.
If not, you need pkg2zip found here: https://github.com/mmozeiko/pkg2zip/releases
Go ahead and put it in it's own folder, like so:
Now, put your PKG file you want to decrypt in the same folder as pkg2zip, like so (I'm using Limbo(PCSE00268) for example):
Now, you need to open CMD in this folder, like so:
*Note* the above command is for Windows 7, for windows 10 it's a little different, especially if it's on another HDD, look into the "CD" command for Windows here: http://roms.ga/HhhwU
Now that you're "cd"'ed to the folder with pkg2zip, now we need to run the command!
The command I'm running is as follows:
pkg2zip -x -c9 trgIstMxIlcUYLFmvhCwRbYgOHEpdPZCwxGVudRJzuXBZnEZUdJLexACJnsfbiDy.pkg KO5ifR1dQ+eHBhgZmJpATTUyswDZ72JoGODjGOni6uji4+nr5I/Pf7b1wlqb/Ku2lRSFlO3d0hIwyKODeaSnRwAhcxP5
What does this mean?
"pkg2zip" - calling the pkg2zip.exe in the folder
"-x -c9" are folder and compression settings, you don't need to mess with these
"trgIstMxIlcUYLFmvhCwRbYgOHEpdPZCwxGVudRJzuXBZnEZUdJLexACJnsfbiDy.pkg" is the direct package name from NPS (*This can be renamed, I just copy and paste it, be sure you include the '.pkg' at the end!*)
KO5ifR1dQ+eHBhgZmJpATTUyswDZ72JoGODjGOni6uji4+nr5I/Pf7b1wlqb/Ku2lRSFlO3d0hIwyKODeaSnRwAhcxP5" is the zRif key taken from NPS, found here (Link to Spreadsheet):
After you run that, you'll see an output like this:
You'll now have a folder titled "app" in the same folder you have pkg2zip in, with the game inside of it, decrypted and unpacked!
That's about it! If you have any questions, feel free to ask!