Release [C#/C++] BO2 Notification

NotMyFaultv2

Well-Known Member
Messages
17
Points
218
Thanks to Pyrex BLJ for helping and for converting it to C++ with me. :grinning:

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:

candy

G59 Terrorist
Staff member
Donator
Messages
1,300
Points
548
Can't say much about this as from what Dora said, the thread itself is lacking or shouldnt be it's own thread alone.
 

big money

New Member
Messages
6
Points
3
can this be used in game? don't work for me but its been a long time away from sprx for me. I do get a error at sys_ppu_thread_t. thanks for any help
 
Last edited:

DevOps

Well-Known Member
Messages
2
Points
203
Thanks to Pyrex BLJ for helping and for converting it to C++ with me. :grinning:

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");


Code:
0x3779EC - void UI_OpenToastPopup(int localClientNum, const char *toastPopupIconName, const char *toastPopupTitle, const char *toastPopupDesc, int toastPopupDuration)

Code:
Example

UI_OpenToastPopup(0, "menu_camo_mtx_dragon", "DevOps Says:", "Choo Choo Haha", 2500);
 

PayM12

New Member
Messages
1
Points
1
How do I use this 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, "");
}
 

Pyrex BLJ

im done :)
Staff member
Premium Member
Messages
603
Points
528
How do I use this 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, "");
}
You call it like this
Notify("Notification Header", "Notification Text", "Notification shader");
 
Top