PinPoint Expert Cheater
Reputation: 10
Joined: 07 Apr 2016 Posts: 223 Location: Scotland
|
Posted: Sat Jul 09, 2016 7:38 pm Post subject: Gameshark codes to cheat engine using create thread |
|
|
Click on the image to view the tutorial.
In the tutorial above I convert gameshark codes for infinite health for FFIX with the epsxe emulator.
I utilise createthread() to write to an address every 500m/s but only when a certain condition is met, i.e only when you are in battle.
here is the script that was written with some more addresses added to it.
Code: | [ENABLE]
globalalloc(battlecheck,2048)
CREATETHREAD(battlecheck)
registersymbol(end)
label(inf_HPMP)
label(end)
battlecheck:
mov eax,[ePSXe.exe+75be59]
cmp eax,01//checks if in battle
je inf_HPMP
jmp battlecheck //if not in battle jump back to battlecheck
inf_HPMP:
//Infinate HP positions 1-4
mov word ptr [ePSXe.exe+7608C4],#9999//set value of address to 9999
mov word ptr [ePSXe.exe+760994],#9999
mov word ptr [ePSXe.exe+760A64],#9999
mov word ptr [ePSXe.exe+760B34],#9999
//Infinate MP positions 1-4
mov word ptr [ePSXe.exe+7608C6],#999//set value of address to 999
mov word ptr [ePSXe.exe+760996],#999
mov word ptr [ePSXe.exe+760A66],#999
mov word ptr [ePSXe.exe+760B36],#999
//pause, check if script still active, jump back to the battlecheck
push #500
call sleep
cmp [end],01
jne battlecheck
ret
end:
dd 0
[DISABLE]
end:
dd 01 |
|
|