Earlier this week PlayStation 4 developer @MrNiato made available his PS4 Console Manager Tool Source Code followed by the required Interop.ORTMAPILib.dll via @oldschoolmodzhd, and now RFOoD x MoDz shared a Private Static ORTMAPILib.IProcess IProcess with homebrew developers.
To quote: Private Static ORTMAPILib.IProcess IProcess;
Example:
Thanks to @HydrogenNGU for sharing the Pastebin in the PSXHAX Shoutbox!
To quote: Private Static ORTMAPILib.IProcess IProcess;
Code:
void SetMemory(ulong Address, object Bytes)
{
IProcess.SetMemory(Address, Bytes);
}
void GetMemory(ulong Address, uint ByteCount, out uint Bytes)
{
IProcess.GetMemory(Address, ByteCount, out Bytes);
}
void SendConsoleInput(string InptText)
{
IProcess.SendConsoleInput(eConsoleOutputPort.STREAM_STDERR, InptText);
}
Code:
byte[] buffer = new byte[] { 0xFF, 0xFF };
SetMemory(0xFFFFF, buffer);