Jump to content
  • 0

How to find the color value?


DimoNULL
 Share

Question

6 answers to this question

Recommended Posts

  • 0

[ @DimoNULL ]
---
You need to specify what colors you're looking for, is it Shaders or Textures? Also, Shaders depends on Device Architecture (Mali or Snapdragon). Here's how you can find it:

  1. - Shaders are usually consist of RGB values (Red, Green, Blue). Each values is ranged from 1 to 255, example for color Blue : [0, 0, 255]. You can search this values as Float.
  2. - If you're looking for Body Color (changing Player color), you can search for "1" as float, and mess around with it. Usually it is for Unity based game.
  3. - You can change color by Hex value: Hex color. You need to change it before the game reach loading screen.
  4. - For textures, you can't change it's color. You need to edit the texture itself, which will involve editing the in-game files.
  5. - Assuming the game don't have tiled textures, you can change color for any object texture. You need to make the game unload the textures by deleting in-game files or unreferencing it on Memory (before loading screen). The object will turn to purple / pink: No Texture, which then you can find the pink color values and change to anything you want.
  6. - As for shaders, you can also debug your in-game renderer (OpenGL or Vulkan) using: Android GPU Inspector (never tried it) . Also, you can go with Android Emulator route and use: SpecialK or: Ninja Ripper to dump your in-game shaders to help you find color values.

---
I have given you 6 answers for each scenario. If you have any questions, just ask me.

Link to comment
Share on other sites

  • 0
On 11/7/2023 at 8:05 PM, kiynox said:

[ @DimoNULL ]
---
You need to specify what colors you're looking for, is it Shaders or Textures? Also, Shaders depends on Device Architecture (Mali or Snapdragon). Here's how you can find it:

  1. - Shaders are usually consist of RGB values (Red, Green, Blue). Each values is ranged from 1 to 255, example for color Blue : [0, 0, 255]. You can search this values as Float.
  2. - If you're looking for Body Color (changing Player color), you can search for "1" as float, and mess around with it. Usually it is for Unity based game.
  3. - You can change color by Hex value: Hex color. You need to change it before the game reach loading screen.
  4. - For textures, you can't change it's color. You need to edit the texture itself, which will involve editing the in-game files.
  5. - Assuming the game don't have tiled textures, you can change color for any object texture. You need to make the game unload the textures by deleting in-game files or unreferencing it on Memory (before loading screen). The object will turn to purple / pink: No Texture, which then you can find the pink color values and change to anything you want.
  6. - As for shaders, you can also debug your in-game renderer (OpenGL or Vulkan) using: Android GPU Inspector (never tried it) . Also, you can go with Android Emulator route and use: SpecialK or: Ninja Ripper to dump your in-game shaders to help you find color values.

---
I have given you 6 answers for each scenario. If you have any questions, just ask me.

I'm also curious about how I can modify the body color, but for Unreal Engine games I would greatly appreciate if you would answer me.

Link to comment
Share on other sites

  • 0

[ @PolloSancocho90 ]
---
You can take the "renderer" route. Most of Unreal Engine route uses OpenGL, you can try to hook it using SpecialK or Ninja Ripper. Or you can try to hook "libGLESv2.so" yourself, then learning about the OpenGL library, then simply use "glBlendColor" to modify the color of your object:

glBlendColor(255.0f, 255.0f, 255.0f, 1.0f) --Color Red
--glBlendColor(Red, Green, Blue, Alpha (For transparency))

Or if you intend to create a wallhack, take a look on this: Android-OpenGL-ES-Chams
---

Link to comment
Share on other sites

  • 0
On 7/5/2024 at 10:17 PM, kiynox said:

[ @PolloSancocho90 ]
---
You can take the "renderer" route. Most of Unreal Engine route uses OpenGL, you can try to hook it using SpecialK or Ninja Ripper. Or you can try to hook "libGLESv2.so" yourself, then learning about the OpenGL library, then simply use "glBlendColor" to modify the color of your object:

glBlendColor(255.0f, 255.0f, 255.0f, 1.0f) --Color Red
--glBlendColor(Red, Green, Blue, Alpha (For transparency))

Or if you intend to create a wallhack, take a look on this: Android-OpenGL-ES-Chams
---

d***, thank you very much for responding.  That will help me understand how it works better, but I was referring to Android games and only using a phone, I used game guardian to find the wallhack value (2.0f in video memory) it works but it is unstable and very easy to detect, comparison of other memory regions (in my experience)

Link to comment
Share on other sites

  • 0

[ @PolloSancocho90 ]
---
Yes, you can purely doing it on Android. To compile your custom hook use: AIDE but off course you need to put your hook directly inside the game apk. Doing it through OpenGL directly sounds complicated, you can also try the way you did (by editing video memory). You can refer to my answer #1 and #3 above.

Quote

1) Shaders are usually consist of RGB values (Red, Green, Blue). Each values is ranged from 1 to 255, example for color Blue : [0, 0, 255]. You can search this values as Float.
2) You can change color by Hex value: Hex color. You need to change it before the game reach loading screen.

---

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.