Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

GTA Online's Hair Color(Colour) RGB Values?


ChrisinLiberty
 Share

Recommended Posts

ChrisinLiberty

Greetings, GTA Forums Community.

 

I was browsing Open IV in case I want to extract some content that catches my attention, and I found the following file:

 

Hair colour card.gfx

 

However, despite my attempts at trying to open the file to see the palette of colors, I couldn't. I know it's a file used for game development, but I'm curious on how I can see all the hair colors available in GTA Online, and what their RGB values are. I could only see RGB values for HUD Colors, but not from this file.

Does anyone know how to open this file? Does it contain a palette that I can use? Or even an easy route; does someone know what are the colors available in GTA Online for the player's hair (accurately)?

 

I might use the palette for something, that is, if Photoshop can open GFX Files... Maybe not. But does anyone know the solution to this? I'm curious on what's inside that file, and what kind of colors are hiding in there.

Link to comment
Share on other sites

gfx files are basically swf files, use the application on the page linked to open it. Be aware, Flash components rely on a lot of library component files that are not included in each gfx file, so what you will get will be an incomplete collection of sprites, shapes and frames. There may be a scaleform that uses it, not sure.

 

https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/version11.1.0

Link to comment
Share on other sites

ChrisinLiberty
16 minutes ago, LeeC2202 said:

gfx files are basically swf files, use the application on the page linked to open it. Be aware, Flash components rely on a lot of library component files that are not included in each gfx file, so what you will get will be an incomplete collection of sprites, shapes and frames. There may be a scaleform that uses it, not sure.

 

https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/version11.1.0

I did try to search the hair color RBG values within that program, but I couldn't find anything. I may try again if I can find a way to play the codes within the file and see if they contain the values themselves. However, I can't see any of the said values hiding in the files except for some HUD Colors, but they aren't the ones I'm looking for.

Link to comment
Share on other sites

You won't find any actual values in that gfx file, like the other scaleforms, the values are fed to them by the main programme. Scaleforms are nothing more than display elements that display whatever information you give it.

 

It's worth having that programme though as it will open all of the similar gfx files in the game.

 

Are you sure the hair is stored as greyscale textures with RGB tint values, or is there simply a set of hair textures of various colours for each hairstyle? looking in x64v.rpf\models\cdimages\streamedpeds_mp.rpf\mp_f_freemode_01 at the hair_diff files seems to indicate the latter. If they were using RGB tints, there would just be greyscale textures.

Link to comment
Share on other sites

ChrisinLiberty
1 hour ago, LeeC2202 said:

You won't find any actual values in that gfx file, like the other scaleforms, the values are fed to them by the main programme. Scaleforms are nothing more than display elements that display whatever information you give it.

 

It's worth having that programme though as it will open all of the similar gfx files in the game.

 

Are you sure the hair is stored as greyscale textures with RGB tint values, or is there simply a set of hair textures of various colours for each hairstyle? looking in x64v.rpf\models\cdimages\streamedpeds_mp.rpf\mp_f_freemode_01 at the hair_diff files seems to indicate the latter. If they were using RGB tints, there would just be greyscale textures.

Hmmm... The hair models are displayed as lime green with orange highlights, but there are RGB Values in the code, but only one. I can't find the RGB Values of the hair colors themselves. I dunno if the hair themselves are stored as grayscale textures. None of them have color stripped out of them.

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

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.