How to find and change a probability within a game

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
PinkSoba
Noobzor
Noobzor
Posts: 11
Joined: Thu Sep 14, 2023 12:06 am
Reputation: 1

How to find and change a probability within a game

Post by PinkSoba »

I haven't been able to find any conclusive answer online, but does anyone know how to do this?

For more context:

There is a status in the game I am playing that has a 70% chance to activate on a critical hit or a 30% chance to activate on a weakness hit.
I want to find the address or whatever handles the probability and change the 30% to a 100% chance.

I don't know what value type to search for and have very limited knowledge with how CE works and there are no topics I could find where this was answered and no video guides online.

The only thought I currently have is to scan for 0 and 1 to see if I can find the address that shows whether the status is active or not, but I don't know if that will work and if it does I am unsure where to go from then on.

I would really appreciate any help. <3

User avatar
Send
Table Makers
Table Makers
Posts: 1450
Joined: Fri Feb 02, 2018 5:58 pm
Reputation: 1370

Re: How to find and change a probability within a game

Post by Send »

PinkSoba wrote:
Mon May 12, 2025 10:39 pm
I haven't been able to find any conclusive answer online, but does anyone know how to do this?

For more context:

There is a status in the game I am playing that has a 70% chance to activate on a critical hit or a 30% chance to activate on a weakness hit.
I want to find the address or whatever handles the probability and change the 30% to a 100% chance.

I don't know what value type to search for and have very limited knowledge with how CE works and there are no topics I could find where this was answered and no video guides online.

The only thought I currently have is to scan for 0 and 1 to see if I can find the address that shows whether the status is active or not, but I don't know if that will work and if it does I am unsure where to go from then on.

I would really appreciate any help. <3
What engine?

PinkSoba
Noobzor
Noobzor
Posts: 11
Joined: Thu Sep 14, 2023 12:06 am
Reputation: 1

Re: How to find and change a probability within a game

Post by PinkSoba »

Send wrote:
Mon May 12, 2025 10:56 pm
PinkSoba wrote:
Mon May 12, 2025 10:39 pm
I haven't been able to find any conclusive answer online, but does anyone know how to do this?

For more context:

There is a status in the game I am playing that has a 70% chance to activate on a critical hit or a 30% chance to activate on a weakness hit.
I want to find the address or whatever handles the probability and change the 30% to a 100% chance.

I don't know what value type to search for and have very limited knowledge with how CE works and there are no topics I could find where this was answered and no video guides online.

The only thought I currently have is to scan for 0 and 1 to see if I can find the address that shows whether the status is active or not, but I don't know if that will work and if it does I am unsure where to go from then on.

I would really appreciate any help. <3
What engine?
I am not too sure. It is Shin Megami Tensei 4 and I'm emulating it on Citra since it's a 3DS game.

User avatar
Send
Table Makers
Table Makers
Posts: 1450
Joined: Fri Feb 02, 2018 5:58 pm
Reputation: 1370

Re: How to find and change a probability within a game

Post by Send »

PinkSoba wrote:
Mon May 12, 2025 11:10 pm
Send wrote:
Mon May 12, 2025 10:56 pm
PinkSoba wrote:
Mon May 12, 2025 10:39 pm
I haven't been able to find any conclusive answer online, but does anyone know how to do this?

For more context:

There is a status in the game I am playing that has a 70% chance to activate on a critical hit or a 30% chance to activate on a weakness hit.
I want to find the address or whatever handles the probability and change the 30% to a 100% chance.

I don't know what value type to search for and have very limited knowledge with how CE works and there are no topics I could find where this was answered and no video guides online.

The only thought I currently have is to scan for 0 and 1 to see if I can find the address that shows whether the status is active or not, but I don't know if that will work and if it does I am unsure where to go from then on.

I would really appreciate any help. <3
What engine?
I am not too sure. It is Shin Megami Tensei 4 and I'm emulating it on Citra since it's a 3DS game.
Make sure to enable MEM_MAPPED in Cheat Engine's settings when scanning for values on emulators. You could try doing a byte search. 1 on which the activation happens. Then 0 when it doesn't. Good luck!

PinkSoba
Noobzor
Noobzor
Posts: 11
Joined: Thu Sep 14, 2023 12:06 am
Reputation: 1

Re: How to find and change a probability within a game

Post by PinkSoba »

Send wrote:
Mon May 12, 2025 11:20 pm
PinkSoba wrote:
Mon May 12, 2025 11:10 pm
Send wrote:
Mon May 12, 2025 10:56 pm


What engine?
I am not too sure. It is Shin Megami Tensei 4 and I'm emulating it on Citra since it's a 3DS game.
Make sure to enable MEM_MAPPED in Cheat Engine's settings when scanning for values on emulators. You could try doing a byte search. 1 on which the activation happens. Then 0 when it doesn't. Good luck!
That is what I was thinking of maybe trying. I don't really know where I would go from there to try find the specific probabilities behind it and alter them. Thank you I appreciate it! <3

Post Reply

Who is online

Users browsing this forum: No registered users