Editor File Formats
From IGAEditorWiki
Contents |
Adpack File Format
Adpack files have the .adpack extension. They are ZIP 2.0 files, set to maximum compression, unencrypted. Adpack files may never be encrypted internally - if you wish to do this then you must encrypt it EXTERNAL to the ZIP format of the adpack file, eg: putting it in another ZIP, 7-Zip or RAR archive.
metadata.dat
Sample Adpack file:
author=Digital Illusions CE AB;description=This is the stock Battlefield 2142 Adpack file.;product=bf2142;title=Stock BF2142 Adpack;version=1;
All values are seperated by a semicolon (;), the key and the value are seperated by an equals sign (=).
author
The name of the person who wrote the adpack, or provided the source of the images.
description
A brief description of the adpack. There may be newlines in this field.
product
The product's short name. There is a list available in Application IDs.
title
The title or name of the adpack.
version
The revision of the format of the adpack file. This is always 1, for the moment. The cache editor will refuse all other versions.
This is used for a substantial, non-backwards compatible change to the format. Minor changes that don't effect compatibility are not counted.
filelist.dat
Example:
title=194;filename=194.dds;contentType=2021100; title=195;filename=195.dds;contentType=2041100; title=196;filename=196.dds;contentType=2081100; title=197;filename=197.dds;contentType=2101100; title=198;filename=198.dds;contentType=3021100; title=199;filename=199.dds;contentType=3041100;
The format is similar to metadata.dat. The only difference is that a newline indicates a new record, and new lines are no longer allowed as values.
title
The "description" of the file, or it's title.
filename
The filename that this record refers to in this adpack file.
contentType
The contentType field value for the record. IGA-style contentTypes are used to make it easier to deal with in relation to the database. See ContentTypes.
*.dds, *.bik
The actual ad data that is to be inserted.

