.gfx
Jump to navigation
Jump to search
.gfx files are uncompressed Autodesk Scaleform files. With a bit of editing, these can be opened and edited using SWF decompilers. Textures are loaded from an accompanied .ytd file with the same filename.
In GTA V, .gfx files are used for many things: in-game websites, mini-game menus, in-game phones, the HUD, heist menus, and more.
Editing
JPEXS FFdec can open and edit .gfx files without the need to modify the header or extension.
To edit a .gfx file without Autodesk or FFdec, change the file's file extension to .swf. Then open it in a hex editor and change the header from GFX to FWS.
You can now edit it with a SWF decompiling program, like SoThink.
When you're finished editing, change the header and file extension back.
Grand Theft Auto V | |
---|---|
File Formats | .awc • .dat • .gfx • .gxt2 • .ide • .meta/.ymt/.xml • .mrf • .patch • .rpf • .ybn/.ybd • .ycd • .ydd • .ydr • .yed • .yfd • .yft • .yld • .ymap • .ymf • .ynd • .ynv • .ypdb • .ysc • .ytd • .ytyp • .yvr |
Documentation | Bink Video • Native functions • Weather types |
Tools | OpenIV • GIMS Evo • CodeWalker |
Multiplayer | GTAForums: GTA Online |
Useful links | Community portal • Discussion forums • GTA V Modding Forum • GTA5-Mods • Native Functions Database (alloc8or) |