Vita SDK is an open source toolchain for PlayStation® Vita development. This allows you to create applications, games, and more (homebrew) to run on hacked Vita consoles. You can find more information on the hack here.
Install the following (adapt the command for your system):
apt-get install make git-core cmake python
If you have Bash on Ubuntu on Windows, then the recommended way is to follow the Linux directions above. Otherwise, continue reading.
- Install msys2
- Run mingw64 shell and install the dependencies:
pacman -Su make git cmake tar mingw64/mingw-w64-x86_64-libwinpthread-git
Set the environment variable
VITASDK to be the install destination for Vita SDK. We recommend using
/usr/local/vitasdk. We also recommend making the change to your
.bashrc or equivalent (
.bash_profile on OSX) since using the toolchain requires
VITASDK to be set.
export VITASDK=/usr/local/vitasdk export PATH=$VITASDK/bin:$PATH # add vitasdk tool to $PATH
Download the host package manager and install to
git clone https://github.com/vitasdk/vdpm cd vdpm ./bootstrap-vitasdk.sh ./install-all.sh
With vitasdk installed and in your
PATH, just run
vitasdk-update to get the latest toolchain build.
To remove all traces of Vita SDK, just delete your
$VITASDK directory. You can then reverse the steps in installing the prerequisite.
The APIs are gathered from reversing the Vita’s firmware. It includes everything you can do with the system. It is recommended that you start by cloning the samples and by reading through them and understanding them. The environment is POSIX but the true power comes from the Sony specific APIs.
Plugins and Extensions
It is highly recommended that you are familiar with writing homebrews before attempting to write a plugin, which is significantly more difficult to do. Advanced developers can check out taiHEN for a substrate that allows you to hook system functions.
Building is done with CMake and you should familiarize yourself with the hello world CMake file to better understand how it works. SELF is the executable format that the Vita runs and the included CMake macro
vita_create_self will build it for you. 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
vita_create_vpk. 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. Once you installed HENkaku, open up molecularShell and copy your built VPK to
ux0:data through FTP. You can then install it as a bubble.
Currently, there is minimal debugging support. If your app crashes, a core dump will be generated in
ux0:data. You can then parse the core dump to figure out what caused the crash. If you would like to help contribute to the Vita SDK project, we would love to have a debugger for the system.
vitasdk ships with a flexible
makepkg-based build system for building packages that can later be installed into the SDK. To get started, clone vitasdk/packages,
cd into a directory with a
VITABUILD file and run
vita-makepkg. Once the package is built, you can install it with
If you want to write your own
VITABUILD file, here are a few examples that you can follow: a library using autotools-style build, a library using CMake, and a library where a Vita-specific patch is required.
You can find most of us in the #vitasdk room in FreeNode IRC. If you have any questions or need any help, don’t hesitate to ask! We also have a forums for discussions and a wiki for details on reversing engineering the Vita.