PCSX2 IPC API Reference implementation
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Gauvain Roussel-Tarbouriech dee812399d
implement msgversion
2 месяцев назад
bindings implement msgversion 2 месяцев назад
src implement msgversion 2 месяцев назад
utils implement msgversion 2 месяцев назад
.clang-format formatting, the return 3 месяцев назад
.gitignore rust bindings 3 месяцев назад
Doxyfile getting ready for release 3 месяцев назад
Jenkinsfile argh 3 месяцев назад
LICENSE better tests, headless tests, idk man bunch of stuff 3 месяцев назад
README.md probably a good idea to link the CI 3 месяцев назад
RELEASE_README.md better tests, headless tests, idk man bunch of stuff 3 месяцев назад
gcovr.cfg better coverage reports 3 месяцев назад
meson.build 100% code coverage and misc fixes 3 месяцев назад
windows-qt.pro cleanup²² 3 месяцев назад


PCSX2 IPC Client-Side Reference API

build tests coverage

You’ll find here the reference implementation of PCSX2 IPC Socket client-side C++ API, along with different language bindings and examples.

A small C++ client example is provided along with the API. It can be compiled by executing the command meson build && cd build && ninja in the folder “example” that is included in the releases.
If you want to run the tests you’ll have to do meson build && cd build && meson test. This will require you to set environment variables to correctly startup the emulator(s). Refer to src/tests.cpp to see which ones.

Meson and ninja ARE portable across OSes as-is and shouldn’t require any tinkering. Please refer to the meson documentation if you really want to use another generator, say, Visual Studio, instead of ninja.
Alternatively, loading the “windows-qt.pro” on Windows with Qt Creator will work just fine if you’re lazy.
If you dislike C++ bindings in popular languages are available.

On Doxygen you can find the documentation of the C++ API [here](@ref PCSX2Ipc).
The C API is documented [here](@ref bindings/c/c_ffi.h) and is probably what you want to read if you use language bindings.

Language bindings will require you to compile the C bindings library for the OS you target. Please refer to bindings/c documentation for building it.

Have fun!
-Gauvain “GovanifY” Roussel-Tarbouriech, 2020