Hacking PKG Installer 2.0!

DarthNuts088

Member
Newcomer
Joined
Aug 15, 2016
Messages
5
Trophies
0
Age
35
XP
62
Country
Serbia, Republic of
You misread that lots im saying .pkgs can be extracted with 7zip.
.pkg can be extracted.. i just donno how. if someone can find a way to extract a .pkg but not decrypt it.. then
we can convert .pkg to .pkgs!
Hello! I can download PSP Demo PKG (US - Petz Saddle Club Demo ) from here
http://zeus.dl.playstation.net/cdn/...2NbYFU9hRJVDm1JR07CIihnsu3u2ePveDuihJlblj.pkg

I can extract it with PSN PKG Decryptor & Extractor Written By LMAN
https://sites.google.com/site/theleecherman/psnpkgdecryptor-extractor

How repack it to PKGS after extracting ?
 

SonyUSA

We're all mad here
Editorial Team
Joined
May 12, 2006
Messages
1,780
Trophies
2
XP
5,610
Country
United States
Hello! I can download PSP Demo PKG (US - Petz Saddle Club Demo ) from here
http://zeus.dl.playstation.net/cdn/...2NbYFU9hRJVDm1JR07CIihnsu3u2ePveDuihJlblj.pkg

I can extract it with PSN PKG Decryptor & Extractor Written By LMAN
https://sites.google.com/site/theleecherman/psnpkgdecryptor-extractor

How repack it to PKGS after extracting ?

That's for PS3 and PSP packages, not Vita

Though I am curious, can we extract then repack those DRM free games (linked on Wololo) ?
 

MRsonic699

Well-Known Member
OP
Member
Joined
Jun 30, 2011
Messages
116
Trophies
0
Location
Brasov, Romania
Website
soundcloud.com
XP
243
Country
That's for PS3 and PSP packages, not Vita

Though I am curious, can we extract then repack those DRM free games (linked on Wololo) ?
Well, that's what we wanna do in this thread, but we don't quite know how to. PKG files need an AES key, and only the old tool does it. I'm guessing there'd be a clever way to extract a PKG using the old tool on a vita, and then just move the files onto your PC, where the rest is easy. It just needs to be not decrypted, for PKG installer 2.0 to be able to handle it. I only have a 3.60 vita, so I can't help in any way.
 

MDashK

Well-Known Member
Member
Joined
Jul 22, 2011
Messages
281
Trophies
1
Location
Internetus Exploratis
Website
www.mixwaves.net
XP
746
Country
Now now, PKG installer 2.0 is installing the files that's downloaded from vita using ps store

I don't think extracting a pkg gives us the same files. as that

Actually... AFAIK, I believe it does...
because when you download from the PSN, you are actually downloading a PKG file that's being extracted on the go.
 

SonyUSA

We're all mad here
Editorial Team
Joined
May 12, 2006
Messages
1,780
Trophies
2
XP
5,610
Country
United States
As of right now there is no way to extract a retail .pkg > 1.0 because we do not have the keys. We also do not have a way to re-enable the built in pkg installer because it's not as easy as enabling it anymore (crashes on launch).

So we currently cannot repack a DRM free .pkg into a .pkgs because we have no method to do it.

As a side note, all those DRM free .pkg on wololo are just demos and useless junk.
 
  • Like
Reactions: Subtle Demise

MDashK

Well-Known Member
Member
Joined
Jul 22, 2011
Messages
281
Trophies
1
Location
Internetus Exploratis
Website
www.mixwaves.net
XP
746
Country
this is a start hopefully


This, mostly, will not work.
Everything will be encrypted.
I already tried it with the latest EU DIVA X Demo. You can transfer the content of the folders, yes. But everything will be encrypted, and garbaged.

All you need is try to open one of the PNG used, like ICON0 or similar, and you'll see that it won't open on the PC. It will say it's damaged
 
D

Deleted User

Guest
This, mostly, will not work.
Everything will be encrypted.
I already tried it with the latest EU DIVA X Demo. You can transfer the content of the folders, yes. But everything will be encrypted, and garbaged.

All you need is try to open one of the PNG used, like ICON0 or similar, and you'll see that it won't open on the PC. It will say it's damaged
The files do actually need the PFS encryption to be able to be installed via the notifications/downloads menu on the home screen. I have made installation packages before where this needed to be the case.
 

MDashK

Well-Known Member
Member
Joined
Jul 22, 2011
Messages
281
Trophies
1
Location
Internetus Exploratis
Website
www.mixwaves.net
XP
746
Country
The files do actually need the PFS encryption to be able to be installed via the notifications/downloads menu on the home screen. I have made installation packages before where this needed to be the case.
Wait, so you're saying that If I transfer the PFS encrypted files to my PC and create a PKGS with them, they will install on the Vita system, even being PFS'd?
 
D

Deleted User

Guest
Wait, so you're saying that If I transfer the PFS encrypted files to my PC and create a PKGS with them, they will install on the Vita system, even being PFS'd?
Well they have to be PFS'd, bearing in mind these PKGS files install the exact same way as when you have downloaded content from the PS Store, and it's ready to be installed from the notifications screen.

I have tried installing files that don't have PFS encryption, and it just doesn't work.
 

MDashK

Well-Known Member
Member
Joined
Jul 22, 2011
Messages
281
Trophies
1
Location
Internetus Exploratis
Website
www.mixwaves.net
XP
746
Country
Well they have to be PFS'd, bearing in mind these PKGS files install the exact same way as when you have downloaded content from the PS Store, and it's ready to be installed from the notifications screen.

I have tried installing files that don't have PFS encryption, and it just doesn't work.

Hmm... I had in mind that the Vita would automatically decrypt/strip the files from that protection.
 
D

Deleted User

Guest
Hmm... I had in mind that the Vita would automatically decrypt/strip the files from that protection.
What happens is, when a PKG is downloaded from the PS Store, it is stored in ux0:bgdl/t/ and that PKG is extracted to a new folder in the same directory. This is where the game files are extracted to, and PFS protection is applied to the files as they are being extracted. Afterwards, when the extraction is complete, the PKG is automatically deleted, and the extracted game files are now waiting to be properly installed to their appropriate place.
The files stay encrypted throughout all the process.

However, when you launch the game/app, all of the files will actually be decrypted by the system, and we are now able to take advantage of that fact thanks to Major_Tom's game decryption method for 3.60 by replacing the game's main executable with VitaShell's, and obtaining the temporarily-unencrypted files from the game's filesystem.
 
  • Like
Reactions: MRsonic699

MDashK

Well-Known Member
Member
Joined
Jul 22, 2011
Messages
281
Trophies
1
Location
Internetus Exploratis
Website
www.mixwaves.net
XP
746
Country
What happens is, when a PKG is downloaded from the PS Store, it is stored in ux0:bgdl/t/ and that PKG is extracted to a new folder in the same directory. This is where the game files are extracted to, and PFS protection is applied to the files as they are being extracted. Afterwards, when the extraction is complete, the PKG is automatically deleted, and the extracted game files are now waiting to be properly installed to their appropriate place.
The files stay encrypted throughout all the process.

However, when you launch the game/app, all of the files will actually be decrypted by the system, and we are now able to take advantage of that fact thanks to Major_Tom's game decryption method for 3.60 by replacing the game's main executable with VitaShell's, and obtaining the temporarily-unencrypted files from the game's filesystem.

Yes, I was already aware of the decryption method. But didn't knew about that previous info. Thanks. =)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    S @ salazarcosplay: How are you @AncientBoi :tpi: :tpi: :tpi: :tpi: :tpi: