PCSX2 Documentation/IPC Protocol: Difference between revisions
Jump to navigation
Jump to search
PCSX2 Documentation/IPC Protocol (view source)
Revision as of 21:15, 31 August 2020
, 31 August 2020no edit summary
RedDevilus (talk | contribs) (Ready for write) |
No edit summary |
||
Line 1: | Line 1: | ||
PCSX2 now implements an IPC(Inter-Process Communication) protocol to allow inter-communication between external tools, PCSX2 and emulated games. | |||
This protocol allows things such as, for example: | |||
* Communicating between a game and an external tool, e.g. to play music out of a game due to memory limitation. | |||
* Communicating between PCSX2 and an external tool, e.g. to pause a game or load one. | |||
* Communicating between a game and PCSX2, e.g. making a boss fight trigger a save-state. | |||
And much more! <br/> | |||
In contrast to PNACH, you can program the tool in the program of your choice and are not limited, logic wise. | |||
This effectively allows something akin to a scripting language inside the emulator, except it runs outside of it. | |||
To get started, you'll need to grab the latest release available here: https://code.govanify.com/govanify/pcsx2_ipc/releases <br/> | |||
If you want to use the C++ API just compile on your OS of choice the client example and start hacking. <br/> | |||
If you prefer another language, such as Python, Lua or Rust, you'll have to program an intermediary library first. <br/> | |||
All of this process is detailed in the repository linked above. <br/> | |||
A fairly complete documentation is available in the release under either an HTML or PDF format, depending on your preferences in the releases linked above. |