Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.
 Actions

M2TW Mobile File Structure (Android)

From TWC Wiki

File structure with notes about format types, for an M2TW installation on Android including the Kindoms DLCs.

All the accessible files are within one of these main Android folders:

device/Internal storage/Android/data/com.feralinteractive.medieval2_android/
device/Internal storage/Android/obb/com.feralinteractive.medieval2_android/

The folder name 'data' can come up multiple times on the file paths so it is important to remember which 'data' folder you are looking at.

Localized.pack files are extracted (and created) by the PACK tool XIDX for dat/idx files.


Android/data files

The content for the DLCs are all located in:

device/Internal storage/Android/data/com.feralinteractive.medieval2_android/files/feral_app_support/RemoteResources/Data

which contains /localised and /mods folders.

localised

Contains folders for the following language options:

  • /cs
  • /de
  • /en
  • /es
  • /fr
  • /hu
  • /it
  • /pl
  • /ru

Taking en (english) as an example the contents are

  • /en
    • /americas
      • /data
        • movies and sounds .xml files, sounds .txt files
        • /sounds / voice.dat and voice.idx
      • /packs
        • localized.pack - when upacked with xidx the pack contains:
          • /mods/americas/data/menu/splash.tga
          • /mods/americas/data/text - .txt.strings.bin files as PC version and credits and factionintrosubtitles.txt files
    • /british_isles - contents as above but with british_isles in packed paths
    • /crusades - contents as above but with crusades in packed paths
    • /teutonic - contents as above but with teutonic in packed paths

Example full path:

device/Internal storage/Android/data/com.feralinteractive.medieval2_android/files/feral_app_support/RemoteResources/Data/localised/en/crusades/data/sounds/voice.idx

mods

This contains the contents required for each of the DLCs, the content is not packed. The structure is very similar to that found in the PC version if you have unpacked the game files on PC.

There are folders for

  • /americas
  • /british_isles
  • /crusades
  • /teutonic

each of which contains a /data folder

The contents of each mods/DLCname/data folder are similar to the content that can be extracted from the obb main game files. As with the PC versions, only files that are different from the main game files need to be included.

Example full path:

device/Internal storage/Android/data/com.feralinteractive.medieval2_android/files/feral_app_support/RemoteResources/Data/mods/teutonic/data/ui/pips/pip_ireland.astc

At time of writing there is no known way of adding an additional folder for a user made mod and having it used by the game. The only way to add a mod is by replacing one of the DLCs and using its menu button to launch the game.


Android/obb files

These are packs containing most of the base game files and a small part of the DLC content, they are located at:

     device/Internal storage/Android/obb/com.feralinteractive.medieval2_android/

named with a number which can change with version:

  • main.*****.com.feralinteractive.medieval2_android.obb
  • patch.*****.com.feralinteractive.medieval2_android.obb

The inclusion of the DLC export_descr_unit.txt means modders currently have to modify the main.obb file by hex editing the reference to that file, changing one letter of the name so it is not found.

Unpacked with anton1111's unpacker and parsing tool the file contents are 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.

data

This is similar to the PC version of the game, but with some additions and file format differences.

See M2TW Mobile File Structure (Android) - Data Folders for details of folder content.

See M2TW Mobile File Structure (Android) - Data Files for details of loose file content.

feral

This contains the pre game menu, notes and help contents.

localised

This is the section that provides different content depending on your language choice. It contains folders for:

  • cs
  • de
  • en
  • es
  • fr
  • hu
  • it
  • pl
  • ru

Each folder contains

  • data
    • fmv
      • event / contains videos in .webm format
      • faction / contains videos in .webm format (faction_win/lose)
  • mods
    • americas / data / export_descr_unit.txt
    • british_isles / data / export_descr_unit.txt
    • crusades / data / export_descr_unit.txt
    • teutonic / data / export_descr_unit.txt
  • packs
    • localized.pack - when unpacked using xidx this contains:
      • data
        • fonts / fonts in .cuf format
        • text / strings.bin files (as PC version) and .txt files: audiotest_regions_and_settlement_names.txt, credits.txt, date_format.txt, descr_shortcuts.txt, factionintrosubtiltes.txt, norman_prologue_regions_and_settlement_names.txt

mods

Contains folders for the DLCs:

  • /americas
  • /british_isles
  • /crusades
  • /teutonic

Each of those contains

  • /data
    • export_unit_rebalancing.txt
    • feral_descr_character_hotseat.txt
    • feral_export_descr_buildings_hotseat.txt
    • packagedb.txt
YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.


Cookies help us deliver our services. By using our services, you agree to our use of cookies.