This guide describes how to compile the VitaOxiPad Client and Server. It is assumed that the user has basic skills in using the console.
To compile the Client you will need
- Make and Cmake;
- Flatbuffers (flatc);
- Rust (cargo).
Install the necessary dependencies in a way that is convenient for you.
You can use MSYS2, which provides this in a convenient way.
Dependencies you will need for MSYS2 MINGW64:
pacman -S mingw-w64-x86_64-rust mingw-w64-x86_64-flatbuffers make git wget cmake
For Alpine:
sudo apk add build-base flatc cargo
For Arch:
sudo pacman -S base-devel flatbuffers rust
For Fedora:
sudo dnf install make automake gcc gcc-c++ flatbuffers-compiler cargo
Clone the repository and log into it:
git clone --recurse-submodules https://github.com/DvaMishkiLapa/VitaOxiPad.git
cd ./VitaOxiPad
Build the client side:
cd ./client
cargo build --release --bin cli
You can check the finished binary by running in it:
./target/release/cli.exe your_PS_Vita_IP
- Make sure that you have
cmake
installed; - Make sure you have VitaSDK installed and configured (try vdpm);
- Sometimes, for whatever reason,
flatbuffers
are not installed in the VitaSDK (fatal error: flatbuffers/flatbuffers.h: No such file or directory
). You can install it manually via vdpm. Do this after installing the VitaSDK via vdpm:
./vdpm flatbuffers
- Install
flatc
v24.3.25 for your system. For Linux:
git clone --branch v24.3.25 https://github.com/google/flatbuffers.git && cd flatbuffers
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
make -j
./flattests # this is quick, and should print "ALL TESTS PASSED"
sudo make install
sudo ldconfig
flatc --version # "flatc version 24.3.25"
- Build the project with the following commands:
cmake -S server -B build
cmake --build build
Then, install the generated VitaOxiPad.vpk
file on your PS Vita.