Images.txt: Difference between revisions

mNo edit summary
 
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Images.txt''' is a [[Gta.dat#IMGLIST|IMGLIST]] file in [[GTA IV]]. This file is located in the <code>common\data folder</code>, by default. Its location can be changed by editing the <code>gta.dat</code> file.  
'''Images.txt''' is a [[Gta.dat#IMGLIST|IMGLIST]] file in [[Grand Theft Auto IV|GTA IV]]. This file is located in the <code>common\data folder</code>, by default. Its location can be changed by editing the <code>gta.dat</code> file.


== Format ==
== Format ==
Line 11: Line 11:
  platformimg:/data/maps/props/commercial/7_11
  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 [[IDE|object definitions]] (<code>*.ide</code>) and [[IMG|images]] (<code>*.img</code>), if it is 0 it also expects [[WPL]]/[[XPL]] information.
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 [[IDE|object definitions]] (<code>*.ide</code>) and [[IMG|images]] (<code>*.img</code>), if it is 0 it also expects [[WPL]]/XPL information.


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


== External link ==
{{GTAF|386402|<nowiki>[WIP]IV map cleaning</nowiki>}}


{{gtaiv}}{{fdl}}
[[Category:Map Formats]]
[[Category:Map Formats]]
{{GTA4-navi}}{{fdl}}

Latest revision as of 23:32, 20 September 2010

Images.txt is a IMGLIST file in GTA IV. This file is located in the common\data folder, by default. Its location can be changed by editing the gta.dat file.

Format

The images.txt file follows the major gta.dat 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 pc\ or common\ 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 (*.ide) and images (*.img), 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.


Copyrighted

This page is licensed under the GNU Free Documentation Licence. This page has a separate license to the CC-BY-SA that applies to most of Grand Theft Wiki.

The full text of the GNU FDL v1.2 is here. Click the "History" button to see the full list of authors. See Grand Theft Wiki:Copyright for more detail on our copyright policy.

GNU Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
See Grand Theft Wiki:Copyright for more information.