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 


Finding rgb values with CE?

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

Joined: 07 Jan 2021
Posts: 1

PostPosted: Fri Mar 05, 2021 5:40 pm    Post subject: Finding rgb values with CE? Reply with quote

In The Godfather II, while changing character clothes (player or made men) there is an option for changing the clothes color. I'd like to edit that color palette by replacing several colors.

Here are screenshots of that option:

ibb.co/FBZBmWn

ibb.co/YtkJyKv

The problem is, I don't know the rgb values for those colors. I've been searching the ram with keywords such as "color", "rgb", "hsv" and "hsl" and looking up the neighboring values (using hex editor) but I couldn't find anything useful. I suspect that these values are stored in allcharacters.str or globals_global.str, but I don't know which values I should be looking for so I decided to find them in the active memory first.

The options in the clothes editor are highlighted; in the first screenshot, the color option is highlighted and the color is lighter, and in another one I highlighted the last option which made the color dimmer. This highlighter affects the displayed color, so I'm unable to simply take a screenshot and use the color picker to get the rgb value.

So, I'm trying to find something in the ram without knowing its value, or even the address. How to accomplish this?
Back to top
View user's profile Send private message
sbryzl
Master Cheater
Reputation: 6

Joined: 25 Jul 2016
Posts: 252

PostPosted: Sat Mar 06, 2021 5:38 pm    Post subject: Reply with quote

Search for unknown value then change the color, search for changed then unchanged then back to original color, check compare to first scan and search unchanged. Just keep mixing changed / unchanged like that until it narrows. Whether it works depends on how the game handles it. You will likely find a temporary address pointed to by an op you will then have to debug to find an originating address.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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