. I will start off with some very basic and easy stuff and get more Advanced later
(its way easier
)
lis %r3, 0x0200 //loads 0x02000000 into r3
lwz %r3, 0x00(%r3) //read at 0x02000000 and store the value in r3 (ClientNumber!)
li %r4, 0 //loads r4 with 0 (its the type argument)
lis %r5, 0x0200 //Load r5 with 0x02000000
addic %r5, %r5, 0x5000 //This adds 0x5000 to r5 so it will be 0x02005000 then + Read string at 0x02005000 and store it to r5
bl 0x53D984 //SV_GameSendServerCommand 1.09!
b 0x6C // branch to the end of the FPS Function
public void SV_GSSC(int client, string CMD)
{
byte[] ppc = new byte[] { 0x3C,0x60,0x02,0x00,0x80,0x63,0x00,0x00,0x38,0x80,0x00,0x00,0x3C,0xA0,0x02,0x00,0x30,0xA5,0x50,0x00,0x48,0x1D,0x48,0xED,0x48,0x00,0x00,0x6C }; //PPC Function we have just written..
byte[] reset = new byte[] { 0x80,0x7E,0x00, 0x00, 0x7C, 0x63, 0x07, 0xB4, 0x4B, 0xE4, 0xC6, 0x69, 0x3C, 0x80, 0x00, 0x37, 0x60, 0x7D, 0x00, 0x00, 0x3B, 0xE4, 0x8F, 0xD4 }; //Original PPC Function of FPS..
PS3.Extension.WriteInt32(0x02000000, client); //This will Write the clientIndex to r3
PS3.Extension.WriteString(0x02005000, CMD); //This will write the CMD to r5
PS3.SetMemory(0x0369084, ppc); //This is our ppc function
PS3.SetMemory(0x0369080, new byte[] { 0x40 }); //This will execute our code(change the beq to bne)
Thread.Sleep(5);
PS3.SetMemory(0x0369080, new byte[] { 0x41 }); //this will stop the execution(change the bne back to beq)
PS3.SetMemory(0x0369084, reset); //This will write the Original ppc code back in!
}
You need PS3Lib for it
, Also you can call it like this SV_GSSC(0, "c hello"); or whatever xD
P
. I will start off with some very basic and easy stuff and get more Advanced later
(its way easier
)
lis %r3, 0x0200 //loads 0x02000000 into r3
lwz %r3, 0x00(%r3) //read at 0x02000000 and store the value in r3 (ClientNumber!)
li %r4, 0 //loads r4 with 0 (its the type argument)
lis %r5, 0x0200 //Load r5 with 0x02000000
addic %r5, %r5, 0x5000 //This adds 0x5000 to r5 so it will be 0x02005000 then + Read string at 0x02005000 and store it to r5
bl 0x53D984 //SV_GameSendServerCommand 1.09!
b 0x6C // branch to the end of the FPS Function
public void SV_GSSC(int client, string CMD)
{
byte[] ppc = new byte[] { 0x3C,0x60,0x02,0x00,0x80,0x63,0x00,0x00,0x38,0x80,0x00,0x00,0x3C,0xA0,0x02,0x00,0x30,0xA5,0x50,0x00,0x48,0x1D,0x48,0xED,0x48,0x00,0x00,0x6C }; //PPC Function we have just written..
byte[] reset = new byte[] { 0x80,0x7E,0x00, 0x00, 0x7C, 0x63, 0x07, 0xB4, 0x4B, 0xE4, 0xC6, 0x69, 0x3C, 0x80, 0x00, 0x37, 0x60, 0x7D, 0x00, 0x00, 0x3B, 0xE4, 0x8F, 0xD4 }; //Original PPC Function of FPS..
PS3.Extension.WriteInt32(0x02000000, client); //This will Write the clientIndex to r3
PS3.Extension.WriteString(0x02005000, CMD); //This will write the CMD to r5
PS3.SetMemory(0x0369084, ppc); //This is our ppc function
PS3.SetMemory(0x0369080, new byte[] { 0x40 }); //This will execute our code(change the beq to bne)
Thread.Sleep(15);
PS3.SetMemory(0x0369080, new byte[] { 0x41 }); //this will stop the execution(change the bne back to beq)
PS3.SetMemory(0x0369084, reset); //This will write the Original ppc code back in!
}
You need PS3Lib for it
, Also you can call it like this SV_GSSC(0, "c hello"); or whatever xD
P
. I will start off with some very basic and easy stuff and get more Advanced later
(its way easier
)
lis %r3, 0x0200 //loads 0x02000000 into r3
lwz %r3, 0x00(%r3) //read at 0x02000000 and store the value in r3 (ClientNumber!)
li %r4, 0 //loads r4 with 0 (its the type argument)
lis %r5, 0x0200 //Load r5 with 0x02000000
addic %r5, %r5, 0x5000 //This adds 0x5000 to r5 so it will be 0x02005000 then + Read string at 0x02005000 and store it to r5
bl 0x53D984 //SV_GameSendServerCommand 1.09!
b 0x6C // branch to the end of the FPS Function
public void SV_GSSC(int client, string CMD)
{
byte[] ppc = new byte[] { 0x3C,0x60,0x02,0x00,0x80,0x63,0x00,0x00,0x38,0x80,0x00,0x00,0x3C,0xA0,0x02,0x00,0x30,0xA5,0x50,0x00,0x48,0x1D,0x48,0xED,0x48,0x00,0x00,0x6C }; //PPC Function we have just written..
byte[] reset = new byte[] { 0x80,0x7E,0x00, 0x00, 0x7C, 0x63, 0x07, 0xB4, 0x4B, 0xE4, 0xC6, 0x69, 0x3C, 0x80, 0x00, 0x37, 0x60, 0x7D, 0x00, 0x00, 0x3B, 0xE4, 0x8F, 0xD4 }; //Original PPC Function of FPS..
PS3.Extension.WriteInt32(0x02000000, client); //This will Write the clientIndex to r3
PS3.Extension.WriteString(0x02005000, CMD); //This will write the CMD to r5
PS3.SetMemory(0x0369084, ppc); //This is our ppc function
PS3.SetMemory(0x0369080, new byte[] { 0x40 }); //This will execute our code(change the beq to bne)
Thread.Sleep(5);
PS3.SetMemory(0x0369080, new byte[] { 0x41 }); //this will stop the execution(change the bne back to beq)
PS3.SetMemory(0x0369084, reset); //This will write the Original ppc code back in!
}
You need PS3Lib for it
, Also you can call it like this SV_GSSC(0, "c hello"); or whatever xD
P
Copyright © 2026, NextGenUpdate.
All Rights Reserved.