Difference between revisions of "ETW Data"

From Totalwar.org
Jump to: navigation, search
(<tt>sounds_placeholder.pack</tt>)
(<tt>sounds_sfx.pack</tt>)
Line 453: Line 453:
  
 
== <tt>sounds_sfx.pack</tt> ==
 
== <tt>sounds_sfx.pack</tt> ==
Special effects noises.
+
3592 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.
 +
 
 +
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> ==

Revision as of 19:51, 10 April 2009

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.

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, and ui.

groupformations.pack

1 file: groupformations.bin.

local_en.pack

1362 Localization resources, in the "en" (English) locale: advisor/, font/, and 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.

Contains LUA scripts for episodicscripting, events, export_advice, export_ancillaries, export_historic_characters, export_historic_events, export_missions, and export_triggers. The export_ed files all note they were exported from empire.mdb, an M$ Access database.

Sub-directories contain:

campaign/

TGA, mesh, and .dds files for clouds/, coastline/, and terrain/.

commontextures/

.dds files for battle_building_brdf to velvet.

customsprites/

.dds and TGA files for general_radar_pip to water_texture.

db/

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.

Buildings & their Effects

Factions & Groups

Units

Governments

Economics & Trade

Technology & Research

The "tech tree."

Historical Events & News

Traits & Ancillaries

The E:TW VnV system.

effects/

.xml files for campaignmap, landbattle, and navalbattle. textures/ contains .dds and TGA files for default_pfx_packed_normal to whispy_smoke_diffuse.

fx/

.fx files for battlefieldterrain to weather, and supporting (fragment) files.

heightmaps/

1 file: default.tga.

indicators/

.dds files for move_arrow_head_diffuse to target_arrow_tail_diffuse.

multiplayer/

2 files: filter.txt and region_qos.xml.

rti/

Files for the Road To Independence mini-campaign battles. rti_battles/ contains .xml and .battle_script files for rti_{boston,smith}_battle.

scenarios/

Files for the stand-alone scenario battles. Contains TGA, .battle_script, and/or .xml files for battle_of_{brandywine,cowpens,fontenoy,lagos,leuthen,porto_novo,rossbach}, mp_battle_of_{brandywine,porto_novo}, and shannon_vs_chesapeake

sea/

Contains TGA and .dds files for bow_wave to wake_distortion.

text/

2 files: credits.xml lists the ETW people, and default_keys.xml defines the default ETW key bindings.

tutorialbattles/

Contains .battle_script and .xml files for the land and naval battle tutorials.

(End of main.pack.)

models.pack

13,596 files.

artillery/

field_cannon/

buildings/

american_bridge_basic/ to western_fort_command_hq/.

db/

battle_groundcover_density_maps_tables/ to warscape_underlay_textures_tables/.

enginemodels/

ancient_field_24lb to rocket_large_lod{1-4}.animatable_rigid_model. Sub-directories congreve/, destruction/ (includes animations), and textures/ (.dds files).

rigidmodels/

3dindicators/ to waypointmarkers/.

ships/

1deck24/ to fsteam_frigate/.

unitmodels/

african_slaver_musketeers to wild_geese_lod{1-4}.variant_weighted_mesh. Sub-directories for mounts (camel/, elephant/, and horse/), campaignpieces/ ({east,euro}_campaign_{admiralship,ship}_weighted_model.variant_weighted_mesh), and textures/ (.dds files).

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/:

animals/

camel/, elephant/, and horse/.

horse_matched/

matched_combat/

draw/, finish/, kill/, and parry/.

men/

archer/, artillery/, axe/, camel_rider/, campaign/ agents, captain/, elephant_rider/, flag_bearer/, horse_rider/, musician/, musket/, pike/, sabre/, and sword_shield/.

sounds_campaign.pack

273 WAV files for various campaign map sounds, all following the naming convention emp_extnnn_name_v1.00_gme.wav. Presumably, the nnn_name strings correspond to event ids, and the version string v1.00 will be incremented in the future.

campaign/interface/

events/ sub-directory contains files for 150_abolition2 to 214_wardeclaration, emp_hyb_flood_campaignevent, and emp_lib_event files for exhibition, funeral, hurricane, industry2, island, plague, religion, and steam.

hud/ sub-directory contains 147_campaign_eventarrive, 148_eventscroll, and 149_campaign_eventdisregard.

campaign/map/

building_ambiences/ sub-directory contains ambient sounds for different environments:

building_ambiences/cities/ sub-directory contains 001_city_regioncapitalnortherneurope_01 to 005_city_regioncapitalnorthamericanindian_03

building_ambiences/towns/ sub-directory contains 011_towns_manufacturingcraftworkshop_01 to 060_towns_smallfishingarea_03

building_ambiences/towns/internal/ sub-directory contains 026_towns_militaryhospital_01 to 053_towns_villagehall_03

building_ambiences/villages/ sub-directory contains 006_village_regionvillagenortherneurope_01 to 010_village_regionvillagenorthamericanindian_03

environment/ sub-directory contains emp_lib_campaign_jungleambience_01 to emp_lib_campaign_woodlandambience_04

sounds_music.pack

228 .mp3 files in music/ for various parts of the game, generally (except those in fieldmusicians/) following the naming convention musnnn_name_{midi,orc,orc_[loop]}.mp3. Presumably, the nnn_name strings correspond to event ids.

music/campaign/

Contains MIDI files for 022_endturn_western, 023_endturn_ottoman, and 024_endturn_indian.

Sub-directories contain musnnn_name_v1.00.mp3 files:

american/ sub-directory contains 090_america_guitar_{1-8}

european/ sub-directory contains 088_europe_irishpipes_1 to 091_europe_guitar_8.

indian/ sub-directory contains 035_india_bansuri_1 to 038_india_rabab_8.

ottoman/ sub-directory contains 030_arabic_duduk_1 to 038_arabic_lauto_7.

tribal/ sub-directory contains 025_tribal_anasahi_1 to 028_tribal_ocarina_5.

music/fieldmusicians/

Contains WAV files, with naming convention either cus_cornet_name_v1.00_mxd.wav or emp_cus_snare_name_v1.00_gme.wav.

The cornet (bugle) and snare (drum) sounds are each charge_01 to run_04.

music/frontend/

2 files: mus015_empire_theme_orc.mp3 and mus092_credits_orc.mp3.

music/land/

The musnnn_name_midi.mp3 files are: 044_deployment_tribal, 053_deployment_tribal, 054_deployment_tribal, 056_deployment_ottoman, 057_deployment_ottoman, 059_deployment_indian, 060_deployment_indian, 063_deployment_indian, and 066_deployment_ottoman.

musnnn_name_orc.mp3 files are: 049_deployment_western, 050_deployment_western, and 051_deployment_western.

musnnn_name_orc_[loop].mp3 files are: 045_battle_tribal, 047_battle_tribal, 048_battle_western, 058_battle_western, 061_battle_western, 065_battle_tribal, 067_battle_ottoman, 068_battle_ottoman, 069_battle_ottoman, 070_battle_indian, 071_battle_indian, and 072_battle_indian.

music/loadscreens/

6 WAV files, emp_hyb_ambience_loadingscreen{1-6}_v1.00_gme.wav.

music/looptest/

1 file: mus046_battle_pirates_orc_[loop].mp3.

music/naval/

3 mus0{40-42}_deployment_naval_orc.mp3 files.

6 battle mus0nnbattle_{naval,pirates}_orc_[loop].mp3</tt> files: 043, 052, 055, and 064 are naval, 046 and 062 are pirates.

music/prebattle/

6 pre-battle mus0nnprebattle_faction_midi_[loop].mp3 files: 016 (indian), 017 (western), 018 (tribal), 019 (ottoman), 019 (ottoman editied), and 020 (naval).

music/results/

5 mus0nnresults_faction_midi_[loop].mp3 files: 073 (indian), 074 (western), 075 (tribal), 076 (ottoman), and 077 (naval).

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, generally following the naming convention emp_{cus,hyb,lib}_name_v1.00_gme.wav.

sfx/ambiences/

6 files emp_cus_ambience_lakelapping. 5 files emp_hyb_ambience_loadingscreen. 10 files emp_lib_ambience_areacountryside_0{1,2}, for american, european (winter), europeansummer, middleeastern, and northafrican. 6 files emp_lib_ambience_riversidevarious. 2 files emp_lib_ambience_tropical. 4 files lib_atmos_cricketchirps

sfx/animal vocalisations/

Sub-directories for each mount type (camel/, elephant/, and horse/). The 1st two have 10 files for emp_lib_mount_idling and 8 files for emp_lib_mount_injured. Horses have 11 snortgrunt and 9 whinnies files.

sfx/elements/

Sub-directories for fire/, thunder/<tt>, <tt>water/, and wind/ contain various _gme.wav files.

sfx/hud/

Sub-directory campaign/ contains _gme.wav files for info droppings, clicks and buttons.

Sub-directory front_end/ contains _gme.wav files tab mouseovers and selections, and other click and button press sounds.

sfx/land/

Sub-directories for birds/, buildinginstructions/<tt>, <tt>idletroops/, and wildlife/ contain various _gme.wav files.

sfx/movement/

Sub-directories for {animal,human}_falls/, {animal,human}_foley/<tt>, <tt>{anumal,human}_footsteps/, cannons_carriages/ combat/ grappling_hook/, and groupmovement/ contain various _gme.wav files.

sfx/ocean/

19 emp_lib_seagull_seagullsounds _gme.wav files.

Sub-directories for flags/, sails/, and ships/.

sfx/weapons/

Sub-directories for airgun/ to tomahawk/ contain various _gme.wav files. The various hit and stab sounds vary by what they hit (shield, sword, flesh, etc).

subtitles.pack

Localized subtitle text strings, in CSV format, for various .bik files.

supertexture.pack

terrain_templates.pack

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

User Interface elements.

ui_movies.pack

Gentlemen shooting themselves in the face, etc.

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