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) - Data Files

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 Folders


Loose files in obb packs /data

Unpacked with the unpacker and parsing tool in anton1111's toolkit the loose 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.

Files are only listed where they differ from the PC version:

descr_cursor_actions.txt

Mobile version has detail added to the selected settlement sections.

descr_event_images.txt

Mobile version has substantial differences involving; number of heading_items, font sizes and spacers, footer_items seem to have been removed.

descr_feral_labels.txt

Not present in PC version
Has label sections for settlements, generals and agents. Examples shown below

;------------------------------------------
Label Settlement                                    ; Dread General in Dread Settlement
Short Medieval2.InGame.Label_Settlement_Dread_Title
Detailed Medieval2.InGame.Label_Settlement_Dread_Desc
Colour green

Conditions FeralSettlementIsTraining (spy,)
;------------------------------------------
Label Agent
Short Medieval2.InGame.Label_Priest_Dogmatic_Title
Detailed Medieval2.InGame.Label_Priest_Dogmatic_Desc
Colour green

Conditions AgentType = priest
    and EndedInSettlement
    and GovernorBuildingExists >= cathedral ; Governor variant to access the settlement via a character.


descr_font_db.txt

There are also descr_font_db_cs.txt and descr_font_db_ru.txt versions of this file.

Feral have included comments:

;; FERAL - MJN 22-Jul-2021 - Add support for TrueType fonts.
;;
;; Various bits of information specified in the CUF font header have been moved
;; here. Some notes:
;;
;;   - Unlike previously "size" now specifies the height of the font's EM square
;;     in pixels (ppem) as you'd expect.
;;   - "vertical_adjust" can be used to offset the text up or down.
;;   - "hinting" controls FreeType hinting. "on" is the default, "off" disables
;;     all hinting, "auto" forces the autohinter over the native hinter.


An example of the content is shown below:

font verdana_med
{
	file			kingthingspetrocklight.ttf
	size			27
	line_height		24
	ascender		18
	;; Hinting can result in some odd vertical positioning.
	hinting			off
}

font feral_verdana_menu
{
	file			kingthingspetrocklight.ttf
	size			27
	line_height		23
	ascender		18
	descender		-5
}


descr_lbc_db.txt

This file was a hang-over from RTW - it controlled the peasants seen ambling around settlements when viewed from the campaign map 'view settlement' option.

M2TW mobile version has re-instated the 'view settlement' option, so this file has been updated to refer to M2TW battle models

export_descr_advice.txt

Multiple changes. All AdviceThreads have been given a Category line. Some threads are commented out and some threads/triggers added to suit mobile use.

export_descr_advice_enums.txt

Additional threads from the above added to list.

export_descr_ancillaries.txt

Multiple small changes around possibly offensive ancillary naming.

export_descr_buildings.txt

  • trade_fleet capabilities changed
  • 'science' capability added to academic tree buildings
  • gunpowder event requirement removed from alchemists_lab
  • England have same Merchant Cavalry Militia experience level as other factions

export_descr_character_traits.txt

Multiple small changes around possibly offensive trait and level naming.

export_descr_guilds.txt

Trigger removed - Condition SettlementBuildingFinished = alchemists_lab

export_descr_prologue.txt

Multiple changes similar to export_descr_advice.txt changes

export_descr_unit.txt

Most units given feral weapon name lines below entry, e.g.

type             Elephant Rocketeer
.
.
.
ownership        slave
;unit_info        10, 63, 23
feral_pri_weapon_name Medieval2.InGame.Unit_Weapon_RocketLauncher
feral_sec_weapon_name Medieval2.InGame.Unit_Weapon_Elephant


export_unit_rebalancing.txt

NEW FILE - comments included are

;
; Medieval 2 Total War Unit Rebalancing Details
;
 
;Data entries are as follows
;
; unit_id                The tag used to identify the specific unit (this has to correspond to a unit tag in the `dictionary` entry in the `export_descr_unit.txt` file)
; cohesion_enabled       A flag to enable/disable cohesion for this unit (if not specified in-game value will default to false, hence disable cohesion for this unit)
; cohesion_base          The percentage base cohesion value for this unit
; cohesion_disrupt       The percentage cohesion disruption caused to enemy unit when attacked by this type of unit (this value will be subtracted to the cohesion of the attacked unit)
; walking_speed_mod      This attribute add a walking speed modifier to all the normal pikemen units which will mimic the speed of halberd units. This is multiplied by the speed multiplier so setting this < 1.0 slows down the unit while > 1.0 speeds it up
; aggressive_pikemen     Aggressive pikemen walking speed is not nerfed by the walking_speed_mod, also it will default guard mode to false
; halberd                This attribute identifies units holding halberd as primary weapon
; start_guard_mode       This attribute identifies units that should start with guard mode active (aggressive_pikemen should not have this)
; efficient_carrier      This attribute adds to the number of siege equipment and characters an army can carry without incurring penalties


Examples are given below:

unit_id           Heavy_Pike_Militia
cohesion_enabled  1
cohesion_base     36
walking_speed_mod 0.7
start_guard_mode

unit_id           Swiss_Pikemen
cohesion_enabled  1
cohesion_base     50
aggressive_pikemen

; Cohesion Disruptions

unit_id           Mutatawwi'a
cohesion_disrupt  15


feral_descr_character_hotseat.txt

Not present in PC version
Princess, merchant and diplomat have higher starting_action_points than in descr_character.txt

feral_descr_projectile.txt

Not present in PC version
Comments explain

; FERAL BALANCE CHANGES
; 
; ribault_shot		Added: 		body_piercing
;
; monster_ribault_shot	Added:		body_piercing
;			Changed: 	damage_to_troops 5 -> 10


feral_descr_unit.txt

Not present in PC version Similar to export_descr_unit.txt with changes to stat_sec (removed) on pike units.

The additional feral weapon line

     feral_sec_weapon_name Medieval2.InGame.Unit_Weapon_ArmingSword

seems to have been removed for all units

feral_export_descr_buildings.txt

Not present in PC version
Only change from export_descr_buildings.txt is that tourney_fields has

    free_upkeep_hev_cav bonus 1

instead of just free_upkeep bonus 1 - the 'free_upkeep_hev_cav' part seems to be a new capability.

feral_export_descr_buildings_hotseat.txt

Not present in PC version
Many construction times and costs are lower than in export_descr_buildings.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.