uugb9 How do I cheat?
Reputation: 0
Joined: 07 Jan 2021 Posts: 1
|
Posted: Fri Mar 05, 2021 5:40 pm Post subject: Finding rgb values with CE? |
|
|
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?
|
|
sbryzl Master Cheater
Reputation: 6
Joined: 25 Jul 2016 Posts: 252
|
Posted: Sat Mar 06, 2021 5:38 pm Post subject: |
|
|
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.
|
|