Romhacking.net

Romhacking => Newcomer's Board => Topic started by: Zanerus on March 24, 2020, 06:38:43 pm

Title: [PS1 ASSEMBLY HELP] Saga frontier how to find pointers with cheat engine*
Post by: Zanerus on March 24, 2020, 06:38:43 pm
I have the start and the end point for what I am looking for, but I need to move my endpoint to a location with more room so I can add an additional line of add to the register to increase the point gain earned at the end of a fight. All offsets are listed as cheat engine offsets when using an espxe.

0121483C :Start point(the total battle ranks the player has)

0089B33E: Add points to the start point, and has a function to avoid overflow.

I want to move 0089B33E to a spot with some empty space so I can make it increase the battle rank points by 2 instead of one to reduce grinding.
Title: Re: [PS1 ASSEMBLY HELP] Saga frontier how to find pointers with cheat engine*
Post by: Valendian on March 28, 2020, 05:07:42 pm
First off use an emulator with a debugger such as no$psx or pSX. Then place a read/write breakpoint on the start address. This will let you know where the game engine is using that memory. Take note of all the addresses that read/write. Now find some free space and patch the code so it read writes to there instead.

You will need to use a MIPS instruction set reference.