Originally posted by Asian
public Form1()
{
this.InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
PS3TMAPI.InitTargetComms();
PS3TMAPI.Connect(0, null);
PS3TMAPI.GetProcessList(0, out processIDs);
ulong num = processIDs[0];
ProcessID = Convert.ToUInt32(num);
PS3TMAPI.ProcessAttach(0, PS3TMAPI.UnitType.PPU, ProcessID);
PS3TMAPI.ProcessContinue(0, ProcessID);
MessageBox.Show("PS3 and Game Has been Attached");
}
private void button10_Click(object sender, EventArgs e)
{
byte[] buffer = new byte[] {
0x49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 110, 0, 0
};
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0L, 0x1786ad7L, buffer);
}
private void button11_Click(object sender, EventArgs e)
{
byte[] buffer = new byte[] {
0x4c, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 110, 0, 0
};
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0L, 0x1786ad7L, buffer);
}
private void button12_Click(object sender, EventArgs e)
{
byte[] buffer = new byte[] {
0x4f, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 110, 0, 0
};
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0L, 0x1786ad7L, buffer);
}
private void button13_Click(object sender, EventArgs e)
{
byte[] buffer = new byte[] {
0x52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 110, 0, 0
};
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0L, 0x1786ad7L, buffer);
}
private void button14_Click(object sender, EventArgs e)
{
byte[] buffer = new byte[] {
0x49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 110, 0, 0
};
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0L, 0x178c2dfL, buffer);
}
private void button15_Click(object sender, EventArgs e)
{
byte[] buffer = new byte[] {
0x4c, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 110, 0, 0
};
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0L, 0x178c2dfL, buffer);
}
private void button16_Click(object sender, EventArgs e)
{
byte[] buffer = new byte[] {
0x4f, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 110, 0, 0
};
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0L, 0x178c2dfL, buffer);
}
private void button17_Click(object sender, EventArgs e)
{
byte[] buffer = new byte[] {
0x52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 110, 0, 0
};
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0L, 0x178c2dfL, buffer);
}
private void button18_Click(object sender, EventArgs e)
{
byte[] buffer = new byte[1];
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0L, 0x1ccfa18L, buffer);
}
private void button19_Click(object sender, EventArgs e)
{
byte[] buffer = new byte[] { 1 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0L, 0x1ccfa18L, buffer);
}
private void button2_Click(object sender, EventArgs e)
{
byte[] buffer = new byte[] {
0x49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 110, 0, 0
};
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0L, 0x177bac7L, buffer);
}