Run the tool without any arguments to see how to use it. Detailed explanation is below.
![Tool Tool](https://cdn.pocket-lint.com/r/s/970x/assets/images/131708-games-news-ps-vita-too-small-for-ps4-remote-play-try-a-7-inch-dekavita-instead-just-add-your-own-ps-tv-image1-2IzJaXmpPT.jpg)
Note: The Linux version requires libgcrypt
to be installed.
MGBA is an emulator for running Game Boy Advance games. It aims to be faster and more accurate than many existing Game Boy Advance emulators, as well as adding features that other emulators lack. It also supports Game Boy and Game Boy Color games. Features -Highly accurate Game Boy Adva. VPK is the homebrew package format and is an archive of the SELF along with data files and LiveArea and is done by the CMake macro vitacreatevpk. VPK is what is installed to the Vita as a bubble. To run homebrew, you need a hacked Vita or PS TV. Currently the only hack is HENkaku which requires firmware 3.60.
Usage
psvimg-extract
This is used to extract .psvimg
files. The extracted output includes a directory for each backup set (e.g: ur0:appmeta
, ux0:iconlayout.ini
, and ur0:tmp/registry
are three separate sets). Each backup set contains zero or more files and directories. A special file VITA_PATH.TXT
is created for each set to remember what the original path was before extraction (this is used for repacking). A set can be only a single file (for example ux0:iconlayout.ini
). In that case, the file VITA_DATA.BIN
is created to host the contents of the file.
psvmd-decrypt
This decrypts and decompresses .psvmd
files. The contents of which are defined in psvimg.h
. This contains information such as the firmware version of the system that created the backup and the unique PSID of the system. Extracting this file is not required for repacking and is provided for reverse engineering/debugging purposes.
psvimg-create
This repacks extracted files and creates the associated .psvimg
and .psvmd
files. If you have a decrypted.psvmd
, you may pass it in with -m
and the tool will reuse as many fields as possible (exception: size fields). No validity checks will be performed. If you do not have a decrypted .psvmd
, you should use the -n
option and specify the name of the backup. You should use the same name (the file name without the .psvimg
extension) when repacking because CMA does check for a valid name. For example, if you are repacking license.psvimg
, you should specify -n license
.
Img Tool 1.5
The pack input directory should follow the same format as the output of psvimg-extract
. The means a separate directory for each backup set (there may only be one set, in which your input directory will contain one subdirectory) each with a VITA_PATH.TXT
file specifying the Vita path and optionally a VITA_DATA.BIN
file if the set is a file.
Note that CMA does check the paths of the backup sets. Trying to add a backup set with a custom path may result in failure.
psvimg-keyfind
This is a brute-force backup key find tool. You should generate a valid partials.bin
file using the provided 'dump_partials' Vita homebrew that runs on HENkaku enabled consoles. You can generate partials for other people as well if you know their AID. The partials.bin
file does not contain any console-unique information but is derived from the provided PSN AID. The AID is the 16 hex characters in your CMA backup path. For example, if I wish to decrypt PS Vita/PGAME/xxxxxxxxxxxxxxxx/NPJH00053/game/game.psvimg
then my AID is xxxxxxxxxxxxxxxx
.
The -n
option specifies the number of threads to run. On Linux, each thread tries to run on a separate processor. On OSX/Windows, it is up to the scheduler to make such decisions. You should not specify too high of a number here, as running multiple threads on a single CPU will result in diminishing returns. A good rule of thumb is to specify the number of CPU cores on your system.
This guide will show you how to download game backups directly to your PS Vita using PKGj by blastrock. PKGj uses the same database as NoPayStation so it is possible to download backup games for PS Vita, PSP, PSX and also downloadable content. Your downloads will run in the background using the LiveArea queue so you'll be able to download your games and still carry out other activities concurrently. The NoNpDrm plugin will be required to play downloaded backups and the ref00d plugin will also be needed if you wish to play games that require a firmware update so these two plugins are highly recommended.
Required Downloads:
PlayStation Vita with Custom Firmware
- The PKGj homebrew app is only compatible with a PS Vita running CFW such as HENkaku or h-encore
Wi-Fi or USB Connection
- You will need a Wi-Fi or USB connection to transfer the install files via FTP or USB with VitaShell
NoNpDrm + ref00d
- The NoNpDrm and ref00d plugins combined will allow you to play virtually all PS Vita game backups and DLC on any homebrew enabled PS Vita
Adrenaline
Open Dmg 1 File
- The official PSP emulator is required to play PSP and PSX games on your PS Vita
SD2Vita Adapter (Recommended)
- Greatly expand your storage options with the MicroSD to PSVita (SD2Vita) adapter
- Convert the PS Vita game slot into a MicroSD slot
- On your PS Vita, launch VitaShell and press the [Select] button to activate FTP or USB mode
In VitaShell, press [Start] and select [SELECT button] to toggle between FTP and USB mode.
- For FTP mode: enter the address displayed on your PS Vita in your PC file browser e.g.
ftp://xxx.xxx.x.x:1337
- For USB mode: connect your USB to your computer and it will function as a USB storage device
- SD2Vita: simply connect your MicroSD card to your PC and transfer the files without VitaShell
- For FTP mode: enter the address displayed on your PS Vita in your PC file browser e.g.
- On your PC file browser, go to
ux0:
and create a folder calledvpk
if it doesn't already exist - Transfer
pkgj.vpk
to theux0:/vpk/
folder on your PS Vita - When the transfer is complete, press [Circle] on your PS Vita to close FTP/USB mode
- In VitaShell, go to
ux0:
->/vpk/
then highlightpkgj.vpk
- Press [Cross] to install it and confirm the extended permissions prompt
- Close VitaShell when the installation is complete
- Launch the PKGj bubble from your LiveArea and select the game you wish to download
- Select [Install game] to begin the download, you can also choose whether to download game patches and updates alongside your game
- Your game will be added to the LiveArea queue for background downloads
- Your game will automatically begin to install when the download is complete
![Img tool gta sa Img tool gta sa](http://i1.ytimg.com/vi/IFyxS7LCbTQ/0.jpg)
You can now download game backups directly to your PS Vita without a PC. You can press [Triangle] to open the PKGj menu to filter between backups for PSX, PSP, DLC, themes and more.
NoPayStation
- NoPayStation is a Windows / Mac application containing a library of PS3, Vita, PSP and PSX games to download and transfer to your console
- The NoPayStaion library also features game updates, DLC and themes
Adrenaline
Note: The Linux version requires libgcrypt
to be installed.
MGBA is an emulator for running Game Boy Advance games. It aims to be faster and more accurate than many existing Game Boy Advance emulators, as well as adding features that other emulators lack. It also supports Game Boy and Game Boy Color games. Features -Highly accurate Game Boy Adva. VPK is the homebrew package format and is an archive of the SELF along with data files and LiveArea and is done by the CMake macro vitacreatevpk. VPK is what is installed to the Vita as a bubble. To run homebrew, you need a hacked Vita or PS TV. Currently the only hack is HENkaku which requires firmware 3.60.
Usage
psvimg-extract
This is used to extract .psvimg
files. The extracted output includes a directory for each backup set (e.g: ur0:appmeta
, ux0:iconlayout.ini
, and ur0:tmp/registry
are three separate sets). Each backup set contains zero or more files and directories. A special file VITA_PATH.TXT
is created for each set to remember what the original path was before extraction (this is used for repacking). A set can be only a single file (for example ux0:iconlayout.ini
). In that case, the file VITA_DATA.BIN
is created to host the contents of the file.
psvmd-decrypt
This decrypts and decompresses .psvmd
files. The contents of which are defined in psvimg.h
. This contains information such as the firmware version of the system that created the backup and the unique PSID of the system. Extracting this file is not required for repacking and is provided for reverse engineering/debugging purposes.
psvimg-create
This repacks extracted files and creates the associated .psvimg
and .psvmd
files. If you have a decrypted.psvmd
, you may pass it in with -m
and the tool will reuse as many fields as possible (exception: size fields). No validity checks will be performed. If you do not have a decrypted .psvmd
, you should use the -n
option and specify the name of the backup. You should use the same name (the file name without the .psvimg
extension) when repacking because CMA does check for a valid name. For example, if you are repacking license.psvimg
, you should specify -n license
.
Img Tool 1.5
The pack input directory should follow the same format as the output of psvimg-extract
. The means a separate directory for each backup set (there may only be one set, in which your input directory will contain one subdirectory) each with a VITA_PATH.TXT
file specifying the Vita path and optionally a VITA_DATA.BIN
file if the set is a file.
Note that CMA does check the paths of the backup sets. Trying to add a backup set with a custom path may result in failure.
psvimg-keyfind
This is a brute-force backup key find tool. You should generate a valid partials.bin
file using the provided 'dump_partials' Vita homebrew that runs on HENkaku enabled consoles. You can generate partials for other people as well if you know their AID. The partials.bin
file does not contain any console-unique information but is derived from the provided PSN AID. The AID is the 16 hex characters in your CMA backup path. For example, if I wish to decrypt PS Vita/PGAME/xxxxxxxxxxxxxxxx/NPJH00053/game/game.psvimg
then my AID is xxxxxxxxxxxxxxxx
.
The -n
option specifies the number of threads to run. On Linux, each thread tries to run on a separate processor. On OSX/Windows, it is up to the scheduler to make such decisions. You should not specify too high of a number here, as running multiple threads on a single CPU will result in diminishing returns. A good rule of thumb is to specify the number of CPU cores on your system.
This guide will show you how to download game backups directly to your PS Vita using PKGj by blastrock. PKGj uses the same database as NoPayStation so it is possible to download backup games for PS Vita, PSP, PSX and also downloadable content. Your downloads will run in the background using the LiveArea queue so you'll be able to download your games and still carry out other activities concurrently. The NoNpDrm plugin will be required to play downloaded backups and the ref00d plugin will also be needed if you wish to play games that require a firmware update so these two plugins are highly recommended.
Required Downloads:
PlayStation Vita with Custom Firmware
- The PKGj homebrew app is only compatible with a PS Vita running CFW such as HENkaku or h-encore
Wi-Fi or USB Connection
- You will need a Wi-Fi or USB connection to transfer the install files via FTP or USB with VitaShell
NoNpDrm + ref00d
- The NoNpDrm and ref00d plugins combined will allow you to play virtually all PS Vita game backups and DLC on any homebrew enabled PS Vita
Adrenaline
Open Dmg 1 File
- The official PSP emulator is required to play PSP and PSX games on your PS Vita
SD2Vita Adapter (Recommended)
- Greatly expand your storage options with the MicroSD to PSVita (SD2Vita) adapter
- Convert the PS Vita game slot into a MicroSD slot
- On your PS Vita, launch VitaShell and press the [Select] button to activate FTP or USB mode
In VitaShell, press [Start] and select [SELECT button] to toggle between FTP and USB mode.
- For FTP mode: enter the address displayed on your PS Vita in your PC file browser e.g.
ftp://xxx.xxx.x.x:1337
- For USB mode: connect your USB to your computer and it will function as a USB storage device
- SD2Vita: simply connect your MicroSD card to your PC and transfer the files without VitaShell
- For FTP mode: enter the address displayed on your PS Vita in your PC file browser e.g.
- On your PC file browser, go to
ux0:
and create a folder calledvpk
if it doesn't already exist - Transfer
pkgj.vpk
to theux0:/vpk/
folder on your PS Vita - When the transfer is complete, press [Circle] on your PS Vita to close FTP/USB mode
- In VitaShell, go to
ux0:
->/vpk/
then highlightpkgj.vpk
- Press [Cross] to install it and confirm the extended permissions prompt
- Close VitaShell when the installation is complete
- Launch the PKGj bubble from your LiveArea and select the game you wish to download
- Select [Install game] to begin the download, you can also choose whether to download game patches and updates alongside your game
- Your game will be added to the LiveArea queue for background downloads
- Your game will automatically begin to install when the download is complete
You can now download game backups directly to your PS Vita without a PC. You can press [Triangle] to open the PKGj menu to filter between backups for PSX, PSP, DLC, themes and more.
NoPayStation
- NoPayStation is a Windows / Mac application containing a library of PS3, Vita, PSP and PSX games to download and transfer to your console
- The NoPayStaion library also features game updates, DLC and themes
Adrenaline
- Adrenaline unlocks the built in PSP emulator for flawless PSP and PSX gameplay and is also compatible with PSP homebrew
DS4Vita
- Use your PS3 or PS4 controller to play games with DS3Vita / DS4Vita, installed via Autoplugin