whatisgithub

What is pkg2vita?

medaillek/pkg2vita — explained in plain English

Analysis updated 2026-05-18

0PowerShellAudience · generalComplexity · 2/5Setup · moderate

In one sentence

A PowerShell script that automatically extracts, decrypts, and organizes PS Vita games, DLC, and updates so they are ready to copy onto a memory card.

Mindmap

mindmap
  root((pkg2vita))
    What it does
      Extracts Vita zip files
      Decrypts pkg packages
      Sorts into Vita folders
    Tech stack
      PowerShell
      7-Zip
      pkg2zip
    Use cases
      Batch process games
      Auto sort DLC and updates
      Prepare memory card files
    Audience
      PS Vita hobbyists
    Setup
      Install 7-Zip and pkg2zip
      Drop zip files in folder
      Run PowerShell script

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Batch process a folder full of PS Vita game and DLC zip files in one run.

USE CASE 2

Automatically sort decrypted Vita files into the correct app, addcont, patch, and license folders.

USE CASE 3

Avoid manually finding and renaming license files buried inside nested zip archives.

USE CASE 4

Prepare a ready to copy folder that can be transferred straight onto a Vita memory card.

What is it built with?

PowerShell7-Zippkg2zip

How does it compare?

medaillek/pkg2vitaamu2mod/gamesavesaverblackvenom5iix/winget-toctou-poc
Stars000
LanguagePowerShellPowerShellPowerShell
Setup difficultymoderateeasymoderate
Complexity2/51/53/5
Audiencegeneralgeneralresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires 7-Zip and pkg2zip installed separately, plus a modded PS Vita with the NoNpDrm plugin.

So what is it?

Pkg2vita is a PowerShell script that automates the tedious process of preparing PS Vita game files so they can be copied onto a memory card and played on the handheld. Normally, getting a downloaded PS Vita game ready involves several manual steps: extracting a zip file, finding a license file that might be buried deep inside folders, renaming it correctly, decrypting the actual game package, and sorting everything into the specific folder structure the Vita expects. This script does all of that automatically. You simply drop as many zip files as you want into one folder alongside the script, and it processes every one of them in a single run. It works for full games, DLC, game updates, and avatars, sorting each type into its own correctly named folder such as one for games, one for DLCs, one for updates, and one for licenses and avatars. Once a zip file has been successfully processed, it gets moved into a separate folder automatically, so you can add new games later without accidentally reprocessing ones you already handled. The script also cleans up its own temporary extraction folders afterward to avoid wasting disk space. Before using it, you need two other free tools already installed: 7-Zip, which handles the initial extraction of the zip files, and pkg2zip, a separate utility that does the actual decryption of Vita packages. Both are linked in the project's setup instructions. To run it, you place the script, the pkg2zip program, and your zip files together in one folder, then open PowerShell in that folder and run the script, possibly after bypassing Windows' default script execution restrictions with a single command shown in the instructions. Once finished, the script produces a folder called ReadyForVita containing everything organized correctly. You then copy that folder's contents onto your Vita's memory card using a tool like VitaShell, refresh the Vita's home screen, and your games and DLC should appear ready to launch. The README notes that a plugin called NoNpDrm needs to already be installed on the Vita itself for the games to run without errors.

Copy-paste prompts

Prompt 1
Walk me through installing 7-Zip and pkg2zip before running this script.
Prompt 2
Explain what the Set-ExecutionPolicy command does and why this script needs it on Windows.
Prompt 3
Help me set up the correct folder structure before running pkg2vita.ps1.
Prompt 4
Explain the difference between the app, addcont, patch, and license output folders this script creates.

Frequently asked questions

What is pkg2vita?

A PowerShell script that automatically extracts, decrypts, and organizes PS Vita games, DLC, and updates so they are ready to copy onto a memory card.

What language is pkg2vita written in?

Mainly PowerShell. The stack also includes PowerShell, 7-Zip, pkg2zip.

How hard is pkg2vita to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is pkg2vita for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.