GFXP

The "GFXP" code is a required part of all (item).ini files and most other files, including the .ini files for quests and races.

  • The GFXP code tells the game where to look for the larger graphic to go with a particular item.
  • This is the graphic that is used for when the item is first found, by itself, on a planet.
    • It's also the graphic used when you click on an item to bring up the information screen about it.

A typical GFXP code line looks like this:

GFXP items/l_system2.jpg 0

  • The word GFXP is followed by the name of the folder the picture file is in (always a sub-folder of the graphics folder, and in this case it's the "items" folder)
  • Then there's a slash, and then the name of the file. (in this case "l_system2.jpg")
  • There's a space after the file name, and then a number. (in this case, "0")
    • The number corresponds to the frame of the graphics file that correct the picture is in.
    • Frame numbering starts at 0 and increases to the left.
    • In most files, this means the second row starts with frame #4 or #8.

A related code is ICON, which determines the smaller picture used when an item is in your cargo hold, on a homeworld, or installed aboard one of your ships.

GFXP-related crashes and bugs

GFXP can be a little tempermental. The game doesn't like being told to look in the wrong place for a graphic, or being told to look for a file that doesn't exist. If you find your game crashes up arriving at random unexplored planets, finding certain items, or when meeting the Klakar, there's a chance the problem might be one of your ICON or GFXP entries. Check for typos in the GFXP lines and the names of the graphics files themselves, as the smallest problem can cause a mis-match and crash.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License