Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[HELP] Gran turismo 4 SCUS-97328

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
penchops2
How do I cheat?
Reputation: 0

Joined: 10 Sep 2022
Posts: 3

PostPosted: Sat Sep 10, 2022 11:30 am    Post subject: [HELP] Gran turismo 4 SCUS-97328 Reply with quote

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! Smile
Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Sat Sep 10, 2022 12:23 pm    Post subject: Reply with quote

It sounds like this is what you want to use:

https://wiki.cheatengine.org/index.php?title=Cheat_Engine:Auto_Assembler#Example_using_DEFINE
https://wiki.cheatengine.org/index.php?title=Auto_Assembler:registerSymbol#Examples

My brain isn't turned on yet so I may have missed the point of your post, but this lets you change the code at a specific location in memory which sounds like what you were trying to do.

Otherwise, is there a reason that an AOB scan wont work?
Back to top
View user's profile Send private message
penchops2
How do I cheat?
Reputation: 0

Joined: 10 Sep 2022
Posts: 3

PostPosted: Sat Sep 10, 2022 1:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Sat Sep 10, 2022 2:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
penchops2
How do I cheat?
Reputation: 0

Joined: 10 Sep 2022
Posts: 3

PostPosted: Sat Sep 10, 2022 5:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Sat Sep 10, 2022 7:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites