Return to site

Ps Vita Img Tool Dmg File

broken image


Run the tool without any arguments to see how to use it. Detailed explanation is below.

Tool

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
PS Vita 1000 (Fat) Models require an official Sony Memory Card to install homebrew

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
PKGj can be easily installed without a PC using the Vita Homebrew Browser, a large repository for homebrew apps that can be downloaded directly to your Vita.
  1. 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
  2. On your PC file browser, go to ux0: and create a folder called vpk if it doesn't already exist
  3. Transfer pkgj.vpk to the ux0:/vpk/ folder on your PS Vita
  4. When the transfer is complete, press [Circle] on your PS Vita to close FTP/USB mode
  5. In VitaShell, go to ux0: -> /vpk/ then highlight pkgj.vpk
  6. Press [Cross] to install it and confirm the extended permissions prompt
  7. Close VitaShell when the installation is complete
  8. Launch the PKGj bubble from your LiveArea and select the game you wish to download
  9. Select [Install game] to begin the download, you can also choose whether to download game patches and updates alongside your game
  10. Your game will be added to the LiveArea queue for background downloads
  11. Your game will automatically begin to install when the download is complete
Dmg
Img tool gta sa

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

Img

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
PS Vita 1000 (Fat) Models require an official Sony Memory Card to install homebrew

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
PKGj can be easily installed without a PC using the Vita Homebrew Browser, a large repository for homebrew apps that can be downloaded directly to your Vita.
  1. 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
  2. On your PC file browser, go to ux0: and create a folder called vpk if it doesn't already exist
  3. Transfer pkgj.vpk to the ux0:/vpk/ folder on your PS Vita
  4. When the transfer is complete, press [Circle] on your PS Vita to close FTP/USB mode
  5. In VitaShell, go to ux0: -> /vpk/ then highlight pkgj.vpk
  6. Press [Cross] to install it and confirm the extended permissions prompt
  7. Close VitaShell when the installation is complete
  8. Launch the PKGj bubble from your LiveArea and select the game you wish to download
  9. Select [Install game] to begin the download, you can also choose whether to download game patches and updates alongside your game
  10. Your game will be added to the LiveArea queue for background downloads
  11. 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




broken image