Random Homebrew: Jafe's Hike
you become Jafe, and need to catch butterflies but avoid the bee sting and gopher bites

PSN PKG Decryptor & Extractor v1.71 by LMAN (UPDATED)

Everything that is PSP-related but doesn't go in any other subforum

PSN PKG Decryptor & Extractor v1.71 by LMAN (UPDATED)

Postby leecherman » Wed Jan 30, 2013 9:00 am

Advertising
Hello everyone, I have just finished coding "PSN PKG Decryptor & Extractor" & "PSOne.keys Generator"
This program will help you and will do all the required process for you regarding PKG files ;)

PSN PKG Decryptor & Extractor:

Code: Select all

PSN PKG Decryptor & Extractor Written By LMAN © 2013

As it's name suggests, PSN PKG Decryptor & Extractor is designed (Specially for the PSP) to help you decrypt PS3 & PSP PKG file and extract the files from it.
For PS3 It can extract PKG files only, For PSP It can extract and (decrypt, dump, verify the dumped ISO, generate KEYS.BIN from PSOne EBOOT.PBP file) and prepare the extracted files to be ready for use ONLY on the PSP system.

Features:
Extract All PS3 & PSP PKG files.
Extract & Decrypt & Dump all PSP PKG files ( Games & Minis, DLCs & Addons, NeoGeo, PC Engine, PSOne Classic Games, Games Updates, Themes )
Generate KEYS.BIN for PSOne Game from PSOne EBOOT.PBP file.
Prepare the files for the PSP System.
Detect the Uncompleted PKG files.
Check & Verify the Dumped ISO.
View ICON & PIC and Title Name, Title ID, Category, Parental level of PKG file after extracted.
Check for Games Updates for PS3 & PSP System.
Move the files after decrypting, dumping it to PSP Device ( If there is a free space )

How to use: ( Single Mode )

1) Double Click to Browse or Drag & Drop:
PKG file to decrypt and extract it's content.
PSP ISO file to verify it.
EBOOT.PBP to Dump it to ISO format.
PSOne EBOOT.PBP to Generate KEYS.BIN file from it.
EDAT/PGD file to decrypt it.
PTF file to decrypt it.
2) Select One of these options:
Select "Auto Detect PKG Contents" to automatically (decrypt, dump) it's contect.
Select "DLC & ADDON" if the PKG file is a DLC\ADDON.
Select "Game & Mini Game" if the PKG file is a Game\Minis.
Select "PSOne Classic Game" if the PKG file is a PSOne Classic Game.
Select "PC Engine Game" if the PKG file is a PC Engine Game.
Select "Update" if the PKG file is a Game Update.
Select "Theme" if the PKG file is a Theme.
3) See the log dialog for any details.

How to use: ( Batch Mode )

1) Drag & Drop Files/Folders or Press CTRL+F to Browse and add :
PKG files to decrypt and extract it's content.
PSP ISO files to verify it.
EBOOT.PBP files to Dump it to ISO format.
PSOne EBOOT.PBP files to Generate KEYS.BIN file from it.
EDAT/PGD files to decrypt it.
PTF file to decrypt it.
2) Press 'Do it' to start the Operation.
3) Double Click on each file to See the log dialog for any details.

NOTE:
Select "AUTO DETECT PKG CONTENT" If you don't know what PSP PKG file content is. ( Recommended Option )
Put "psone.keys" in the same folder as the program, so you can export the needed keys.bin for your PSOne game.
Drag & Drop files into 'PSNPKGDecryptor&Extractor.exe' icon to activate the Batch Mode.
Press CTRL+F to Browse and add files. ( In Batch Mode )
Press DEL to remove the selected files. ( In Batch Mode )
This program requires .NET 2.0
This program intend to be use only with your own legal copy of the game.
Use this program at your own risk!

Changelog:

1.00:
+Initial Release!

1.10:
+You can Export KEYS.BIN from "PSOne.keys" file.

1.20:
+Automatically Detect if the PKG contents is for PS3 System Only to disable any PSP functions.
+Automatically Generate KEYS.BIN from PSOne EBOOT.PBP file in same path as the EBOOT.PBP file.
+Automatically Generate KEYS.BIN when extracting PSOne game from PKG file without needing for PSOne.keys database.
+Automatically Sort KEYS by game region & title and save it to PSOne.keys database file when adding new KEYS.BIN to PSOne.Keys file.
+Detect if the KEYS.BIN is already exists in PSOne.keys file before adding it.
+You can Add new KEYS.BIN to PSOne.keys database file without needing PSOne.Keys Generator.
+You can Sort KEYS.BIN by game region & title and save it to PSOne.keys database file.
+Show Warning and Abort the Operation when the PKG file path is too long.

1.21:
!Fixed reading Large PSOne EBOOT.PBP file.

1.30:
+Automatically Decrypt DLC files, Dump EBOOT files to ISO format when Drag & Drop it.
+Batch Mode So you can Drag & Drop PKG, ISO, EBOOT, EDAT/PGD files to Decrypt, Dump, Verify ISO, Generate PSOne KEYS.BIN files. ( See the NOTE & info about How to use Batch Mode )
+Show Warning and Abort the Operation when there is no free space available before extracting PKG file.

1.31:
+Check & Prepare the EDAT/PGD file for the decryption process if failed, which Fix a bug with pgdecrypt that cannot decrypt some EDAT/PGD files.

1.40:
+Support decryption of PTF Themes.

1.50:
+New Option to Move files to PSP Device after extracting and decrypting it. ( if there is a free space available on the PSP Device )
+New Dialog to Check for Games updates for PS3 & PSP System. ( By using TitleID XXXX-##### or XXXX##### format )
+Display ICON & PIC for PBOOT.PBP UPDATE file.
+Auto decryption of PGD/EDAT files after extracting PKG UPDATE file.
+Improved Detecting PKG file for UPDATE file and also EBOOT.PBP file for non PSOne Games.

1.60:
+New Checkbox Option to "Set a Working Dir for PKG files" ( Useful if the PKG file path is too long and also if the PKG file is on CD\DVD\BD disc )
This will create a Folder named "PKGDir" then will copy the PKG file to it, and after the operation is complete the copied PKG file will be deleted.
+Batch Check for PSP\PS3 game updates ( Drag & Drop a text file "anyfilename.txt" that contains only games title on the Title-ID field or Paste the text file path manually into the Title-ID field, Note that each Title-ID separated by a NewLine in the text file )
Example: ( anyfilename.txt Contains )
XXXX#####
XXXX#####

1.70b:
+New Decryption Method for PKG files ( Support only Retail PSP\PS3 PKG files )
+New CheckBox Option to Check for Games Updates after decrypting the PKG file. ( 'Single Mode' This will inform you if the game has an Update or not, if yes check the log details for the download link )
+New CheckBox Option in PSP Device dialog that can detect Connected PSP By Device Model.
+New CheckBox Option in Log dialog that can view texts by Word wrap.
+New Command-lines to export files (-export npdpc.exe) (-export pgdecrypt.exe) (-export pkgview.exe) (-export allfiles) to the same path as the program.
+New Readme Button in About dialog that display informations and changelogs about the program.
+Support to automatically get information and download link for PKG file from .XPD file.
+Support to check for games updates from PKG, ISO, EBOOT.PBP, PBOOT.PBP files. ( Drag & Drop these files into PSNUpdate TitleID Field then Press Search )
+Display Theme Title after decrypting it in the log details.
+Improved log dialog details and automatically detect the PKG download link.
+Rewrite some functions so it can works with Linux Systems using Mono and Wine. ( Not all functions is Available for Linux Systems = Move files to PSP, Decrypt Non Retail PKG files, Browse Files Path, Texts Colors )
!Read readme_linux.txt for more informations on how to get it work under Linux System.
!The new decryption method is using a fixed\modified version of Mathieulh's sourcecode. ( Cause the original source has a problem with Some PKG files - Shows an error while attempting to decrypt and extract some PKG files )

1.70b2:
+New CheckBox Option to Create a PSPReady folder. ( Just like the folders that in your PSP MemoryStick, Copy the contents from this folder to your PSP root and overwrite if necessary )
+New Display a Message confirmation to rename the PKG file to it's ContentID if the file name is above 55 characters.
+Automatically Delete PKGDir when finish the operation. ( If the PKGDir doesn't contains any folders )
!Renamed PKG_DIR to PKGDir.
!Correct 'Set Working Dir' Path when switch between Single and Batch Mode.
!Another Fix for the new decryption method.

1.71:
+Stable Release.
+New Button and Confirmation message to verify the PKG files if it's corrupted or not using it's SHA1 hash. ( Default is True for Confirmation message )
+Automatically Fix 3 known bad dumps created by npdpc. ( ULUS10214, ULES00283, ULJM05500 )
+Characters limit can be changed manually in the INI config file "PSNPKGDecryptor&Extractor.ini". ( Default is 55 Characters )
!Fixed a problem in Batch Mode.

My homepage:
https://sites.google.com/site/theleecherman

This is the easiest GUI available that can decrypt & extract & dump & verify dumped ISO, generate keys.bin file for the PSP system. ( If there is any! )
So If you like my works, a donation using PayPal will be really appreciated :)
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TGGGHWTV89ZGG

Special thanks & respect to:
Ifcaro for PKGView.
tpu for PGDECrypt & NPDecryptor.
l0c4lh0st for ISOSizeVerifier.
mathieulh for PSPPS3PKGDecrypterExtractor.
eighthdayregret for the tip.
qwikrazor87 for FixBadISO.

It takes from me a lot of time to code it :(
So have FUN & ENJOY :)

Note: ( Tested ON Windows 8 + UAC is Disabled )
Don't forget to run as admin if you are running this program in the same path as the installed windows "C:\"
when using win vista or above!
Also I prefer to extract the files to other Partition than the installed windows.


Screenshots:
Image
Image
Image
Image
Image
Image

Site:
https://sites.google.com/site/theleecherman/psnpkgdecryptor-extractor

Download:
https://sites.google.com/site/theleecherman/psnpkgdecryptor-extractor/PSN.PKG.Decryptor.%26.Extractor.v1.71-LMAN.rar

Code: Select all
Updated to v1.71:
+Stable Release.
+New Button and Confirmation message to verify the PKG files if it's corrupted or not using it's SHA1 hash. ( Default is True for Confirmation message )
+Automatically Fix 3 known bad dumps created by npdpc. ( ULUS10214, ULES00283, ULJM05500 )
+Characters limit can be changed manually in the INI config file "PSNPKGDecryptor&Extractor.ini". ( Default is 55 Characters )
!Fixed a problem in Batch Mode.
Last edited by leecherman on Mon Apr 29, 2013 6:27 pm, edited 12 times in total.
User avatar
leecherman
 
Posts: 88
Joined: Wed Jul 13, 2011 6:38 am

Re: PSN PKG Decryptor & Extractor + PSOne.keys Generator by

Postby Casavult » Wed Jan 30, 2013 4:21 pm

Advertising
Very nice work! ;)
PSP 1000 32GB PRO-HG Duo TA-082 6.60 CFW ME 1.8 and (L)CFW PRO-C fix3 + TM and DDC v8/v9 Mod
PSP 1000 8GB PRO-HG Duo TA-079 5.00 CFW M33-6 + Fix, TM and DDC v8/v9 Mod
PS Vita 32GB 3g + Wi-fi PCH-1103 2.02 ARK eCFW

Image
Image
User avatar
Casavult
Moderator
 
Posts: 2761
Joined: Wed Jun 08, 2011 4:22 pm
Location: London, UK.

Re: PSN PKG Decryptor & Extractor + PSOne.keys Generator by

Postby leecherman » Thu Jan 31, 2013 2:30 am

Thanks :)
User avatar
leecherman
 
Posts: 88
Joined: Wed Jul 13, 2011 6:38 am

Re: PSN PKG Decryptor & Extractor + PSOne.keys Generator by

Postby GhettoBeta59 » Fri Feb 01, 2013 1:05 am

Can't wait to try this out! Thanks!
User avatar
GhettoBeta59
 
Posts: 555
Joined: Sat Feb 26, 2011 3:10 pm
Location: ^ I'm right up there

Re: PSN PKG Decryptor & Extractor + PSOne.keys Generator by

Postby leecherman » Fri Feb 01, 2013 4:19 am

You're Welcome.
User avatar
leecherman
 
Posts: 88
Joined: Wed Jul 13, 2011 6:38 am

Re: PSN PKG Decryptor & Extractor v1.2 by LMAN ( UPDATED )

Postby leecherman » Thu Feb 07, 2013 3:03 pm

Updated to v1.2
+Automatically Detect if the PKG contents is for PS3 System Only to disable any PSP functions.
+Automatically Generate KEYS.BIN from PSOne EBOOT.PBP file in same path as the EBOOT.PBP file.
+Automatically Generate KEYS.BIN when extracting PSOne game from PKG file without needing for PSOne.keys database.
+Automatically Sort KEYS by game region & title and save it to PSOne.keys database file when adding new KEYS.BIN to PSOne.Keys file.
+Detect if the KEYS.BIN is already exists in PSOne.keys file before adding it.
+You can Add new KEYS.BIN to PSOne.keys database file without needing PSOne.Keys Generator.
+You can Sort KEYS.BIN by game region & title and save it to PSOne.keys database file.
+Show Warning and Abort the Operation when the PKG file path is too long.
User avatar
leecherman
 
Posts: 88
Joined: Wed Jul 13, 2011 6:38 am

Re: PSN PKG Decryptor & Extractor v1.2 by LMAN ( UPDATED )

Postby Casavult » Thu Feb 07, 2013 8:37 pm

Nice update. :)
PSP 1000 32GB PRO-HG Duo TA-082 6.60 CFW ME 1.8 and (L)CFW PRO-C fix3 + TM and DDC v8/v9 Mod
PSP 1000 8GB PRO-HG Duo TA-079 5.00 CFW M33-6 + Fix, TM and DDC v8/v9 Mod
PS Vita 32GB 3g + Wi-fi PCH-1103 2.02 ARK eCFW

Image
Image
User avatar
Casavult
Moderator
 
Posts: 2761
Joined: Wed Jun 08, 2011 4:22 pm
Location: London, UK.

Re: PSN PKG Decryptor & Extractor v1.2 by LMAN ( UPDATED )

Postby leecherman » Thu Feb 07, 2013 8:47 pm

Thanks :D
User avatar
leecherman
 
Posts: 88
Joined: Wed Jul 13, 2011 6:38 am

Re: PSN PKG Decryptor & Extractor v1.2 by LMAN ( UPDATED )

Postby blueheaven » Mon Feb 11, 2013 7:40 am

Looks nice, unfortunately error on w7 64bits, using v1.21:
Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: Er is een fout opgetreden bij het maken van het formulier. Zie ExceptionInnerException voor details. De fout is: Could not load file or assembly 'Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at PSNPKGDecryptorANDExtractor.ExportKeys.InitializeComponent()
   at PSNPKGDecryptorANDExtractor.ExportKeys..ctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   --- End of inner exception stack trace ---
   at PSNPKGDecryptorANDExtractor.My.MyProject.MyForms.Create__Instance__[T](T Instance)
   at PSNPKGDecryptorANDExtractor.My.MyProject.MyForms.get_ExportKeys()
   at PSNPKGDecryptorANDExtractor.PSNPKGDecryptorExtractor.Button_KEYS_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PSNPKGDecryptor&Extractor
    Assembly Version: 1.2.1.0
    Win32 Version: 1.2.1.0
    CodeBase: file:///D:/99-Downloads/PSN.PKG.Decryptor.%26.Extractor.v1.21-LMAN/PSNPKGDecryptor%26Extractor.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.VisualBasic.resources
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_nl_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


blueheaven
 
Posts: 27
Joined: Sun Dec 26, 2010 4:38 pm

Re: PSN PKG Decryptor & Extractor v1.2 by LMAN ( UPDATED )

Postby leecherman » Mon Feb 11, 2013 7:27 pm

Please can you tell me, what did you do before this error appears?
Also did you run this program as Admin?

Edit: OK, I see that you tried to export KEYS.BIN, you can just drag & drop the EBOOT.PBP file and the App will generate it.
Or you can simply extract & copy this attached file to the same folder as the program.

thanks for reporting it.
Attachments
Microsoft.VisualBasic.PowerPacks.Vs.rar
(89.7 KiB) Downloaded 19 times
User avatar
leecherman
 
Posts: 88
Joined: Wed Jul 13, 2011 6:38 am

Next

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

Friends

Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita