ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

File Types: Difference between revisions

From ModEnc
Jump to navigation Jump to search
m me stupid, ignore me
Added VPL to the list
 
(9 intermediate revisions by 6 users not shown)
Line 4: Line 4:
=== [[Tools#.MIX_editing|.MIX]] ===
=== [[Tools#.MIX_editing|.MIX]] ===


This format is used as the container for the game's data files. Also see [[XCC]].
This format is used as the container for the game's data files. Also see [[XCC]].<br>
[[MIX|More information]]


=== [[Tools#.SHP_editing|.SHP]] ===
=== [[Tools#.SHP_editing|.SHP]] ===
Line 12: Line 13:
TD/RA1(shp): all in-game art except terrain.
TD/RA1(shp): all in-game art except terrain.


TS/RA2(shp(ts)): infantry art, building art, cameos, animations.
TS/RA2(shp(ts)): infantry art, building art, cameos, animations.<br>
[[SHP|More information]]


=== [[Tools#.VXL_editing|.VXL]] ===
=== [[Tools#.VXL_editing|.VXL]] ===
Line 18: Line 20:
These files contain the 3D '''vo'''lume pi'''xel''' (voxel) data. The voxels are used for:
These files contain the 3D '''vo'''lume pi'''xel''' (voxel) data. The voxels are used for:


TS/RA2 only: vehicle art, aircraft art and some building turrets.  
TS/RA2 only: vehicle art, aircraft art and some building turrets.<br>
[[Voxel|More information]]


=== [[Tools#.HVA_editing|.HVA]] ===
=== [[Tools#.HVA_editing|.HVA]] ===


These files contain the animation data for .vxl files, i.e. how should the voxel animate while moving, firing, etc.
These files contain the animation data for .vxl files, i.e. how should the voxel animate while moving, firing, etc.<br>
[[HVA|More information]]


=== [[Tools#.INI_editing|.INI]] ===
=== [[Tools#.INI_editing|.INI]] ===


These are plain text files which control the most of the game's data. (TD does not have these files, to edit its settings you must hex-edit the executable.) See also [[INI-editing]].
These are plain text files which control the most of the game's data. (TD does not have these files, to edit its settings you must hex-edit the executable.) See also [[INI-editing]].<br>
[[INIs|More information]]


=== [[Tools#.CSF_String_editing|.CSF]] ===
=== [[Tools#.CSF_String_editing|.CSF]] ===
Line 32: Line 37:
RA2/YR uses this format to ease the game translation. It contains all the strings displayed by the game, referenced by keyword. If you try to call an undefined entry, you'll get the "MISSING:entry_name" instead.
RA2/YR uses this format to ease the game translation. It contains all the strings displayed by the game, referenced by keyword. If you try to call an undefined entry, you'll get the "MISSING:entry_name" instead.


(If anyone is planning to write an extractor/injector for this format, I can provide semi-complete format info.)
(If anyone is planning to write an extractor/injector for this format, I can provide semi-complete format info.)<br>
[[CSF|More information]]


=== [[Tools#.Terrain_editing|.TEM, .SNO, .URB, .UBN, .LUN, .DES]] ===
=== [[Tools#.Terrain_editing|.TEM, .SNO, .URB, .UBN, .LUN, .DES]] ===


Terrain objects. Extension dictates the [[theatre]] which uses this file:
Terrain objects. Extension dictates the [[Theatres|theatre]] which uses this file:


TEM - Temperate.
TEM - Temperate.
Line 48: Line 54:
LUN - Lunar.
LUN - Lunar.


DES - Desert.
DES - Desert.<br>
[[Theatres|More information]]


=== [[Tools#.Map_editing|.MAP, .MPR, .YRM, .YRO]] ===
=== [[Tools#.Map_editing|.MAP, .MPR, .YRM, .MMX, .YRO]] ===


Map file formats.  
Map file formats.  


.MAP - standard map.
.MAP - Original game map, not recognised unless refered to by .pkt for multiplayer or by a campaign control file for single player.


.MPR -  
.MPR - RA2 customer multiplayer map, will transfer online if Official=no in the map Basic section.


.YRM - a mix-file containing a .map file and a same-name.pkt file.
.YRM - YR customer multiplayer map, will transfer online if Official=no in the map Basic section.


.YRO - same as .YRM, but it's the extension used by Westwood's official maps.
.MMX - Mix file containing a .MAP file and a .PKT file, used for RA2 official map packs.
 
.YRO - Mix file containing a .MAP file and a .PKT file, used for YR official map packs.


=== .PKT ===
=== .PKT ===


A plain text file, contains additional info about maps - which .CSF entry to use as the maps name and in which gamemodes to enable this map. Not necessary for .map, as they contain that info inside the map file itself.
A plain text file, contains additional info about maps - which .CSF entry to use as the maps name and in which gamemodes to enable this map. Not necessary for .mpr and .yrm files, as they contain that info inside the map file itself.


=== [[Tools#Bag_Audio_editing|.BAG/.IDX]] ===
=== [[Tools#Bag_Audio_editing|.BAG/.IDX]] ===


These formats were also created in RA2, to contain the audio files. Why such an eloquent structure was used, I have no idea. .IDX contains the filenames and their associated sound formatting data, where as .BAG contains the WAV sound itself. Taking the header from the .IDX and appending it with the sound data from .BAG gives you the correct sound.  
These formats were also created in RA2, to contain the audio files. Why such an eloquent structure was used is unknown. .IDX contains the filenames and their associated sound formatting data, where as .BAG contains the WAV sound itself. Taking the header from the .IDX and appending it with the sound data from .BAG gives you the correct sound.  


(If anyone is planning to write an extractor/injector for this format, I can provide complete format info.)
(If anyone is planning to write an extractor/injector for this format, format info can be provided.)


=== [[Tools#Sound_related|.WAV]] ===
=== [[Tools#Sound_related|.WAV]] ===
Line 79: Line 88:


Sound format used by all pre-RA2 games.
Sound format used by all pre-RA2 games.
=== .BIK ===
Proprietary video format used in RA2. More information may be found [http://radgametools.com/ here].
=== .VQA ===
Westwood's video format, used for all games prior to RA2.
=== [[Tools#.VPL_editing|.VPL]] ===
VPLs or Voxel Palettes are the lookup tables for the actual voxels for the normals.<br>
[[VPL|More information]]


== File Types (Generals and later) ==
== File Types (Generals and later) ==
Line 84: Line 106:


Someone else should fill this in.
Someone else should fill this in.
[[Category:General Editing Information]]
[[Category:File Formats| File Formats]]

Latest revision as of 14:50, 17 July 2011

File Types (pre-Generals)

This is intended as an index of the file types. For info about editing these files, click each header.

.MIX

This format is used as the container for the game's data files. Also see XCC.
More information

.SHP

These files contain 2D pixel animation/still images. They are used for:

TD/RA1(shp): all in-game art except terrain.

TS/RA2(shp(ts)): infantry art, building art, cameos, animations.
More information

.VXL

These files contain the 3D volume pixel (voxel) data. The voxels are used for:

TS/RA2 only: vehicle art, aircraft art and some building turrets.
More information

.HVA

These files contain the animation data for .vxl files, i.e. how should the voxel animate while moving, firing, etc.
More information

.INI

These are plain text files which control the most of the game's data. (TD does not have these files, to edit its settings you must hex-edit the executable.) See also INI-editing.
More information

.CSF

RA2/YR uses this format to ease the game translation. It contains all the strings displayed by the game, referenced by keyword. If you try to call an undefined entry, you'll get the "MISSING:entry_name" instead.

(If anyone is planning to write an extractor/injector for this format, I can provide semi-complete format info.)
More information

.TEM, .SNO, .URB, .UBN, .LUN, .DES

Terrain objects. Extension dictates the theatre which uses this file:

TEM - Temperate.

SNO - Snow.

URB - Urban.

UBN - New Urban.

LUN - Lunar.

DES - Desert.
More information

.MAP, .MPR, .YRM, .MMX, .YRO

Map file formats.

.MAP - Original game map, not recognised unless refered to by .pkt for multiplayer or by a campaign control file for single player.

.MPR - RA2 customer multiplayer map, will transfer online if Official=no in the map Basic section.

.YRM - YR customer multiplayer map, will transfer online if Official=no in the map Basic section.

.MMX - Mix file containing a .MAP file and a .PKT file, used for RA2 official map packs.

.YRO - Mix file containing a .MAP file and a .PKT file, used for YR official map packs.

.PKT

A plain text file, contains additional info about maps - which .CSF entry to use as the maps name and in which gamemodes to enable this map. Not necessary for .mpr and .yrm files, as they contain that info inside the map file itself.

.BAG/.IDX

These formats were also created in RA2, to contain the audio files. Why such an eloquent structure was used is unknown. .IDX contains the filenames and their associated sound formatting data, where as .BAG contains the WAV sound itself. Taking the header from the .IDX and appending it with the sound data from .BAG gives you the correct sound.

(If anyone is planning to write an extractor/injector for this format, format info can be provided.)

.WAV

Sound format used by RA2.

.AUD

Sound format used by all pre-RA2 games.

.BIK

Proprietary video format used in RA2. More information may be found here.

.VQA

Westwood's video format, used for all games prior to RA2.

.VPL

VPLs or Voxel Palettes are the lookup tables for the actual voxels for the normals.
More information

File Types (Generals and later)

This is intended as an index of the file types. For info about editing these files, click each header.

Someone else should fill this in.