The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
In order to build a vita sample, you need to add the toolchain
bin/directory to your
Every samples directory should include a CMake list. To build a sample, place yourself into this directory and use the
cmake . && makecommand to build it.
To run a sample: - Send the generated
.vpkto your vita: - Start an FTP server on your vita (for example, with VitaShell - by pressing the select button). - Upload the
.vpkto the Vita using your FTP client (for example, with Curl - with
curl -T *.vpk ftp://YOUR_VITA_IP:1337/ux0:/) - If Curl returns
fatal: No names found, cannot describe anythingit mean that you are trying to overwrite a folder with a file. Add a
/to the end of your url to explain that you want to upload IN this folder. - Install the
.vpkon your vita using a vpk installer (for example, with VitaShell - by pressing the X button on the
.vpk) - This will create a new folder in the
ux0:/app/for the sample.
Use the following command to build every samples:
mkdir build && cd build cmake .. make
audio: Simple audio wave generator.
camera: Demonstration of camera features.
common: Common functions for samples.
ctrl: A minimal controller (button) sample.
debug_print: A minimal debug print sample.
debugscreen: Debug text printing sample.
hello_cpp_world: A minimal hello world sample in C++.
hello_world: A minimal hello world sample.
ime: Graphical dialog sample.
microphone: Demonstration of microphone features.
motion: Prints accelerometer data.
net_http: A minimal HTTP download sample.
net_http_bsd: A minimal HTTP download sample using BSD sockets.
net_libcurl: A libcurl download sample.
power: A minimal power sample.
pretty_livearea: A minimal hello world sample with example livearea styling and features.
prx_loader: Load/list prx modules.
prx_simple: Minimal sample prx module.
redrectangle: Example SDL rendering.
rtc: A minimal RTC sample.
socket_ping: ICMP ping using raw sockets.
soloud: Plays an audio file and Text To Speech.
touch: A minimal touch sample.
pretty_liveareafor an example.
All code and build scripts in this repo is licensed under the terms of CC0 1.0 Universal.