Hi ! You can find the source code here.
The sources are a mess, but it was sort of my first "deep" experience with C.
I'm sure there is a lot of code which can be shortened, enhanced even some parts of the code are useless because it's a test or other things unfinished.
But I've stopped working on this and the function I've thought I'll implement won't see daylight anytime soon ad I don't even know if i'll add them one day. ^^
I'm working on my Memory Explorer now so if it can help someone to have a good base for doing plugin with spoiler or else, have fun.
You can also take my main and add it to your plugins, it will permit you to create plugins with multiplayer still enabled.
I do not see why NTR Cheats should stay offline when Gateway Users can cheat online.
The Source is actually decent. To translate Gateshark Code into C Code you have to understand what the Gateshark Code actually does, which you did.
Your C Code is basically a 1 to 1 translation to what the Gateshark code does.
You could probably make the base pointer part a lot better by just checking the base pointer on the first run instead of regetting it for every code activation.
Didn't really look through all of it but there is not need to have 3 functions for the material code.
Code:
void materials_x99()
{
int base_pointer = READU32(0x0072E168);
if (base_pointer != 0x0)
{
ptr = base_pointer + 0xFFFFEB30;
for (int i = 0; i < 97; i++)
{
WRITEU8(ptr, 0x63);
ptr++;
}
ptr += 0x02; //0xFFFFEB93
for (int i = 0; i < 201; i++)
{
WRITEU8(ptr, 0x63);
ptr++;
}
ptr += 0x1E; //0xFFFFEC7A
for (int i = 0; i < 12; i++)
{
WRITEU8(ptr, 0x63);
ptr++
}
}
}
Last edited by TheDeKay,