Images.txt

Images.txt is an IMGLIST file in Grand Theft Auto IV. This file is located in the  by default, its location can be changed by editing the   file.

Format
The images.txt file follows the major  notation. The only difference is that there are no direct identifiers. They are appended to the major directory identifier which are also present in the map listing file and tell the game that it has to search for images or map information:

platformimg: commonimg:

Using this a path can be built simply by appending the relative path from the  or   subdirectory of the GTA IV's installation directory, together with the major file name:

platformimg:/data/maps/props/commercial/7_11

The path controls four files: IDE, IMG, WPL, XPL. It is followed by an (optional) numeric-boolean flag which can either be 1 or 0. It defines which files the game expects at the specified location. Usually path and flag are separated by one or more linefeeds. If the flag is 1 the game expects just object definitions and images, if it is 0 it also expects WPL/XPL information.

Example: platformimg:/data/maps/jersey/nj_xref	1 ... will search for... .../pc/data/maps/jersey/nj_xref.img .../pc/data/maps/jersey/nj_xref.ide (if it exists)

and platformimg:/data/maps/jersey/nj_04e	0 ... will search for... .../pc/data/maps/jersey/nj_xref.img .../pc/data/maps/jersey/nj_xref.ide .../pc/data/maps/jersey/nj_xref.wpl .../pc/data/maps/jersey/nj_xref.xpl

The files do not need to be present but to improve the game's performance it is recommended to set the flag correctly.