Post: PRX Module Unloading Tutorial w/ Example
10-11-2016, 11:25 PM #1
Swaqq
Professional Thanker
(adsbygoogle = window.adsbygoogle || []).push({});
Hello everyone, it's been a while since I've released something, and I probably won't release much more. This code allows you to unload prx modules, and with a few tweaks can make it so that you never need to exit the game when testing your sprx module. Sabotage and I were working on this for about 30mins, and it's really not complicated.


To your project, you'll want to add a few lines of code.

First off, you'll want to add the code below in your prx.cpp below SYS_MODULE_START.
    
SYS_MODULE_STOP( stop );
SYS_MODULE_EXIT( exit );


Once you've added that in, you'll want to define those two functions with the code below.
    
extern "C" int stop(void)
{
return SYS_PRX_STOP_OK;
}

extern "C" int exit(void)
{
return 0;
}


In the stop function, you will do all of your unhooking and thread killing.

I've made a demo for you which you can download You must login or register to view this content..
I won't include a virustotal simply because there are no exe's in there.
You should check this out so you can see how the unloading works, and to make sure everything is right.
How to unload the prx is also in the demo project.

If you use this, please credit Sabotage and I.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 9 users say thank you to Swaqq for this useful post:

basshead4ever, Cbuf_AddText, John, Kryptus, oStankyModz, Dacoco, Kronos, TheGreenPlanet, xGaMeRx_xBeAsTx
10-11-2016, 11:29 PM #2
Dacoco
I void warranties.
Originally posted by Swaqq View Post
Hello everyone, it's been a while since I've released something, and I probably won't release much more. This code allows you to unload prx modules, and with a few tweaks can make it so that you never need to exit the game when testing your sprx module. Sabotage and I were working on this for about 30mins, and it's really not complicated.


To your project, you'll want to add a few lines of code.

First off, you'll want to add the code below in your prx.cpp below SYS_MODULE_START.
    
SYS_MODULE_STOP( stop );
SYS_MODULE_EXIT( exit );


Once you've added that in, you'll want to define those two functions with the code below.
    
extern "C" int stop(void)
{
return SYS_PRX_STOP_OK;
}

extern "C" int exit(void)
{
return 0;
}


In the stop function, you will do all of your unhooking and thread killing.

I've made a demo for you which you can download You must login or register to view this content..
I won't include a virustotal simply because there are no exe's in there.
You should check this out so you can see how the unloading works, and to make sure everything is right.
How to unload the prx is also in the demo project.

If you use this, please credit Sabotage and I.


Fake n gay
10-11-2016, 11:49 PM #3
Thanks, how do I use this to make a menu?
10-11-2016, 11:50 PM #4
Swaqq
Professional Thanker
Originally posted by Soldier View Post
Thanks, how do I use this to make a menu?


This isn't meant to make a menu, this is just to unload a prx module. As you can probably tell by reading that first sentence, you're talking about 2 completely different topics.
10-11-2016, 11:55 PM #5
Originally posted by Swaqq View Post
This isn't meant to make a menu, this is just to unload a prx module. As you can probably tell by reading that first sentence, you're talking about 2 completely different topics.


Thanks mate for the explanation.
10-12-2016, 03:43 AM #6
Kronos
Former Staff
Originally posted by Swaqq View Post
Hello everyone, it's been a while since I've released something, and I probably won't release much more. This code allows you to unload prx modules, and with a few tweaks can make it so that you never need to exit the game when testing your sprx module. Sabotage and I were working on this for about 30mins, and it's really not complicated.


To your project, you'll want to add a few lines of code.

First off, you'll want to add the code below in your prx.cpp below SYS_MODULE_START.
    
SYS_MODULE_STOP( stop );
SYS_MODULE_EXIT( exit );


Once you've added that in, you'll want to define those two functions with the code below.
    
extern "C" int stop(void)
{
return SYS_PRX_STOP_OK;
}

extern "C" int exit(void)
{
return 0;
}


In the stop function, you will do all of your unhooking and thread killing.

I've made a demo for you which you can download You must login or register to view this content..
I won't include a virustotal simply because there are no exe's in there.
You should check this out so you can see how the unloading works, and to make sure everything is right.
How to unload the prx is also in the demo project.

If you use this, please credit Sabotage and I.


Nice find Swaqq and Sab, thanks for the share Smile
10-12-2016, 08:39 PM #7
United
Big Sister
Originally posted by Swaqq View Post
Hello everyone, it's been a while since I've released something, and I probably won't release much more. This code allows you to unload prx modules, and with a few tweaks can make it so that you never need to exit the game when testing your sprx module. Sabotage and I were working on this for about 30mins, and it's really not complicated.


To your project, you'll want to add a few lines of code.

First off, you'll want to add the code below in your prx.cpp below SYS_MODULE_START.
    
SYS_MODULE_STOP( stop );
SYS_MODULE_EXIT( exit );


Once you've added that in, you'll want to define those two functions with the code below.
    
extern "C" int stop(void)
{
return SYS_PRX_STOP_OK;
}

extern "C" int exit(void)
{
return 0;
}


In the stop function, you will do all of your unhooking and thread killing.

I've made a demo for you which you can download You must login or register to view this content..
I won't include a virustotal simply because there are no exe's in there.
You should check this out so you can see how the unloading works, and to make sure everything is right.
How to unload the prx is also in the demo project.

If you use this, please credit Sabotage and I.

Will this give me hacks for all my games?
10-12-2016, 10:59 PM #8
ToXiC-_-
Pokemon Trainer
Originally posted by Swaqq View Post
Hello everyone, it's been a while since I've released something, and I probably won't release much more. This code allows you to unload prx modules, and with a few tweaks can make it so that you never need to exit the game when testing your sprx module. Sabotage and I were working on this for about 30mins, and it's really not complicated.


To your project, you'll want to add a few lines of code.

First off, you'll want to add the code below in your prx.cpp below SYS_MODULE_START.
    
SYS_MODULE_STOP( stop );
SYS_MODULE_EXIT( exit );


Once you've added that in, you'll want to define those two functions with the code below.
    
extern "C" int stop(void)
{
return SYS_PRX_STOP_OK;
}

extern "C" int exit(void)
{
return 0;
}


In the stop function, you will do all of your unhooking and thread killing.

I've made a demo for you which you can download You must login or register to view this content..
I won't include a virustotal simply because there are no exe's in there.
You should check this out so you can see how the unloading works, and to make sure everything is right.
How to unload the prx is also in the demo project.

If you use this, please credit Sabotage and I.


Will this jailbreak my PS3?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo