M2TW Mobile File Structure (Android) - Data Folders
From TWC Wiki
For the rest of the file structure see M2TW Mobile File Structure (Android)
For folders within data see M2TW Mobile File Structure (Android) - Data Files
Unpacked with the unpacker and parsing tool in anton1111's toolkit the file contents of the main 'data' folder inside the obb packs were as detailed below. The information is provided for reference only to indicate the format and content that could be included in modded DLCs. Attempting to modify and repack the .obb is not recommended.
Differences to PC version are highlighted in bold. You may not have to exactly replicate the size and file formats used, but it would be safest to assume you should!
Compressed .texture files have the .texture header wrapper as for the PC version but contain AS88 compressed mips with a DDS header.
NB: This page is WIP - unless the folder says as per PC version it hasn't been checked yet
obb packs
folders in data
animations
As per PC version:
- Engine folder containing .cas and .evt files.
- pack.dat, pack.idx, skeletons.dat, skeletons.idx
armies
Not present in PC version contains .cax files which appear to be .xml files for each faction giving unit selections for a custom army.
banners
.tga.dds files AS88 not DXT
- /textures - .texture files compressed
battlefield
All sub-folders - .texture files compressed
blockset
Folders containing building animations as per PC version.
- /textures and sub-folders - .texture files compressed
cameras
As per PC version: .cam files and .xml group file
cursors
As per PC version: .ani and .cur files
editor
As per PC version: .tga brush files
fmv
Videos in .webm format not .bik Folders =
- /assassinate
- /fmv_timings
- /generic
- /infiltrate
- /menu
- /sabotage
Not present from PC /event and /faction - these are now in localised sections.
Not present from PC demo_mtw3_camppaign.bik and logos.bik
fonts
These fonts are in .ttf format - see descr_font_db.txt for file adaption required for useage.
globallighting
.lighting files as per PC
Main and sub-folders - .texture files compressed
graphics
graphics_config.xml file - as per PC
loading screen
- loading_bar.tga - size increased to 1024 x 1024
- loading_logo.tga - size increased to 1024 x 1024
- loading_screen_*.astc files - not .tga files - size increased to 2048 x 1536 - saved as ASTC 8x8
- /symbols - folder contains symbol128_factionname.tga files as per PC (query if used?)
Files in /menu are substantially different from PC version. .LNT files are not included. The menu components are generally saved as .astc files and have names starting feral_*. Splash screens appear to be language dependent, with 1920 x 1080 ASTC 8x8 files, named as feral_splash_android_en.astc and feral_splash_android_it.astc etc, the change being the language used for the copyright notice.
- /battlefield_pics - contains .astc files not .tga - size adjusted to 464 x 112 - saved as ASTC 8x8
- /symbols - the sub-folder contents were .tga files in PC version
- /fe_buttons_24 - size increased to 128 x 168 - saved as ASTC 8x8
- /fe_buttons_48 - size increased to 240 x 240 - saved as ASTC 8x8
- /fe_faction_units - variety of sizes - saved as ASTC 8x8 -(query if used?)
- /fe_flags - contains flag_red_i to flag_red_viii only - size increased to 112 x 152 - saved as ASTC 8x8
- /fe_symbols_80 - size increased to 360 x 360 - saved as ASTC 8x8
- /textures - folder in PC version not present on mobile
models
.cas and .mesh files as per PC version - .texture files compressed
- /textures - folder contains .tga files as PC version -(query if used?), and cannon_ball and dead_cow .textures - .texture files compressed
models_effects
.cas files as PC version
- /textures - .texture files compressed
models_engine
- /textures - as per PC only content siege_torch.texture - .texture files compressed
models_landscape
Contents as per PC but .tga files in /textures folder compressed as FZIP
models_missile
Contents as per PC including .tga files in /textures remain as .tga
models_strat
.cas files as per PC, but note for modded files there is a hard-coded limit on the number of meshes inside a character .cas for use on mobile.
- /textures and inside /residences/textures folders - .tga.dds files AS88 not DXT
models_terrain_blocks
.cas files for cliffs on battle-map as per PC version
new_vegetation
- /grass - /climate sub-folders - .texture files compressed
overlaytextures
.texture files compressed
scripts
.txt script files, as per PC version
settlements
Settlement .world and associated files naming and folder structure as per PC version, but .world and other binary files are compressed as FZIP.
Where present in /overlays folders .texture files compressed
shaders
.vsh files in /new folder, as per PC version.
siege_engines
Contains all components of siege engines, folders and contents as per PC version, except:
- /textures - .texture files compressed
sounds
Contains
- events.dat
- events.idx
- music.dat
- music.idx
- sfx.dat
- sfx.idx
- /effect_evt - .evt files for effects
voice*.dat and voice*.idx files not present - these are moved to localised sections
terrain
Folder structure as per PC version all within /aerial_map:
Folders where .tga files remain as .tga
- /bases /sub-folders
- /ground_types
- /template_weights
- /tile_models
In /aerial_map and the following folders all images are compressed not .tga and the .tga.dds are AS88 not DXT
- /bridges /textures
- /fog_of_war
- /indicators
- /roads /sub-folders
- /sea
- /ships
- /special /sub-folders
- /tile_textures
- /tree_models /textures - (/min_spec /textures remain as .tga)
- /wagons /textures
text
Contains only filter.san and filter.san.chk - .strings.bin files moved to localised sections
textures
As per PC version, files remain as .tga
tools
As per PC version, contains /viewer folder with grass.texture .texture files compressed
ui
.sd.xml files are included as well as the .sd files, the .sd files are the same as PC versions.
- /ancillaries - remain as .tga - size increased to 96 x 120 and black alpha channel added
- /captain_banners - size increased to 136 x 192 - saved as ASTC 8x8
- /cursors - remain as tga
- /custom_portraits - size increased to 136 x 192 - saved as ASTC 8x8
- /faction_symbols - size increased to 216 x 216 - saved as ASTC 8x8
- /generic - remain as tga
- /icons - remain as tga
- /indicators - remain as tga
- /pips - most pips size increased to 136 x 192 - saved as ASTC 8x8
- pip_blockaded, pip_farming_level, pip_food_imports, pip_placeholder, pip_tax_rate_bonus, pip_tax_rate_penalty, pip_underpopulation - size remains 16 x 16 saved as ASTC 4x4
- /resources - remain as tga, but for many size increased to 64 x 64
- /unit_info /faction_folders - size increased to 384 x 560 - saved as ASTC 8x8
- /units /faction_folders
- ship units - size increased to 384 x 512 - saved as ASTC 8x8
- land units & agents - size increased to 192 x 256 - saved as ASTC 8x8
- /southern_european & other culture folders
- /buildings
- culture_building_name files - size increased to 224 x 176 - saved as ASTC 8x8
- culture_building_name_constructed files - size increased to 600 x 496 - saved as ASTC 8x8
- /construction sub-folder not present
- /cities - size increased to 224 x 176 - saved as ASTC 8x8
- /eventpics - size increased to 1024 x 400 - saved as ASTC 8x8
- /interface - now includes more files, mainly 1024 x 1024 in ASTC 8x8 format - battlepage_1.astc is NOT the same layout as PC version battlepage_01.tga - you can not do a direct conversion of PC files to mobile version
- /portraits - same folder structure as PC version - size increased to 136 x 192 - saved as ASTC 8x8
- loose files in culture folder: #fort and #watchtower - size increased to 480 x 384 - saved as ASTC 8x8, advisor_battlemap and advisor_stratmap - size increased to 208 x 296 - saved as ASTC 8x8
- /buildings
unit_models
Same folder structure and .mesh files as PC version. .texture files compressed
unit_sprites
Same .spr as PC version. .texture files compressed
vegetation
Same folder structure, .vege_models and .vege_sprites as PC version .texture files compressed
world
Within /maps folder:
- /base - same as PC except map_fe is resized to 384 x 272 and saved as ASTC 8x8
- /battle
- /custom - MP maps not present
- /norman_prologue / battle_of_hastings - loading_screen resized to 1792 x 828 saved as ASTC 8x8
- /campaign
- /imperial_campaign -
- vc_factionname and vcs_factionname files resized to 224 x 160 saved as ASTC 8x8
- map_factionname files resized to 384 x 272 saved as ASTC 8x8
- feral_descr_events_hotseat.txt - additional file - dates differ from descr_events.txt version
- map_fe.psd - additional file - Photoshop file with layers for each of the faction's starting positions - suspect this got included by mistake!
- /custom - folder not present
- /imperial_campaign -
- /custom - snapshot_custom files in sub-folders resized to 472 x 120 saved as ASTC 8x8
