Difference between revisions of "ETW Data"

From Totalwar.org
Jump to: navigation, search
m (<tt>effects/</tt>)
 
(25 intermediate revisions by one other user not shown)
Line 6: Line 6:
  
 
There are several <tt>.pack</tt> files: the following sub-sections contain a quick look at some of the interesting things revealed.
 
There are several <tt>.pack</tt> files: the following sub-sections contain a quick look at some of the interesting things revealed.
 +
Note that other interesting files, such as the [[ETW key bindings]] and [[ETW preferences]], are kept elsewhere.
  
[[Category: ETW Data]]
+
[[Category: ETW data]]
  
 
== <tt>anim.pack</tt> ==
 
== <tt>anim.pack</tt> ==
Line 36: Line 37:
 
[[Acronyms Abbreviations Shorthand|<tt>.fx</tt>]], and  
 
[[Acronyms Abbreviations Shorthand|<tt>.fx</tt>]], and  
 
[[Acronyms Abbreviations Shorthand|<tt>.dds</tt>]]  
 
[[Acronyms Abbreviations Shorthand|<tt>.dds</tt>]]  
files for Initial loading: <tt>commontextures/</tt>, <tt>fx</tt>, and <tt>ui</tt>.
+
files for initial loading:
 +
* <tt>commontextures/</tt>
 +
* <tt>fx/</tt>
 +
* <tt>ui/</tt>
  
 
== <tt>groupformations.pack</tt> ==
 
== <tt>groupformations.pack</tt> ==
Line 43: Line 47:
 
== <tt>local_en.pack</tt> ==
 
== <tt>local_en.pack</tt> ==
 
1362 Localization resources, in the "en" (English) locale:  
 
1362 Localization resources, in the "en" (English) locale:  
<tt>advisor/</tt>,
+
* <tt>advisor/</tt>
<tt>font/</tt>, and
+
* <tt>font/</tt>
<tt>text/</tt>.
+
* <tt>text/</tt>
  
 
== <tt>main.pack</tt> ==
 
== <tt>main.pack</tt> ==
Line 51: Line 55:
 
This is the [http://en.wikipedia.org/wiki/Duke_Kahanamoku Big Kahuna], the key to most of the non-"eye candy" aspects of the game.  As of version 1.11, the Pack File Manager does not decode all the contained files.  But many that it can understand are quite useful.
 
This is the [http://en.wikipedia.org/wiki/Duke_Kahanamoku Big Kahuna], the key to most of the non-"eye candy" aspects of the game.  As of version 1.11, the Pack File Manager does not decode all the contained files.  But many that it can understand are quite useful.
  
Contains [[Acronyms Abbreviations Shorthand|LUA]] scripts for <tt>episodicscripting</tt>,
+
See the [[ETW:main.pack|<tt>main.pack</tt>]] topic for details.
<tt>events</tt>,
 
<tt>export_advice</tt>,
 
<tt>export_ancillaries</tt>,
 
<tt>export_historic_characters</tt>,
 
<tt>export_historic_events</tt>,
 
<tt>export_missions</tt>, and
 
<tt>export_triggers</tt>.
 
The <tt>export_</tt>ed files all note they were exported from <tt>empire.mdb</tt>, an M$ Access database.
 
 
 
Sub-directories contain:
 
=== <tt>campaign/</tt> ===
 
[[Acronyms Abbreviations Shorthand|TGA]], mesh, and [[Acronyms Abbreviations Shorthand|<tt>.dds</tt>]] files for <tt>clouds/</tt>, <tt>coastline/</tt>, and <tt>terrain/</tt>.
 
 
 
=== <tt>commontextures/</tt> ===
 
[[Acronyms Abbreviations Shorthand|<tt>.dds</tt>]] files for <tt>battle_building_brdf</tt> to <tt>velvet</tt>.
 
 
 
=== <tt>customsprites/</tt> ===
 
[[Acronyms Abbreviations Shorthand|<tt>.dds</tt>]] and [[Acronyms Abbreviations Shorthand|TGA]] files for <tt>general_radar_pip</tt> to <tt>water_texture</tt>.
 
 
 
=== <tt>db/</tt> ===
 
Rather than just present them in alphabetical order, we've grouped the files into (hopefully useful) categories:
 
 
 
==== Geography ====
 
The tables in these files describe elements of the strategic map.
 
 
 
* [[ETW:regions_continents|<tt>regions_continents</tt>]]
 
* [[ETW:regions|<tt>regions</tt>]]
 
* [[ETW:region_unit_resources|<tt>region_unit_resources</tt>]]
 
* [[ETW:campaign_map_settlements|<tt>campaign_map_settlements</tt>]]
 
* [[ETW:campaign_map_towns_and_ports|<tt>campaign_map_towns_and_ports</tt>]]
 
 
 
==== Buildings &amp; their Effects ====
 
 
 
* [[ETW:building_levels|<tt>building_levels</tt>]]
 
* [[ETW:building_chains|<tt>building_chains</tt>]]
 
* [[ETW:building_upgrades_junction|<tt>building_upgrades_junction</tt>]]
 
* [[ETW:building_effects_junction|<tt>building_effects_junction</tt>]]
 
* [[ETW:building_factionwide_effects_junction|<tt>building_factionwide_effects_junction</tt>]]
 
* [[ETW:building_research_thread_junction|<tt>building_research_thread_junction</tt>]]
 
* [[ETW:building_resources_junction|<tt>building_resources_junction</tt>]]
 
* [[ETW:building_units_allowed|<tt>building_units_allowed</tt>]]
 
 
 
==== Factions &amp; Groups ====
 
 
 
* [[ETW:factions|<tt>factions</tt>]]
 
* [[ETW:groupings|<tt>groupings</tt>]]
 
* [[ETW:units_to_groupings|<tt>units_to_groupings</tt>]]
 
 
 
==== Units ====
 
 
 
* [[ETW:unit_category|<tt>unit_category</tt>]]
 
* [[ETW:unit_class|<tt>unit_class</tt>]]
 
* [[ETW:units|<tt>units</tt>]]
 
* [[ETW:units_to_special_editions_juncs|<tt>units_to_special_editions_juncs</tt>]]
 
* [[ETW:unit_required_technology_junction|<tt>unit_required_technology_junction</tt>]]
 
* [[ETW:units_to_exclusive_faction_permissions|<tt>units_to_exclusive_faction_permissions</tt>]]
 
* [[ETW:unit_abilities|<tt>unit_abilities</tt>]]
 
* [[ETW:unit_to_unit_abilities_junction|<tt>unit_to_unit_abilities_junction</tt>]]
 
* [[ETW:unit_experience_thresholds|<tt>unit_experience_thresholds</tt>]]
 
* [[ETW:unit_stats_land|<tt>unit_stats_land</tt>]]
 
* [[ETW:unit_stats_naval|<tt>unit_stats_naval</tt>]]
 
 
 
==== Governments ====
 
 
 
* [[ETW:government_types|<tt>government_types</tt>]]
 
* [[ETW:units_to_gov_type_permissions|<tt>units_to_gov_type_permissions</tt>]]
 
 
 
==== Economics &amp; Trade ====
 
 
 
* [[ETW:region_economic_factors|<tt>region_economic_factors</tt>]]
 
* [[ETW:trade_theatre_commodities|<tt>trade_theatre_commodities</tt>]]
 
 
 
==== Technology &amp; Research ====
 
The "tech tree."
 
 
 
* [[ETW:technology_threads|<tt>technology_threads</tt>]]
 
* [[ETW:technologies|<tt>technologies</tt>]]
 
* [[ETW:technology_required_technology_junctions|<tt>technology_required_technology_junctions</tt>]]
 
* [[ETW:technology_effects_junction|<tt>technology_effects_junction</tt>]]
 
 
 
==== Historical Events &amp; News ====
 
 
 
* [[ETW:events|<tt>events</tt>]]
 
 
 
==== Traits &amp; Ancillaries ====
 
The E:TW [[Acronyms Abbreviations Shorthand|VnV]] system.
 
  
* [[ETW:trigger_events|<tt>trigger_events</tt>]]
+
'''Important''':  the files in [[ETW Data#patch.pack|<tt>patch.pack</tt>]] override the ones here.
* [[ETW:trait_triggers|<tt>trait_triggers</tt>]]
 
* [[ETW:trigger_effects|<tt>trigger_effects</tt>]]
 
* [[ETW:trait_level_effects|<tt>trait_level_effects</tt>]]
 
 
 
=== <tt>effects/</tt> ===
 
XML files for <tt>campaignmap</tt>, <tt>landbattle</tt>, and <tt>navalbattle</tt>.
 
<tt>textures/</tt> contains [[Acronyms Abbreviations Shorthand|<tt>.dds</tt>]] and [[Acronyms Abbreviations Shorthand|TGA]] files for <tt>default_pfx_packed_normal</tt> to <tt>whispy_smoke_diffuse</tt>.
 
 
 
=== <tt>fx/</tt> ===
 
.fx files for <tt>battlefieldterrain</tt> to <tt>weather</tt>, and supporting (fragment) files.
 
 
 
=== <tt>heightmaps/</tt> ===
 
1 file<tt>default.tga</tt>.
 
 
 
=== <tt>indicators/</tt> ===
 
[[Acronyms Abbreviations Shorthand|.dds]] files for <tt>move_arrow_head_diffuse</tt> to <tt>target_arrow_tail_diffuse</tt>.
 
 
 
=== <tt>multiplayer/</tt> ===
 
2 files:  <tt>filter.txt</tt> and <tt>region_qos.xml</tt>.
 
 
 
=== <tt>rti/</tt> ===
 
Files for the Road To Independence mini-campaign battles.
 
<tt>rti_battles/</tt> contains <tt>.xml</tt> and <tt>.battle_script</tt> files for <tt>rti_{boston,smith}_battle</tt>.
 
 
 
=== <tt>scenarios/</tt> ===
 
Files for the stand-alone scenario battles.
 
Contains [[Acronyms Abbreviations Shorthand|TGA]], <tt>.battle_script</tt>, and/or <tt>.xml</tt> files for <tt>battle_of_{brandywine,cowpens,fontenoy,lagos,leuthen,porto_novo,rossbach}</tt>, <tt>mp_battle_of_{brandywine,porto_novo}</tt>, and <tt>shannon_vs_chesapeake</tt>
 
 
 
=== <tt>sea/</tt> ===
 
Contains [[Acronyms Abbreviations Shorthand|TGA]] and .dds files for <tt>bow_wave</tt> to <tt>wake_distortion</tt>.
 
 
 
=== <tt>text/</tt> ===
 
2 files:  <tt>credits.xml</tt> lists the [[ETW people]], and
 
<tt>default_keys.xml</tt> defines the default [[ETW key bindings]].
 
 
 
=== <tt>tutorialbattles/</tt> ===
 
Contains <tt>.battle_script</tt> and <tt>.xml</tt> files for the land and naval battle tutorials.
 
 
 
(End of <tt>main.pack</tt>.)
 
  
 
== <tt>models.pack</tt> ==
 
== <tt>models.pack</tt> ==
 
13,596 files.
 
13,596 files.
 
+
See the [[ETWmodels.pack|<tt>models.pack</tt>]] topic for details.
=== <tt>artillery/</tt> ===
 
<tt>field_cannon/</tt>
 
 
 
=== <tt>buildings/</tt> ===
 
<tt>american_bridge_basic/</tt> to
 
<tt>western_fort_command_hq/</tt>.
 
 
 
=== <tt>db/</tt> ===
 
<tt>battle_groundcover_density_maps_tables/</tt> to
 
<tt>warscape_underlay_textures_tables/</tt>.
 
 
 
=== <tt>enginemodels/</tt> ===
 
<tt>ancient_field_24lb</tt> to
 
<tt>rocket_large_lod{1-4}.animatable_rigid_model</tt>.
 
Sub-directories <tt>congreve/</tt>, <tt>destruction/</tt> (includes animations), and <tt>textures/</tt> (.dds files).
 
 
 
=== <tt>rigidmodels/</tt> ===
 
<tt>3dindicators/</tt> to
 
<tt>waypointmarkers/</tt>.
 
 
 
=== <tt>ships/</tt> ===
 
<tt>1deck24/</tt> to
 
<tt>fsteam_frigate/</tt>.
 
 
 
=== <tt>unitmodels/</tt> ===
 
<tt>african_slaver_musketeers</tt> to
 
<tt>wild_geese_lod{1-4}.variant_weighted_mesh</tt>.
 
Sub-directories for mounts (<tt>camel/</tt>,
 
<tt>elephant/</tt>, and <tt>horse/</tt>),
 
<tt>campaignpieces/</tt> (<tt>{east,euro}_campaign_{admiralship,ship}_weighted_model.variant_weighted_mesh</tt>), and
 
<tt>textures/</tt> ([[Acronyms Abbreviations Shorthand|<tt>.dds</tt>]] files).
 
  
 
== <tt>movies.pack</tt> ==
 
== <tt>movies.pack</tt> ==
Line 278: Line 126:
  
 
== <tt>sounds_animation_triggers.pack</tt> ==
 
== <tt>sounds_animation_triggers.pack</tt> ==
2,602 <tt>.anim_sound_event</tt> files in <tt>animations/</tt>:
+
2,602 <tt>.anim_sound_event</tt> files in <tt>animations/</tt>.
 
+
See the [[ETW:sounds_animation_triggers.pack|<tt>sounds_animation_triggers.pack</tt>]] topic for details.
=== <tt>animals/</tt> ===
 
<tt>camel/</tt>,
 
<tt>elephant/</tt>, and
 
<tt>horse/</tt>.
 
 
 
=== <tt>horse_matched/</tt> ===
 
 
 
=== <tt>matched_combat/</tt> ===
 
<tt>draw/</tt>,
 
<tt>finish/</tt>,
 
<tt>kill/</tt>, and
 
<tt>parry/</tt>.
 
 
 
=== <tt>men/</tt> ===
 
<tt>archer/</tt>,
 
<tt>artillery/</tt>,
 
<tt>axe/</tt>,
 
<tt>camel_rider/</tt>,
 
<tt>campaign/</tt> agents,
 
<tt>captain/</tt>,
 
<tt>elephant_rider/</tt>,
 
<tt>flag_bearer/</tt>,
 
<tt>horse_rider/</tt>,
 
<tt>musician/</tt>,
 
<tt>musket/</tt>,
 
<tt>pike/</tt>,
 
<tt>sabre/</tt>, and
 
<tt>sword_shield/</tt>.
 
  
 
== <tt>sounds_campaign.pack</tt> ==
 
== <tt>sounds_campaign.pack</tt> ==
273 [[Acronyms Abbreviations Shorthand|WAV]] files for various campaign map sounds, all following the naming convention <tt>emp_ext</tt>''nnn_name''<tt>_v1.00_gme.wav</tt>.
+
273 [[Acronyms Abbreviations Shorthand|WAV]] files in <tt>campaign/</tt> for various campaign map sounds.
Presumably, the ''nnn_name'' strings correspond to event ids, and the version string <tt>v1.00</tt> will be incremented in the future.
+
See the [[ETW:sounds_campaign.pack|<tt>sounds_campaign.pack</tt>]] topic for details.
 
 
=== <tt>campaign/interface/</tt> ===
 
<tt>events/</tt> sub-directory contains files for <tt>150_abolition2</tt> to <tt>214_wardeclaration</tt>, <tt>emp_hyb_flood_campaignevent</tt>, and <tt>emp_lib_</tt>''event'' files for
 
<tt>exhibition</tt>,
 
<tt>funeral</tt>,
 
<tt>hurricane</tt>,
 
<tt>industry2</tt>,
 
<tt>island</tt>,
 
<tt>plague</tt>,
 
<tt>religion</tt>, and
 
<tt>steam</tt>.
 
 
 
<tt>hud/</tt> sub-directory contains <tt>147_campaign_eventarrive</tt>, <tt>148_eventscroll</tt>, and <tt>149_campaign_eventdisregard</tt>.
 
 
 
=== <tt>campaign/map/</tt> ===
 
<tt>building_ambiences/</tt> sub-directory contains ambient sounds for different environments:
 
 
 
<tt>building_ambiences/cities/</tt> sub-directory contains <tt>001_city_regioncapitalnortherneurope_01</tt> to
 
<tt>005_city_regioncapitalnorthamericanindian_03</tt>
 
 
 
<tt>building_ambiences/towns/</tt> sub-directory contains
 
<tt>011_towns_manufacturingcraftworkshop_01</tt> to
 
<tt>060_towns_smallfishingarea_03</tt>
 
 
 
<tt>building_ambiences/towns/internal/</tt> sub-directory contains
 
<tt>026_towns_militaryhospital_01</tt> to
 
<tt>053_towns_villagehall_03</tt>
 
 
 
<tt>building_ambiences/villages/</tt> sub-directory contains
 
<tt>006_village_regionvillagenortherneurope_01</tt> to
 
<tt>010_village_regionvillagenorthamericanindian_03</tt>
 
 
 
<tt>environment/</tt> sub-directory contains
 
<tt>emp_lib_campaign_jungleambience_01</tt> to
 
<tt>emp_lib_campaign_woodlandambience_04</tt>
 
  
 
== <tt>sounds_music.pack</tt> ==
 
== <tt>sounds_music.pack</tt> ==
228 <tt>.mp3</tt> files in <tt>music/</tt> for various parts of the game,
+
228 <tt>.mp3</tt> files in <tt>music/</tt> for various parts of the game.
generally (except those in <tt>fieldmusicians/</tt>) following the naming convention <tt>mus</tt>''nnn_name''<tt>_{midi,orc,orc_[loop]}.mp3</tt>.
+
See the [[ETW:sounds_music.pack|<tt>sounds_music.pack</tt>]] topic for details.
Presumably, the ''nnn_name'' strings correspond to event ids.
 
 
 
=== <tt>music/campaign/</tt> ===
 
Contains [[Acronyms Abbreviations Shorthand|MIDI]] files for <tt>022_endturn_western</tt>,
 
<tt>023_endturn_ottoman</tt>, and <tt>024_endturn_indian</tt>.
 
 
 
Sub-directories contain <tt>mus</tt>''nnn_name''<tt>_v1.00.mp3</tt> files:
 
 
 
<tt>american/</tt> sub-directory contains <tt>090_america_guitar_{1-8}</tt>
 
 
 
<tt>european/</tt> sub-directory contains
 
<tt>088_europe_irishpipes_1</tt> to <tt>091_europe_guitar_8</tt>.
 
 
 
<tt>indian/</tt> sub-directory contains
 
<tt>035_india_bansuri_1</tt> to <tt>038_india_rabab_8</tt>.
 
 
 
<tt>ottoman/</tt> sub-directory contains
 
<tt>030_arabic_duduk_1</tt> to <tt>038_arabic_lauto_7</tt>.
 
 
 
<tt>tribal/</tt> sub-directory contains
 
<tt>025_tribal_anasahi_1</tt> to <tt>028_tribal_ocarina_5</tt>.
 
 
 
=== <tt>music/fieldmusicians/</tt> ===
 
Contains [[Acronyms Abbreviations Shorthand|WAV]] files, with naming convention
 
either <tt>cus_cornet_</tt>''name''<tt>_v1.00_mxd.wav</tt>
 
or <tt>emp_cus_snare_</tt>''name''<tt>_v1.00_gme.wav</tt>.
 
 
 
The cornet (bugle) and snare (drum) sounds are each <tt>charge_01</tt> to <tt>run_04</tt>.
 
 
 
=== <tt>music/frontend/</tt> ===
 
2 files: <tt>mus015_empire_theme_orc.mp3</tt> and <tt>mus092_credits_orc.mp3</tt>.
 
 
 
=== <tt>music/land/</tt> ===
 
The <tt>mus</tt>''nnn_name''<tt>_midi.mp3</tt> files are:
 
<tt>044_deployment_tribal</tt>,
 
<tt>053_deployment_tribal</tt>,
 
<tt>054_deployment_tribal</tt>,
 
<tt>056_deployment_ottoman</tt>,
 
<tt>057_deployment_ottoman</tt>,
 
<tt>059_deployment_indian</tt>,
 
<tt>060_deployment_indian</tt>,
 
<tt>063_deployment_indian</tt>, and
 
<tt>066_deployment_ottoman</tt>.
 
 
 
<tt>mus</tt>''nnn_name''<tt>_orc.mp3</tt> files are:
 
<tt>049_deployment_western</tt>,
 
<tt>050_deployment_western</tt>, and
 
<tt>051_deployment_western</tt>.
 
 
 
<tt>mus</tt>''nnn_name''<tt>_orc_[loop].mp3</tt> files are:
 
<tt>045_battle_tribal</tt>,
 
<tt>047_battle_tribal</tt>,
 
<tt>048_battle_western</tt>,
 
<tt>058_battle_western</tt>,
 
<tt>061_battle_western</tt>,
 
<tt>065_battle_tribal</tt>,
 
<tt>067_battle_ottoman</tt>,
 
<tt>068_battle_ottoman</tt>,
 
<tt>069_battle_ottoman</tt>,
 
<tt>070_battle_indian</tt>,
 
<tt>071_battle_indian</tt>, and
 
<tt>072_battle_indian</tt>.
 
 
 
=== <tt>music/loadscreens/</tt> ===
 
6 [[Acronyms Abbreviations Shorthand|WAV]] files,
 
<tt>emp_hyb_ambience_loadingscreen{1-6}_v1.00_gme.wav</tt>.
 
 
 
=== <tt>music/looptest/</tt> ===
 
1 file:  <tt>mus046_battle_pirates_orc_[loop].mp3</tt>.
 
 
 
=== <tt>music/naval/</tt> ===
 
3 <tt>mus0{40-42}_deployment_naval_orc.mp3</tt> files.
 
 
 
6 battle <tt>mus</tt>''0nn''<tt>battle</tt>_{naval,pirates}_orc_[loop].mp3</tt> files:
 
043, 052, 055, and 064 are <tt>naval</tt>, 046 and 062 are <tt>pirates</tt>.
 
 
 
=== <tt>music/prebattle/</tt> ===
 
6 pre-battle <tt>mus</tt>''0nn''<tt>prebattle_</tt>''faction''<tt>_midi_[loop].mp3</tt> files:
 
016 (<tt>indian</tt>),
 
017 (<tt>western</tt>),
 
018 (<tt>tribal</tt>),
 
019 (<tt>ottoman</tt>),
 
019 (<tt>ottoman</tt> editied), and
 
020 (<tt>naval</tt>).
 
 
 
=== <tt>music/results/</tt> ===
 
5 <tt>mus</tt>''0nn''<tt>results_</tt>''faction''<tt>_midi_[loop].mp3</tt> files:
 
073 (<tt>indian</tt>),
 
074 (<tt>western</tt>),
 
075 (<tt>tribal</tt>),
 
076 (<tt>ottoman</tt>), and
 
077 (<tt>naval</tt>).
 
  
 
== <tt>sounds_other.pack</tt> ==
 
== <tt>sounds_other.pack</tt> ==
Line 453: Line 146:
  
 
== <tt>sounds_sfx.pack</tt> ==
 
== <tt>sounds_sfx.pack</tt> ==
3592 WAV files in <tt>sfx/</tt> for various special effects noises,
+
3592 [[Acronyms Abbreviations Shorthand|WAV]] files in <tt>sfx/</tt> for various special effects noises.
generally following the naming convention <tt>emp_{cus,hyb,lib}_</tt>''name''<tt>_v1.00_gme.wav</tt>.
 
 
 
=== <tt>sfx/ambiences/</tt> ===
 
6 files <tt>emp_cus_ambience_lakelapping</tt>.
 
5 files <tt>emp_hyb_ambience_loadingscreen</tt>.
 
10 files <tt>emp_lib_ambience_</tt>''area''<tt>countryside_0{1,2}</tt>, for
 
<tt>american</tt>,
 
<tt>european</tt> (winter),
 
<tt>europeansummer</tt>,
 
<tt>middleeastern</tt>, and
 
<tt>northafrican</tt>.
 
6 files <tt>emp_lib_ambience_riversidevarious</tt>.
 
2 files <tt>emp_lib_ambience_tropical</tt>.
 
4 files <tt>lib_atmos_cricketchirps</tt>
 
 
 
=== <tt>sfx/animal vocalisations/</tt> ===
 
 
 
Sub-directories for each mount type (<tt>camel/</tt>, <tt>elephant/</tt>, and <tt>horse/</tt>).
 
The 1st two have 10 files for <tt>emp_lib_</tt>''mount''<tt>_idling</tt>
 
and 8 files for <tt>emp_lib_</tt>''mount''<tt>_injured</tt>.
 
Horses have 11 <tt>snortgrunt</tt> and 9 <tt>whinnies</tt> files.
 
 
 
=== <tt>sfx/elements/</tt> ===
 
 
 
Sub-directories for <tt>fire/</tt>, <tt>thunder/<tt>, <tt>water/</tt>, and <tt>wind/</tt>
 
contain various <tt>_gme.wav</tt> files.
 
 
 
=== <tt>sfx/hud/</tt> ===
 
  
Sub-directory <tt>campaign/</tt> contains <tt>_gme.wav</tt> files for info droppings, clicks and buttons.
+
See the [[ETW:sounds_sfx.pack|<tt>sounds_sfx.pack</tt>]] topic for details.
 
 
Sub-directory <tt>front_end/</tt> contains <tt>_gme.wav</tt> files tab mouseovers and selections, and other click and button press sounds.
 
 
 
=== <tt>sfx/land/</tt> ===
 
 
 
Sub-directories for <tt>birds/</tt>, <tt>buildinginstructions/<tt>, <tt>idletroops/</tt>, and <tt>wildlife/</tt> contain various <tt>_gme.wav</tt> files.
 
 
 
=== <tt>sfx/movement/</tt> ===
 
Sub-directories for <tt>{animal,human}_falls/</tt>, <tt>{animal,human}_foley/<tt>, <tt>{anumal,human}_footsteps/</tt>,
 
<tt>cannons_carriages/</tt>
 
<tt>combat/</tt>
 
<tt>grappling_hook/</tt>, and <tt>groupmovement/</tt> contain various <tt>_gme.wav</tt> files.
 
 
 
=== <tt>sfx/ocean/</tt> ===
 
19 <tt>emp_lib_seagull_seagullsounds</tt> <tt>_gme.wav</tt> files.
 
 
 
Sub-directories for <tt>flags/</tt>, <tt>sails/</tt>, and <tt>ships/</tt>.
 
 
 
=== <tt>sfx/weapons/</tt> ===
 
Sub-directories for <tt>airgun/</tt> to <tt>tomahawk/</tt> contain various <tt>_gme.wav</tt> files.
 
The various <tt>hit</tt> and <tt>stab</tt> sounds vary by what they hit (<tt>shield</tt>, <tt>sword</tt>, <tt>flesh</tt>, etc).
 
  
 
== <tt>subtitles.pack</tt> ==
 
== <tt>subtitles.pack</tt> ==
120 subtitle text string files in <tt>movies/<tt>, in [[Acronyms Abbreviations Shorthand|CSV]] format, for various <tt>.bik</tt> files,
+
120 subtitle text string files in <tt>movies/</tt>, in [[Acronyms Abbreviations Shorthand|CSV]] format, for various <tt>.bik</tt> files,
 
localized to 7 [http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements countries]:
 
localized to 7 [http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements countries]:
 
<tt>cz</tt>,  
 
<tt>cz</tt>,  
Line 527: Line 171:
 
== <tt>terrain_templates.pack</tt> ==
 
== <tt>terrain_templates.pack</tt> ==
 
509 [[Acronyms Abbreviations Shorthand|TGA]] files in <tt>battleterrain/templates/</tt>.
 
509 [[Acronyms Abbreviations Shorthand|TGA]] files in <tt>battleterrain/templates/</tt>.
 
+
See the [[ETW:terrain_templates.pack|<tt>terrain_templates.pack</tt>]] topic for details.
The file <tt>readme.txt</tt> describes the "warscape frame" terrain template system.
 
 
 
Sub-directories each contain 3 <tt>.tga</tt> template files (<tt>attribute</tt>,
 
<tt>deployment</tt>, and <tt>terrain</tt>) for various situations:
 
* <tt>ambush/</tt> -- <tt>default/</tt> and 6 variations (2-7)
 
* <tt>bridge/</tt> -- <tt>default/</tt> and 6 variations (02-07)
 
* <tt>fort_sally_out/</tt> -- <tt>default/</tt> and 12 variations
 
* <tt>fort_siege_relief/</tt> -- <tt>default/</tt> and 12 variations
 
* <tt>fort_standard/</tt> -- <tt>default/</tt> and 12 variations
 
* <tt>fortified_settlement_sally_out/</tt> -- <tt>default/</tt> and 13 variations
 
* <tt>fortified_settlement_siege_relief/</tt> -- <tt>default/</tt> and 13 variations
 
* <tt>fortified_settlement_standard/</tt> -- <tt>default/</tt> and 13 variations
 
* <tt>naval_blockade_breakout/</tt> -- <tt>default/</tt>
 
* <tt>naval_blockade_relief/</tt> -- <tt>default/</tt>
 
* <tt>naval_normal/</tt> -- <tt>default/</tt> and 11 variations (02-12)
 
* <tt>normal/</tt> -- <tt>default/</tt> and 17 variations (02-14, 2-5)
 
* <tt>region_slot_normal/</tt> -- <tt>default/</tt> and 13 variations
 
* <tt>unfortified_settlement_normal/</tt> -- <tt>default/</tt> and 11 variations (02-12)
 
* <tt>unfortified_settlement_sally_out/</tt> -- <tt>default/</tt> and 11 variations (02-12)
 
* <tt>unspecified/</tt> -- <tt>default/</tt> and 1 variation (02)
 
  
 
== <tt>testdata.pack</tt> ==
 
== <tt>testdata.pack</tt> ==
Line 579: Line 203:
 
17430 [[Acronyms Abbreviations Shorthand|TGA]] and compiled [[Acronyms Abbreviations Shorthand|LUA]] files in <tt>ui/</tt> for various User Interface elements.
 
17430 [[Acronyms Abbreviations Shorthand|TGA]] and compiled [[Acronyms Abbreviations Shorthand|LUA]] files in <tt>ui/</tt> for various User Interface elements.
  
The top-level directory contains compiled LUA code for:
+
'''This is the main file for the dynamics of the application.'''
* <tt>agents</tt>
+
See the [[ETW:ui.pack|<tt>ui.pack</tt>]] topic for details.
* <tt>army</tt>
 
* <tt>construction</tt>
 
* <tt>coreutils</tt>
 
* <tt>file_requesters</tt>
 
* <tt>horizontal_mousewheel_script</tt>
 
* <tt>huds</tt>
 
* <tt>labels</tt>
 
* <tt>optionsmanager</tt>
 
* <tt>panelmanager</tt>
 
* <tt>recruitment</tt>
 
* <tt>siegeequipment</tt>
 
* <tt>technology_common</tt>
 
* <tt>technology_researching</tt>
 
* <tt>technology_stealing</tt>
 
* <tt>theatre_map</tt>
 
* <tt>utilities</tt>
 
* <tt>vertical_mousewheel_script</tt>
 
 
 
Sub-directories contain TGA and LUA files for various things:
 
=== <tt>ui/achievements/</tt> ===
 
<tt>achievement_</tt>''name''<tt>.tga</tt> files for
 
<tt>all_techs</tt>,
 
<tt>assassinations</tt>,
 
<tt>complete_grand_campaign_{easy,medium,hard}</tt>,
 
<tt>complete_us_independence</tt>,
 
<tt>conquer_{america,europe,india}</tt>,
 
<tt>duels</tt>,
 
<tt>kill_{100k,500k,1m}</tt>,
 
<tt>missions</tt>,
 
<tt>mp_battles_played_{1,1_quick,1_ranked}</tt>,
 
<tt>mp_battles_won_10{_classic,_naval,_siege_att,_siege_def}</tt>,
 
<tt>mp_battles_won_50</tt>,
 
<tt>region_{1,10,100}</tt>,
 
<tt>ship_capture</tt>,
 
<tt>tech_theft</tt>,
 
<tt>threaten</tt>, and
 
<tt>treason</tt>.
 
 
 
=== <tt>ui/battle ui/</tt> ===
 
Compiled [[Acronyms Abbreviations Shorthand|LUA]] files for the tactical battle system.
 
 
 
=== <tt>ui/buildings/</tt> ===
 
[[Acronyms Abbreviations Shorthand|TGA]] files for each building and level.
 
Two sub-directories for each image type, <tt>icons/</tt> (small) and <tt>info</tt> (large).
 
 
 
=== <tt>ui/campaign ui/</tt> ===
 
Compiled [[Acronyms Abbreviations Shorthand|LUA]] files for the strategic (campaign map) system.
 
 
 
=== <tt>ui/common ui/</tt> ===
 
Compiled [[Acronyms Abbreviations Shorthand|LUA]] files common to both the tactical battle and  strategic (campaign map) systems.
 
 
 
The <tt>skins/</tt> sub-directory contains [[Acronyms Abbreviations Shorthand|TGA]] files for the advice panel and other common UI elements.
 
 
 
=== <tt>ui/eventicons/</tt> ===
 
[[Acronyms Abbreviations Shorthand|TGA]] files for the info droppings.
 
Campaign map:
 
<tt>army</tt>,
 
<tt>building</tt>,
 
<tt>character</tt>,
 
<tt>crown</tt>,
 
<tt>desaster</tt> [''sic''],
 
<tt>gravestone</tt>,
 
<tt>message_placeholder</tt>,
 
<tt>missions</tt>,
 
<tt>money</tt>,
 
<tt>navy</tt>,
 
<tt>news</tt>,
 
<tt>prestige</tt>,
 
<tt>rebellion</tt>, and
 
<tt>tech</tt>.
 
 
 
Battle map (all <tt>battle_</tt>):
 
<tt>building</tt>,
 
<tt>building_enemy</tt> (building captured),
 
<tt>death</tt>,
 
<tt>death_enemy</tt> (commanding general's death),
 
<tt>reinforcements</tt>,
 
<tt>reinforcements_delayed</tt> (start of battle),
 
<tt>routing</tt>, and
 
<tt>routing_enemy</tt> (unit routs off the field).
 
 
 
=== <tt>ui/eventpics/</tt> ===
 
[[Acronyms Abbreviations Shorthand|TGA]] files for each event.  Some file names appear to be typos ("exhibiotion2", "pre-battle-indina", "otoman", "surender").
 
 
 
Sub-directories for each major "culture group":
 
==== <tt>european/</tt> ====
 
Events from <tt>abolition2</tt> to <tt>war declaration</tt>.
 
 
 
==== <tt>indian/</tt> ====
 
Events from <tt>captured-indian</tt> to <tt>surrender-indian</tt>.
 
 
 
==== <tt>middle_east/</tt> ====
 
Events from <tt>admiral appointment-otoman</tt> [''sic''] to
 
<tt>terror -asian</tt> [including the space].
 
 
 
=== <tt>ui/flags/</tt> ===
 
Various size [[Acronyms Abbreviations Shorthand|TGA]] files for each country, and accompanying Windoze <tt>thumbs.db</tt> file, from <tt>afghanistan/</tt> to <tt>wurttemberg/</tt>.
 
 
 
=== <tt>ui/frontend ui/</tt> ===
 
Compiled [[Acronyms Abbreviations Shorthand|LUA]] files for the main menu and multi-player screeens.
 
 
 
=== <tt>ui/loading_screen_pictures/</tt> ===
 
Pairs of [[Acronyms Abbreviations Shorthand|TGA]] and [[Acronyms Abbreviations Shorthand|<tt>.dds</tt>]] files for the animations while the game is loading.
 
6 pairs are named simply <tt>1</tt> through <tt>6</tt>, while 3 pairs have the names
 
<tt>barcos_december</tt>, <tt>fireships_september</tt>, and <tt>mortars_september</tt>.
 
Presumably, the month names reflect when (in 2008) the asset files were delivered.
 
 
 
=== <tt>ui/portraits/</tt> ===
 
[[Acronyms Abbreviations Shorthand|TGA]] files for each person.
 
 
 
Sub-directories for each major "culture group" (<tt>european/</tt>, <tt>indian/</tt>, <tt>middle_east/</tt>, and <tt>tribal/</tt>), and each has two sub-directories for each image type, <tt>cards/</tt> (small) and <tt>info</tt> (large).  Each "culture group" further divides the files in these sub-directories by person "type", as appropriate:
 
<tt>admiral/</tt>,
 
<tt>assassin/</tt>,
 
<tt>brahmin/</tt>,
 
<tt>general/</tt>,
 
<tt>imam/</tt>,
 
<tt>king/</tt>,
 
<tt>minister/</tt>,
 
<tt>missionary_{catholic,orthodox,protestant}/</tt>,
 
<tt>queen/</tt>,
 
<tt>rake/</tt>, and
 
<tt>scholar/</tt>.
 
 
 
The <tt>custom/</tt> sub-directory contains files for <tt>george_washington</tt> and <tt>john_smith</tt>.
 
 
 
The <tt>ancillaries/</tt> sub-directory contains only the smaller files, from <tt>army_officer</tt> to <tt>youth</tt>.
 
 
 
=== <tt>ui/templates/</tt> ===
 
Compiled [[Acronyms Abbreviations Shorthand|LUA]] template files for various user interface elements, from <tt>battle_chat</tt> to <tt>vslider_handle</tt>.
 
 
 
=== <tt>ui/units/</tt> ===
 
[[Acronyms Abbreviations Shorthand|TGA]] files for each unit.
 
Two sub-directories for each image type, <tt>icons/</tt> (small) and <tt>info</tt> (large).
 
Individual units, by name, from <tt>12lb_field_cannon</tt> to <tt>xebec_mask</tt>.
 
 
 
=== <tt>ui/warscapetwin/</tt> ===
 
A pair of [[Acronyms Abbreviations Shorthand|TGA]] and [[Acronyms Abbreviations Shorthand|<tt>.dds</tt>]] files for <tt>gadgets</tt>.
 
7 <tt>.twin</tt> files, for <tt>movie_progress_bar</tt>,
 
<tt>save_movie</tt>,
 
<tt>take_screen_shot</tt>,
 
<tt>warscape_frame</tt>,
 
<tt>warscape_frame_floating</tt>,
 
<tt>warscape_frame_just_render</tt>, and
 
<tt>warscape_frame_side_borders</tt>.
 
  
 
== <tt>ui_movies.pack</tt> ==
 
== <tt>ui_movies.pack</tt> ==

Latest revision as of 10:28, 4 March 2011

At the heart of any game beats a spreadsheet (the cleverer ones hide this fact well). For complex games, there are several.

Thanks to the excellent Pack File Manager by LtChambers, we can now look at (many of) the data files for Empire: Total War.

When the Steam client caches the game on your system, it tucks the data files into %ProgramFiles%\Steam\SteamApps\common\empire total war\data, as a collection of .pack files. These are archives that contain other files, much like .zip or .cab files.

There are several .pack files: the following sub-sections contain a quick look at some of the interesting things revealed. Note that other interesting files, such as the ETW key bindings and ETW preferences, are kept elsewhere.

anim.pack

6335 files in animations/, from aaa_warscapeframe to test.

battlepresets.pack

103 files in battleterrain/presets/, from afghan_mountains to wooden_fort.

battleterrain.pack

1347 files in battleterrain/: blend_maps/, cliff_maps/, colour_maps/, detail_maps/, farm_templates/, forest_underlays/, grass/, groundcover_density_maps/, groundcover_distribution_maps/, rock_maps/, surfaces/, tiled_maps/, tiles/, and walls/.

boot.pack

Front End User Interface TGA, .fx, and .dds files for initial loading:

  • commontextures/
  • fx/
  • ui/

groupformations.pack

1 file: groupformations.bin.

local_en.pack

1362 Localization resources, in the "en" (English) locale:

  • advisor/
  • font/
  • text/

main.pack

663 files. This is the Big Kahuna, the key to most of the non-"eye candy" aspects of the game. As of version 1.11, the Pack File Manager does not decode all the contained files. But many that it can understand are quite useful.

See the main.pack topic for details.

Important: the files in patch.pack override the ones here.

models.pack

13,596 files. See the models.pack topic for details.

movies.pack

movies/ contains the .bik files, from eur_con_vic (European Conquest Victory) to sword_rvg_rk_01.

movies/audio/ contains localized audio from "actor_2," for countries ar, cz, du, fr, ge, hi, it, pe, pl, po, ru, sp, sw, tu, uk, and us.

patch.pack

3402 Files intended to replace those in the original distribution. As of the 30 Mar 09 patch, these include:

  • LUA script files for episodicscripting, events, export_advice, export_ancillaries, and export_triggers.
  • groupformations.bin
  • advisor/ .mp3 files
  • animations/
  • battleterrain/
  • buildings/
  • db/
  • fx/
  • indicators/
  • rigidmodels/
  • rti/
  • scenarios/
  • sea/
  • sfx/
  • sounds/
  • sounds_packed/
  • testdata/
  • text/
  • tutorialbattles/
  • ui/
  • unitmodels/

patch_en.pack

Patch data, localized for the "en" (English) locale.

seasurfaces.pack

The waves and cute lighting effects: wind_level_{0-4}_{sea,swell}.

sound_non_wavefile_data.pack

2 files in sounds_packed/: sound_bank_database and sound_events.

sounds.pack

73 files, sounds/ contains CSV files for movie_volumes and sound_categories (currently, only music or weather), and XML files sound_bank_ for ambient_battle_forest to unit_voice_events, and sound_settings.

sounds_animation_triggers.pack

2,602 .anim_sound_event files in animations/. See the sounds_animation_triggers.pack topic for details.

sounds_campaign.pack

273 WAV files in campaign/ for various campaign map sounds. See the sounds_campaign.pack topic for details.

sounds_music.pack

228 .mp3 files in music/ for various parts of the game. See the sounds_music.pack topic for details.

sounds_other.pack

25 WAV files, borrowed from M2:TW -

other/med ii/arrows/med2_arrow_flyby_{01-25}_gme.wav

sounds_placeholder.pack

1 file: placeholder/silent placeholder/empty.wav.

sounds_sfx.pack

3592 WAV files in sfx/ for various special effects noises.

See the sounds_sfx.pack topic for details.

subtitles.pack

120 subtitle text string files in movies/, in CSV format, for various .bik files, localized to 7 countries: cz, de, en, fr, it, po, and ru.

The Campaign files follow the naming convention {eur,ind,ott}_{con,mon,rep}_vic.bik_lc.csv, corresponding to the culture and Government type at victory.

The RTI files follow the naming convention rti_cs{1-6}_v0n_bink_sound.bik_lc.csv, where the "cs" number identifies each episode, the n is presumably a version id, and the lc is the country (locale) code.

supertexture.pack

2 files: world_.stpd and world_.stpi. Presumably, the 1st one contains data and the 2nd one contains index information to find the data.

terrain_templates.pack

509 TGA files in battleterrain/templates/. See the terrain_templates.pack topic for details.

testdata.pack

TGA, mesh and .dds files for animations/, buildings/, campaignflags/, clouds/, coastline/, diplomat/, euroline/, fence/, gun/, legs/, loki/, musketman/, overlays/, ranger/, splines/, terrain/, trees/, victory/, wakes/ and water/, and XML files for the world/.

Very important -- start here before modding!

ui.pack

17430 TGA and compiled LUA files in ui/ for various User Interface elements.

This is the main file for the dynamics of the application. See the ui.pack topic for details.

ui_movies.pack

1 file: movies/frontend.bik.

voices.pack

24,055 .mp3 files, for events from armies_generic_response (for each Government type) to unit_type_selection on the generals_unit, from 7 actors, localized to 17 countries: ar, cz, du, fr, ge, hi, it, pe, pl, po, ru, sp, sw, tu, uk, us, and us_trib).



--MikeV 7 April 2009