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.
For Windows:
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 make git wget cmake
For Linux:
For Alpine:
sudo apk add build-base cargo
For Arch:
sudo pacman -S base-devel rust
For Fedora:
sudo dnf install make automake gcc gcc-c++ cargo
You need to build flatc
v24.3.25 of a certain version from source code.
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 v24.3.25"
For Linux:
sudo make install
sudo ldconfig
For Windows MSYS2:
make install
And at the end check the flatc
version:
flatc --version # "flatc version v24.3.25"
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
-
You should have
flatc
v24.3.25 installed as in the paragraph 1.1.2 flatc compilation, but tailored to where you want to compile the server part; -
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.