Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

PSVita NPDRM Decryptor: Difference between revisions

From GameBrew
(Created page with "{{Infobox Vita Homebrews |title=PSVita NPDRM Decryptor |image=PSVitaNPDRMDecryptor.png |description=This program allows batch decryption of NPDRM encrypted PSVita titles. |author=SuleMareVientu |lastupdated=2024/07/11 |type=PC Utilities |version=1.0 |license=Mixed |download=https://dlhb.gamebrew.org/vitahomebrews/PSVitaNPDRMDecryptor.7z |website=https://gbatemp.net/threads/release-psvita-npdrm-decryptor.658172/ |source=https://github.com/SuleMareVientu/PSVitaNPDRMDecrypt...")
 
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|title=PSVita NPDRM Decryptor
|title=PSVita NPDRM Decryptor
|image=PSVitaNPDRMDecryptor.png
|image=PSVitaNPDRMDecryptor.png
|description=This program allows batch decryption of NPDRM encrypted PSVita titles.
|description=This program allows batch decryption of NPDRM encrypted PS Vita titles.
|author=SuleMareVientu
|author=SuleMareVientu
|lastupdated=2024/07/11
|lastupdated=2024/07/20
|type=PC Utilities
|type=PC Utilities
|version=1.0
|version=1.0.1
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/vitahomebrews/PSVitaNPDRMDecryptor.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/PSVitaNPDRMDecryptor.7z
Line 19: Line 19:
|image_alt=PSVita NPDRM Decryptor
|image_alt=PSVita NPDRM Decryptor
}}
}}
The PSVitaNPDRMDecryptor is a program that allows you to decrypt NPDRM encrypted PSVita titles. NPDRM is a type of encryption used by Sony on their PSVita games and apps. By decrypting these files, you can play them on your PSVita without needing a plugin like [[NoNpDRM Vita]].
A GUI that allows batch decryption of NPDRM encrypted PS Vita titles.


== Features ==
== Features ==
* Straightforward GUI to decrypt NPDRM protected apps/patches/addcont:
* Straightforward GUI to decrypt NPDRM protected apps/patches/addcont:
** Easier modding
** Easier modding.
** Allows all apps to run on all firmware versions
** Allows all apps to run on all firmware versions.
** Removes the need of plugins like [[NoNpDrm Vita]]
** Removes the need of plugins like [[NoNpDrm Vita|NoNpDrm]].
** Full control over the content you own
** Full control over the content you own.


== Software Requirements ==
==User guide==
===Requirements===
* Microsoft Windows 7 or later (x64)
* Microsoft Windows 7 or later (x64)
* [https://dotnet.microsoft.com/en-us/download/dotnet-framework/net481 .NET Framework 4.8.1]
* [https://dotnet.microsoft.com/en-us/download/dotnet-framework/net481 .NET Framework 4.8.1]
* (Optional) [https://github.com/SuleMareVientu/TrialPatch-PSV/releases/latest "TrialPatch" user plugin to bypass game trials] (e.g. Rayman Legends, FEZ)
* (Optional) [https://github.com/SuleMareVientu/TrialPatch-PSV/releases/latest TrialPatch] user plugin to bypass game trials (e.g. Rayman Legends, FEZ).
* (Optional) [https://github.com/SonicMastr/rePatch-reLoaded/releases/latest "rePatch-reLoaded" kernel plugin to install patches & addcont without merging]
* (Optional) [[RePatch_reLoaded_Vita|rePatch-reLoaded]] kernel plugin to install patches & addcont without merging.


== Usage ==
===How to use===
If you have a PKG file and not a NPDRM app in folder format you'll first need to extract the PKG with [https://github.com/lusid1/pkg2zip/releases/latest "pkg2zip.exe"] or similar by providing the correct zRIF.
If you have a PKG file and not a NPDRM app in folder format you'll first need to extract the PKG with [[Pkg2zip_Vita|pkg2zip.exe]] or similar by providing the correct zRIF.


* Use the <code>+</code> button or drag &amp; drop encrypted folders, select the output directory and click the blue arrow
* Use the + button or drag &amp; drop encrypted folders, select the output directory and click the blue arrow.
* Adjust the options in the checkboxes to your liking
* Adjust the options in the checkboxes to your liking.
* Remove highlighted folders with the <code>X</code> button
* Remove highlighted folders with the X button.


Follow the [https://github.com/SuleMareVientu/PSVitaNPDRMDecryptor#Input-Folder-Search-Structure Input Folder Search Structure] section below to setup your input folders correctly with patches and addcont.
Follow the Input Folder Search Structure section below to setup your input folders correctly with patches and addcont.


==== The program will search for patches/addcont only when decrypting the main app with the specified folder setup. ====
The program will search for patches/addcont only when decrypting the main app with the specified folder setup.


Patches and additional content can still be decrypted separately.
Patches and additional content can still be decrypted separately.


== Installing decrypted applications ==
=== Installing decrypted applications ===
* App
* App:
** Copy the VPK/folder to the PSVita (NOT inside <code>ux0:app</code>)
** Copy the VPK/folder to the PS Vita (not inside ux0:app).
** (VPK) Open VitaShell and install the package
** (VPK) Open [[VitaShell]] and install the package.
** (Folder) Open VitaShell and press on the app folder and choose <code>More -&gt; Install folder</code>
** (Folder) Open VitaShell and press Triangle on the app folder and choose M > Install folder.
** Accept extended permissions
** Accept extended permissions.
* Patch
*Patch:
** Merge with main app or use rePatch
** Merge with main app or use [[RePatch_reLoaded_Vita|rePatch]].
* Additional content
*Additional content:
** Use rePatch
** Use rePatch.


For now app installation must be done through VitaShell because we need to generate a fake <code>head.bin</code> to display the app in the livearea.
For now app installation must be done through [[VitaShell]] because we need to generate a fake head.bin to display the app in the livearea.


<span id="installing-decrypted-applications-repatch"></span>
=== Installing decrypted applications (rePatch) ===
== Installing decrypted applications (rePatch) ==
* App:
** Install as described before.
* Patch/Additional content:
** [https://github.com/dots-tb/rePatch-reDux0/wiki/ rePatch-reDux0 Wiki].


* App - Install as described before
=== Input folder search structure ===
* Patch/Additional content
<pre>├───addcont (DLC)
** [https://github.com/dots-tb/rePatch-reDux0/wiki/ rePatch-reDux0 Wiki]
 
<span id="input-folder-search-structure"></span>
== Input Folder Search Structure ==
<pre>├───addcont
│  └───TITLE_ID
│  └───TITLE_ID
│  │  └───DLC_FOLDER
│  │  └───DLC_FOLDER
├───patch
├───patch (Patch)
│  └───TITLE_ID
│  └───TITLE_ID
├───app (any name or TITLE_ID)
├───app (Main game, any name or TITLE_ID)
│  └───eboot.bin
│  └───eboot.bin
│  └───...
│  └───...
Copy</pre>
</pre>
 
https://dlhb.gamebrew.org/vitahomebrews/PSVitaNPDRMDecryptor-01.png
 
== Troubleshooting ==
* &quot;My app says it's a trial&quot;
** [https://github.com/SuleMareVientu/TrialPatch-PSV/releases/latest Install the &quot;TrialPatch&quot; plugin.]
* &quot;DLCs don't work&quot;
** [https://github.com/SonicMastr/rePatch-reLoaded/releases/latest Install the &quot;rePatch-reLoaded&quot; plugin.]
* &quot;I can't install the decrypted app, VitaShell throws and error&quot;
** Delete the NPDRM version. If that doesn't work, manually delete the folders with the TitleID of the game in <code>ux0:app</code>, <code>ux0:patch</code>, <code>ux0:addcont</code>, <code>ux0:appmeta</code> and reboot.
* &quot;The program doesn't recognize a patch folder&quot;
** If you are trying to decrypt a single patch without the main app in the structure described above, you'll need to copy the original <code>work.bin</code> of the main app (<code>app\sce_sys\package\work.bin</code>) and place it inside the patch folder: <code>patchTitleID\sce_sys\package\work.bin</code>. Additional contents have their own <code>work.bin</code>, so you don't need the original one for DLC decryption.
* &quot;Some apps decrypt incorrectly / don't function properly&quot;
** Open an issue and I'll look into it, some apps are known to cause issues.
 
== TODO ==
* Add proper support for <code>gdc</code> apps (e.g. Reader™ [PCSC80012])
* [https://github.com/TheOfficialFloW/VitaShell/blob/master/package_installer.c#L222 Make VitaShell's <code>Refresh livearea</code> work on decrypted apps]


=== Troubleshooting ===
[https://github.com/SuleMareVientu/PSVitaNPDRMDecryptor/blob/main/README.md#troubleshooting Troubleshooting on readme.]


==Changelog==  
==Changelog==
'''v1.0.1'''
* Improved UI.
* Added options to output rePatch folders, copy original head.bin to the decrypted app and show terminal during decryption.
* Miscellaneous improvements.
'''v1.0'''
'''v1.0'''
* First Release.
* First Release.
Line 111: Line 98:


== External links ==
== External links ==
* Gbatemp - https://gbatemp.net/threads/release-psvita-npdrm-decryptor.658172/
* GitHub - https://github.com/SuleMareVientu/PSVitaNPDRMDecryptor
* Github - https://github.com/SuleMareVientu/PSVitaNPDRMDecryptor
* GBAtemp - https://gbatemp.net/threads/release-psvita-npdrm-decryptor.658172/

Latest revision as of 04:20, 21 July 2024

PSVita NPDRM Decryptor
PSVitaNPDRMDecryptor.png
General
AuthorSuleMareVientu
TypePC Utilities
Version1.0.1
LicenseMixed
Last Updated2024/07/20
Links
Download
Website
Source

A GUI that allows batch decryption of NPDRM encrypted PS Vita titles.

Features

  • Straightforward GUI to decrypt NPDRM protected apps/patches/addcont:
    • Easier modding.
    • Allows all apps to run on all firmware versions.
    • Removes the need of plugins like NoNpDrm.
    • Full control over the content you own.

User guide

Requirements

  • Microsoft Windows 7 or later (x64)
  • .NET Framework 4.8.1
  • (Optional) TrialPatch user plugin to bypass game trials (e.g. Rayman Legends, FEZ).
  • (Optional) rePatch-reLoaded kernel plugin to install patches & addcont without merging.

How to use

If you have a PKG file and not a NPDRM app in folder format you'll first need to extract the PKG with pkg2zip.exe or similar by providing the correct zRIF.

  • Use the + button or drag & drop encrypted folders, select the output directory and click the blue arrow.
  • Adjust the options in the checkboxes to your liking.
  • Remove highlighted folders with the X button.

Follow the Input Folder Search Structure section below to setup your input folders correctly with patches and addcont.

The program will search for patches/addcont only when decrypting the main app with the specified folder setup.

Patches and additional content can still be decrypted separately.

Installing decrypted applications

  • App:
    • Copy the VPK/folder to the PS Vita (not inside ux0:app).
    • (VPK) Open VitaShell and install the package.
    • (Folder) Open VitaShell and press Triangle on the app folder and choose M > Install folder.
    • Accept extended permissions.
  • Patch:
    • Merge with main app or use rePatch.
  • Additional content:
    • Use rePatch.

For now app installation must be done through VitaShell because we need to generate a fake head.bin to display the app in the livearea.

Installing decrypted applications (rePatch)

Input folder search structure

├───addcont (DLC)
│   └───TITLE_ID
│   │   └───DLC_FOLDER
├───patch (Patch)
│   └───TITLE_ID
├───app (Main game, any name or TITLE_ID)
│   └───eboot.bin
│   └───...

Troubleshooting

Troubleshooting on readme.

Changelog

v1.0.1

  • Improved UI.
  • Added options to output rePatch folders, copy original head.bin to the decrypted app and show terminal during decryption.
  • Miscellaneous improvements.

v1.0

  • First Release.

Credits

External links

Advertising: