Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 2.67 KB

README.md

File metadata and controls

63 lines (41 loc) · 2.67 KB

Examples

MIT/Apache 2.0 GitHub Actions Build Status Current Release Main Commits RSS Feed

This repository holds examples in Rust that can be compiled as vpk for Sony Playstation Vita

Prerequisites

  • Vita SDK must be installed, and VITASDK environment variable must be set to its location. You can add the environment variable to your .bashrc (or another configuration file if you are using a different shell), or you can use a tool like direnv, and put this in a .envrc.
  • cargo-vita tool is required for building `vpk`` files. Run this command to install it:
    cargo install cargo-vita
  • PrincessLog is required for monitoring stdout/stderr from your Vita.
  • vitacompanion is required for uploading eboot.bin/vpk files to Vita, and running commands.

Building

To build the vpk for every example run:

cargo vita build vpk --release

To build the vpk for std-tests run:

cargo vita build vpk --release --package vita-std-tests --tests

To build the vpk for any specific package:

cargo vita build vpk --release --package {PACKAGE}

Running

You can automate uploading of vpk to ux0:/download/, or update eboot.bin for already installed vpk.

To upload all vpk artifacts, use --upload flag of vpk subcommand:

cargo vita build vpk --upload --release

To update a specific eboot.bin and run it use --update --run flags of eboot subcommand. Keep in mind that vpk must be installed in order for that to work:

cargo vita build eboot --update --run --release --package {PACKAGE}

License

Except where noted (below and/or in individual files), all code in this repository is dual-licensed at your option under either: