ChrisinLiberty Posted June 21, 2018 Share Posted June 21, 2018 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 More sharing options...
Guest Posted June 23, 2018 Share Posted June 23, 2018 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 More sharing options...
ChrisinLiberty Posted June 23, 2018 Author Share Posted June 23, 2018 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 More sharing options...
Guest Posted June 23, 2018 Share Posted June 23, 2018 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 More sharing options...
ChrisinLiberty Posted June 23, 2018 Author Share Posted June 23, 2018 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now