View previous topic :: View next topic |
Author |
Message |
penchops2 How do I cheat? Reputation: 0
Joined: 10 Sep 2022 Posts: 3
|
Posted: Sat Sep 10, 2022 11:30 am Post subject: [HELP] Gran turismo 4 SCUS-97328 |
|
|
I'm trying to figure out how to fix this game on steamdeck.
Problem: Lights are slowing down the emulation. There's a fix that mostly fixes this in PCSX2 but it's not perfect so you get lights turned on all the time, transparencies and some 30fps slowdowns.
I have been doing CheatEngine tutorials and I managed to disable car lights and rear mirror. Which improved a lot the experience.
I want to remove also things like Sun and other lights.
What I've tried:
- I've loaded Seatle race reverse on arcade time trial (other cars also toggles it) , there you have the sun just starting the race. Sun toggles with address: 21BE9168. values: 1 or 0 and it never changes when restarted game.
- Try setting this one to 0 from .pnach with this code:
patch=1,EE,21BE9168,extended,3C013F80
- It doesn't worked, so I supposed that's not the real toggle... But it is. I've checked what accessed the address and yep. If you replace one of the mov [ecx],edx with "nop" it will toggle off.
How can I manage to set this nop on cheat enine by address?
Thank you very much! |
|
Back to top |
|
|
cooleko Grandmaster Cheater Reputation: 11
Joined: 04 May 2016 Posts: 717
|
|
Back to top |
|
|
penchops2 How do I cheat? Reputation: 0
Joined: 10 Sep 2022 Posts: 3
|
Posted: Sat Sep 10, 2022 1:27 pm Post subject: |
|
|
the TLDR;
adress that turns on the sun is 21BE9168
the adress that changes it makes:
mov [ecx],edx
turning this to nop works, making aob script works, but I need .pnach, so wrinting it by address it's what I need.
EDIT: i don't know how to put some images here... but here's reddit post with some images:
/r/cheatengine/comments/xaxn0g/help_gran_turismo_4/ |
|
Back to top |
|
|
cooleko Grandmaster Cheater Reputation: 11
Joined: 04 May 2016 Posts: 717
|
Posted: Sat Sep 10, 2022 2:05 pm Post subject: |
|
|
I don't know anything about pnatch, from googling it, it seems the last 4 bytes are the code to be written to the address, if you want to replace that with nop then you have to consider that mov [rcx],edx is only two bytes (Word) and you are replacing 89 11 with 90 90
Why dont you try:
patch=1,EE,21BE9168,word,9090
And this is just a guess, I have no idea what I'm talking about. |
|
Back to top |
|
|
penchops2 How do I cheat? Reputation: 0
Joined: 10 Sep 2022 Posts: 3
|
Posted: Sat Sep 10, 2022 5:05 pm Post subject: |
|
|
Nothing works and give up is starting to being an option. I will be waiting till, maybe, someone knows how to do these things. |
|
Back to top |
|
|
cooleko Grandmaster Cheater Reputation: 11
Joined: 04 May 2016 Posts: 717
|
Posted: Sat Sep 10, 2022 7:29 pm Post subject: |
|
|
penchops2 wrote: | Nothing works and give up is starting to being an option. I will be waiting till, maybe, someone knows how to do these things. |
The only thing that stands out to me is you said:
Quote: | address that turns on the sun is 21BE9168
the address that changes it makes:
mov [ecx],edx |
Which leaves some ambiguity as to what the address is for. Is 21BE9168 the address for the instruction mov [ecx],edx or is it the address of the 0 / 1 value?
The code I provided only (in theory) works if it is the address of the instruction. Otherwise you need to find the address of the instruction and replace that in the pnatch code. |
|
Back to top |
|
|
|