NotMyFaultv2
Veteran
- Messages
- 20
- Reaction score
- 16
- Points
- 878
Thanks to Pyrex BLJ for helping and for converting it to C++ with me.
Call: Notify("Notification Header", "Notification Text", "menu_camo_mtx_dragon");
Code:
private void Notify(string textHeader, string text, string Shader)
{
PS3.SetMemory(0x1C1FE73, new byte[] { 0x28 });
PS3.Extension.WriteString(0x01C1FC65, textHeader);
PS3.Extension.WriteString(0x01C1FE65, Shader);
PS3.Extension.WriteString(0x1C1FD65, text);
PS3.SetMemory(0x1C1FF66, new byte[] { 0x00, 0x00, 0x00, 0x00, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 });
PS3.SetMemory(0x0D50025, new byte[] { 0x20 });
System.Threading.Thread.Sleep(2500);
PS3.SetMemory(0x1C1FF66, new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 });
PS3.Extension.WriteString(0x1C1FD65, "");
}
Code:
void Thread(uint64_t nothing) {
sleep(3000);
unsigned char byte32off[32] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; unsigned char byte32off2[32] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
write_process(0x1C1FF66, &byte32off, 32);
write_process(0x1C1FD65, &byte32off2, 32);
write_process(0x1C1FC65, &byte32off2, 32);
write_process(0x01C1FE65, &byte32off2, 32);
sys_ppu_thread_exit(nothing);
}
sys_ppu_thread_t Sleeping;
void Notify(char *notifTitle, char *notifBody, char *notifShader) {
unsigned char byte28[1] = { 0x28 };
unsigned char byte32on[32] = { 0x00, 0x00, 0x00, 0x00, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
unsigned char byte20[1] = { 0x20 };
write_process(0x1C1FE73, &byte28, 1);
PS3Lib::WriteString(0x01C1FC65, notifTitle);
PS3Lib::WriteString(0x01C1FE65, notifShader);
PS3Lib::WriteString(0x1C1FD65, notifBody);
write_process(0x1C1FF66, &byte32on, 32);
write_process(0x0D50025, &byte20, 1);
sys_ppu_thread_create(&Sleeping, Thread, 0, 10, 0x0A, 0, "Sleep");
}
Call: Notify("Notification Header", "Notification Text", "menu_camo_mtx_dragon");
Last edited: