Skip to content

Vita-Development-Suite/doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Vita Development Suite

Development updates can be found on our forum.

Prerequisites

Install the following:

  1. PlayStation®Vita Programmer Tool Runtime Library 3.570
  2. Publishing Tools for PlayStation®Vita 2.31
  3. SNC Toolchain for PSP2 3.570

Set the environment variable SCE_ROOT_DIR to the root of your Publishing Tools installation directory, such that the following path exists:

$SCE_ROOT_DIR/PSP2/Tools/Publishing Tools

Set the environment variable SCE_PSP2_SDK_DIR to the root of your SDK installation directory, such that the following paths exist:

$SCE_PSP2_SDK_DIR/host_tools
$SCE_PSP2_SDK_DIR/target

Installation

Vita Development Suite releases are available from our file host. Development builds are available as GitHub Actions workflow artifacts. Download and extract the components you want to use into your SDK installation directory.

Installing GCC (optional)

  1. Download and install the GNU Arm Embedded Toolchain.
  2. Replace installpath/bin/arm-none-eabi-ld.exe and installpath/arm-none-eabi/bin/ld.exe with psp2ld.exe.
  3. Add installpath/bin to your PATH environment variable.

Where installpath is your GCC installation path.

Components

PSP2 CMake Toolchains

CMake platform definitions, compiler definitions, and toolchain files for the PlayStation®Vita SDK. The version must correspond to specific CMake versions. Lower CMake versions may work but are not tested.

Version CMake
0.1 3.19

Libraries

Additional libraries for the PlayStation®Vita SDK.

For user headers, add the following to your system include search paths:

$SCE_PSP2_SDK_DIR/target/include/vdsuite/user
$SCE_PSP2_SDK_DIR/target/include/vdsuite/common

For kernel headers, add the following to your system include search paths:

$SCE_PSP2_SDK_DIR/target/include/vdsuite/kernel
$SCE_PSP2_SDK_DIR/target/include/vdsuite/common

For system software 3.60 and multi-version libraries, add the following to your library search paths:

$SCE_PSP2_SDK_DIR/target/lib/vdsuite

For system software 3.65 libraries, add the following to your library search paths:

$SCE_PSP2_SDK_DIR/target/lib/vdsuite/365
$SCE_PSP2_SDK_DIR/target/lib/vdsuite

Please note the order of the paths, which are in decreasing priority.

If you are using CMake, the VitaDevelopmentSuite module provides the following variables:

VDSUITE_USER_INCLUDE_DIRECTORIES
VDSUITE_KERNEL_INCLUDE_DIRECTORIES
VDSUITE_LIBRARY_DIRECTORIES
VDSUITE_365_LIBRARY_DIRECTORIES

Toolchain

Command lines tools for building PRX libraries and applications. Use the --help flag to see usage.

libgen

Create stub libraries for the SN linker or for Vitasdk from EMD files and from Vitasdk import YAMLs. Can convert Vitasdk import YAMLs to EMD files.

pubgen

Package files into a VPK.

pubprx

Set SELF parameters. Compress and strip SELFs. Accepts either ELF or SELF as input.

pubsfo

Create and verify SFO files from SFX or YAML files.

emdc

Compiles EMD files.

CMake Modules

CMake integration for the toolchain and libraries. CMake version 3.19 or greater is required.