Running
After you have built a vpk
file, you have two options to run it:
Running on the real hardware
If you are going to test your application on physical hardware you first need to deliver and install your vpk
on your Vita.
This can be either:
- Done manually with VitaShell
- Automated using cargo-vita. This will require you to have a number of additional tools installed (see Getting Started).
Running on the emulator
After installing the emulator and setting it up correctly, installing and running your vpk
is as simple as:
# Optionally remove the previous vpk with your title_id
vita3k -d RUST00001
# Installs the vpk and runs it
vita3k ./target/armv7-sony-vita-newlibeabihf/release/your_app.vpk
Keep in mind that an emulator is not a real device, and some programs that would work on real hardware won't work in an emulator, and vice versa.