The Guild  

Go Back   The Guild > Medieval 2 Totalwar > M2TW modification > Learn to Mod > Modding Tutorials & Tools
Register Lost Password Site Tools Mark Forums Read

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Reply
 
Thread Tools Display Modes
Old 12-04-2006, 21:13   #1
Epistolary Richard
Just driving-by
Senior Member
 
Epistolary Richard's Avatar
 
Join Date: Nov 2004
Posts: 4,380

Awards Showcase
Editor HoF2004/2005 
Total Awards: 2

Default M2TW data text files

Caliban from CA Oz has sent me the following data files to release:
(go Caliban! )

- The best way to use these files are to set up a mod folder using the mod switch.

- Find info as to how these files work can be found here.

From the data folder - download HERE
config_ai_battle.xml
custom_locations.txt
descr_campaign_db_ai.xml
descr_campaign_db.xml
descr_character.txt
descr_climates.txt
descr_cultures.txt
descr_faction_standings.txt
descr_formations.txt
descr_formations_ai.txt
descr_missions.txt
descr_models_strat.txt
descr_names.txt
descr_names_lookup.txt
descr_rebel_factions.txt
descr_religions.txt
descr_religions_lookup.txt
descr_settlement_mechanics.xml
descr_ship.txt
descr_skeleton.txt
descr_sm_factions.txt
descr_sm_resources.txt
export_descr_advice.txt
export_descr_ancillaries.txt
export_descr_buildings.txt
export_descr_character_traits.txt
export_descr_guilds.txt
export_descr_unit.txt
weather_db.xml


From the text folder - download HERE
NB - Remember, these need to go in a text folder in the data folder.
campaign_descriptions.txt
expanded.txt
export_advice.txt
export_ancillaries.txt
export_buildings.txt
export_units.txt
export_VnVs.txt
imperial_campaign_regions_and_settlement_names.txt
names.txt
rebel_faction_descr.txt
shared.txt
strat.txt

________________

TWC DOWNLOAD MIRROR


BTW before you ask 'Where's the descr_model_battle.txt file?' - I tell you now - there is no dmb file used in the game.
__________________
Epistolary Richard's modding Rules of Cool
Cool modders make their mods with the :mod command line switch
If they don't, then Cool mod-users use the Mod Enabler (JSGME)
Cool modders use show_err
Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

Last edited by Epistolary Richard; 12-10-2006 at 13:47.
Epistolary Richard is offline   Reply With Quote To the Top
Old 12-04-2006, 21:25   #2
Lusted
blaaaaaaaaaarg!
Senior Member
 
Lusted's Avatar
 
Join Date: Feb 2005
Posts: 1,771

Awards Showcase
HoF2007 
Total Awards: 1

Default Re: M2TW data text files

Thanks ER. The .xml files in particular look very interesting.
__________________
Creator of:
Lands to Conquer Gold for Medieval II: Kingdoms
Lusted is offline   Reply With Quote To the Top
Old 12-04-2006, 21:37   #3
alpaca
Harbinger of... saliva
Assistant Moderator
 
alpaca's Avatar
 
Join Date: Aug 2003
Location: Germany
Posts: 2,764

Awards Showcase
HoF2007 HoF2006 Editor 
Total Awards: 3

Default Re: M2TW data text files

Thanks Caliban. But I thought the game wouldn't work with unpacked files which is one of the reasons for the patch?
So using a mod folder might be useless :P

Last edited by alpaca; 12-04-2006 at 21:39.
alpaca is offline   Reply With Quote To the Top
Old 12-04-2006, 21:39   #4
Maculio
Member
Member
 
Maculio's Avatar
 
Join Date: Nov 2006
Location: Ireland
Posts: 45
Default Re: M2TW data text files

well, these files rock neway :P
__________________
Leader of The Machiavellian Syndicate - A open community for modders and fans to talk about Total War and Oblivion.
Maculio is offline   Reply With Quote To the Top
Old 12-04-2006, 21:40   #5
Epistolary Richard
Just driving-by
Senior Member
 
Epistolary Richard's Avatar
 
Join Date: Nov 2004
Posts: 4,380

Awards Showcase
Editor HoF2004/2005 
Total Awards: 2

Default Re: M2TW data text files

Quote:
Originally Posted by alpaca
Thanks Caliban. But I thought the game wouldn't work with unpacked files which is one of the reasons for the patch?
So using a mod folder might be useless :P
I believe it is the unpacker which won't work properly without the patch - I used some of the files myself in Brisbane to change the game.
Epistolary Richard is offline   Reply With Quote To the Top
Old 12-04-2006, 21:45   #6
Sinuhet
Member
Member
 
Sinuhet's Avatar
 
Join Date: Aug 2006
Posts: 22
Default Re: M2TW data text files

Fantastic!!!! I will not go sleep today maybe ..... Thanks a lot. This is almost all what I have want from CA ....
Sinuhet is offline   Reply With Quote To the Top
Old 12-04-2006, 21:52   #7
Shadow_Wolf33
Member
Member
 
Shadow_Wolf33's Avatar
 
Join Date: Jul 2003
Posts: 111
Default Re: M2TW data text files

was hoping for the projectiles file, but this'll be a good start for now!
__________________
Give a man fire and he'll be warm for a day. #Set a man on fire and he'll be warm for the rest of his life.
Shadow_Wolf33 is offline   Reply With Quote To the Top
Old 12-04-2006, 22:01   #8
GiantMonkeyMan
Assistant Mod Mod
Assistant Moderator
 
GiantMonkeyMan's Avatar
 
Join Date: May 2005
Location: plymouth - scrubbing Beirut's toilet with a cat...
Posts: 885
Default Re: M2TW data text files

cheers ER... its good to be researching this kinda stuff again and cool that you aren't completely gone
GiantMonkeyMan is offline   Reply With Quote To the Top
Old 12-04-2006, 22:02   #9
Throumbaris
Member
Member
 
Throumbaris's Avatar
 
Join Date: Nov 2006
Posts: 50
Default Re: M2TW data text files

Heck yes! No sleep tonight!
Throumbaris is offline   Reply With Quote To the Top
Old 12-04-2006, 22:06   #10
SigniferOne
Legatus
Member
 
SigniferOne's Avatar
 
Join Date: Oct 2004
Posts: 550
Default Re: M2TW data text files

CA rock!! ER, please be sure to tell them that.
SigniferOne is offline   Reply With Quote To the Top
Old 12-04-2006, 22:07   #11
redmark
Member
Member
 
redmark's Avatar
 
Join Date: Dec 2006
Posts: 37
Default Re: M2TW data text files

Quote:
Originally Posted by Epistolary Richard
I believe it is the unpacker which won't work properly without the patch - I used some of the files myself in Brisbane to change the game.
I've made a couple of simple changes to the EDB and EDU, which aren't showing in a new campaign. Perhaps it does require the patch... something to play with in the meantime, though.
redmark is offline   Reply With Quote To the Top
Old 12-04-2006, 22:16   #12
Lusted
blaaaaaaaaaarg!
Senior Member
 
Lusted's Avatar
 
Join Date: Feb 2005
Posts: 1,771

Awards Showcase
HoF2007 
Total Awards: 1

Default Re: M2TW data text files

I think you need to use the mod switch(link in ERs first post) to get them to work.
__________________
Creator of:
Lands to Conquer Gold for Medieval II: Kingdoms
Lusted is offline   Reply With Quote To the Top
Old 12-04-2006, 22:27   #13
redmark
Member
Member
 
redmark's Avatar
 
Join Date: Dec 2006
Posts: 37
Default Re: M2TW data text files

Ah, thanks - that works. I was being lazy and thought "best" meant "ideally...".

Lost the loading screens, but I'll live. :)
redmark is offline   Reply With Quote To the Top
Old 12-04-2006, 22:32   #14
alpaca
Harbinger of... saliva
Assistant Moderator
 
alpaca's Avatar
 
Join Date: Aug 2003
Location: Germany
Posts: 2,764

Awards Showcase
HoF2007 HoF2006 Editor 
Total Awards: 3

Default Re: M2TW data text files

Guys, a short reminder. Please post any not-yet-finalized research in the research wiki section and not anywhere else. Thank you

Last edited by alpaca; 12-04-2006 at 22:35.
alpaca is offline   Reply With Quote To the Top
Old 12-04-2006, 22:32   #15
Epistolary Richard
Just driving-by
Senior Member
 
Epistolary Richard's Avatar
 
Join Date: Nov 2004
Posts: 4,380

Awards Showcase
Editor HoF2004/2005 
Total Awards: 2

Default Re: M2TW data text files

I believe there is another way of using them in your main data folder, but I can't recall it at the moment, which is why I said best...
Epistolary Richard is offline   Reply With Quote To the Top
Old 12-04-2006, 22:34   #16
Throumbaris
Member
Member
 
Throumbaris's Avatar
 
Join Date: Nov 2006
Posts: 50
Default Re: M2TW data text files

Using the mod switch there is no campaign or any sort of sound or music, do i need to copy over all the data?
Throumbaris is offline   Reply With Quote To the Top
Old 12-04-2006, 22:35   #17
Lusted
blaaaaaaaaaarg!
Senior Member
 
Lusted's Avatar
 
Join Date: Feb 2005
Posts: 1,771

Awards Showcase
HoF2007 
Total Awards: 1

Default Re: M2TW data text files

Quote:
Guys, a short reminder. Please post any not-yet-finalized research in the research wiki section and not anywhere else. Thank you
Alpaca, just so you know lime green text does not show up well on the The Guild forum skin option. It may show up wellon the skin your using, but i dont think it does on others.

It looks like the .xml files will need a lot of research done into them, as well as the missions and faction standing files.

Quote:
Using the mod switch there is no campaign or any sort of sound or music, do i need to copy over all the data?
If you read the thread ER linked to in the first post you would have noticed this:

Quote:
As with Rome, the mymod folder needs to include certain game files from the world folder to function. Currently, it also requires sounds/events.dat and sounds/events.idx to function. This should be borne in mind when writing mod installers or alternatively in install instructions.
__________________
Creator of:
Lands to Conquer Gold for Medieval II: Kingdoms

Last edited by Lusted; 12-04-2006 at 22:37.
Lusted is offline   Reply With Quote To the Top
Old 12-04-2006, 22:38   #18
Epistolary Richard
Just driving-by
Senior Member
 
Epistolary Richard's Avatar
 
Join Date: Nov 2004
Posts: 4,380

Awards Showcase
Editor HoF2004/2005 
Total Awards: 2

Default Re: M2TW data text files

Repost:

__________

Mod Switch

Another vital feature for modders from Rome is in Med2 but again in a slightly different way. The Mod Switch allows you to have a separate directory of your modded files in your main Medieval 2 Total War directory and by launching the game with the right cfg line the game will access the files within the mod folder before looking in the main game directory – allowing you to supercede even packed files without problem.

The best way to set this up is as follows:

Create a new bat file in the top level Medieval 2 Total War folder (the one with the .exe in it) called Launch_MyMod.bat

Inside it should read:

medieval2.exe @mymod.cfg


Then create copy your medieval2.preference.cfg file and rename it mymod.cfg and include the following lines:

[features]
mod = mymod

Then create a folder in that directory called mymod and in that have your data folder with its modded files exactly mimicking the directory structure in the main game folder.

As you can see using a bat file to launch the game using different .cfg files allows you to easily swap between different mods and game configurations without wholesale duplication of your data folder, risking direct file overwrites or copying and overwriting your original .cfg file.

As with Rome, the mymod folder needs to include certain game files from the world folder to function. Currently, it also requires sounds/events.dat and sounds/events.idx to function. This should be borne in mind when writing mod installers or alternatively in install instructions.

____
Make sure you have the campaign and base folder in from the world folder - and the above named sound files.
Epistolary Richard is offline   Reply With Quote To the Top
Old 12-04-2006, 22:39   #19
Throumbaris
Member
Member
 
Throumbaris's Avatar
 
Join Date: Nov 2006
Posts: 50
Default Re: M2TW data text files

Woops was too busy editing stuff to read that far down, thanks for the response!
Throumbaris is offline   Reply With Quote To the Top
Old 12-04-2006, 22:53   #20
redmark
Member
Member
 
redmark's Avatar
 
Join Date: Dec 2006
Posts: 37
Default Re: M2TW data text files

Quote:
Originally Posted by Lusted
If you read the thread ER linked to in the first post you would have noticed this:
Read that; copied everything under data just in case (but of course, a lot of files aren't there): still no screens, sound etc. Then noticed that under the 'mymod' folder, you get a blank folder created by the game called "packs". Copied the pack files across the higher level packs folder - no joy.
redmark is offline   Reply With Quote To the Top
Old 12-04-2006, 22:54   #21
hellenes
Master of Puppets
Member
 
hellenes's Avatar
 
Join Date: Sep 2003
Location: the never land
Posts: 1,309
Default Re: M2TW data text files

Quote:
Originally Posted by Epistolary Richard
Repost:

__________

Mod Switch

Another vital feature for modders from Rome is in Med2 but again in a slightly different way. The Mod Switch allows you to have a separate directory of your modded files in your main Medieval 2 Total War directory and by launching the game with the right cfg line the game will access the files within the mod folder before looking in the main game directory – allowing you to supercede even packed files without problem.

The best way to set this up is as follows:

Create a new bat file in the top level Medieval 2 Total War folder (the one with the .exe in it) called Launch_MyMod.bat

Inside it should read:

medieval2.exe @mymod.cfg


Then create copy your medieval2.preference.cfg file and rename it mymod.cfg and include the following lines:

[features]
mod = mymod

Then create a folder in that directory called mymod and in that have your data folder with its modded files exactly mimicking the directory structure in the main game folder.

As you can see using a bat file to launch the game using different .cfg files allows you to easily swap between different mods and game configurations without wholesale duplication of your data folder, risking direct file overwrites or copying and overwriting your original .cfg file.

As with Rome, the mymod folder needs to include certain game files from the world folder to function. Currently, it also requires sounds/events.dat and sounds/events.idx to function. This should be borne in mind when writing mod installers or alternatively in install instructions.

____
Make sure you have the campaign and base folder in from the world folder - and the above named sound files.
I did exactly that and the game wont show up my Greek localisation alterations!!!!!!!!
Its all still in english I have the entire sound folder and text and world like
C:\Program Files\SEGA\Medieval II Total War\mymod\data\text
I run the bat file the game boots fine but its all still in english ignoring ANY changes I did!!!!!!
What might be the problem???????
__________________
Impunity is an open wound in the human soul.


ΑΙΡΕΥΟΝΤΑΙ ΕΝ ΑΝΤΙ ΑΠΑΝΤΩΝ ΟΙ ΑΡΙΣΤΟΙ ΚΛΕΟΣ ΑΕΝΑΟΝ ΘΝΗΤΩΝ ΟΙ ΔΕ ΠΟΛΛΟΙ ΚΕΚΟΡΗΝΤΑΙ ΟΚΩΣΠΕΡ ΚΤΗΝΕΑ

The best choose one thing in exchange for all, everflowing fame among mortals; but the majority are satisfied with just feasting like beasts.
hellenes is offline   Reply With Quote To the Top
Old 12-04-2006, 23:12   #22
Epistolary Richard
Just driving-by
Senior Member
 
Epistolary Richard's Avatar
 
Join Date: Nov 2004
Posts: 4,380

Awards Showcase
Editor HoF2004/2005 
Total Awards: 2

Default Re: M2TW data text files

Well, I have a bat file in my M2TW folder which points at a new config file which has the features line in.

Then there's a mymod folder with a data folder inside - which in turn has a sound folder with the two files I specified and a world folder with the normal tree down to the base and campaign folder.

Then I added a modded edu file - and launched it through the bat and the changes showed up...

All it should be doing is reading the files in the mod folder in preference to the (packed) files in the main data folder.
Epistolary Richard is offline   Reply With Quote To the Top
Old 12-04-2006, 23:30   #23
Throumbaris
Member
Member
 
Throumbaris's Avatar
 
Join Date: Nov 2006
Posts: 50
Default Re: M2TW data text files

I removed peasants and added armoured sergeants to england, campaign works fine. No loading screens though.
Throumbaris is offline   Reply With Quote To the Top
Old 12-05-2006, 00:14   #24
hellenes
Master of Puppets
Member
 
hellenes's Avatar
 
Join Date: Sep 2003
Location: the never land
Posts: 1,309
Default Re: M2TW data text files

Quote:
Originally Posted by Epistolary Richard
Well, I have a bat file in my M2TW folder which points at a new config file which has the features line in.

Then there's a mymod folder with a data folder inside - which in turn has a sound folder with the two files I specified and a world folder with the normal tree down to the base and campaign folder.

Then I added a modded edu file - and launched it through the bat and the changes showed up...

All it should be doing is reading the files in the mod folder in preference to the (packed) files in the main data folder.
so should the config file be in the mymod folder or in the main M2TW one?
__________________
Impunity is an open wound in the human soul.


ΑΙΡΕΥΟΝΤΑΙ ΕΝ ΑΝΤΙ ΑΠΑΝΤΩΝ ΟΙ ΑΡΙΣΤΟΙ ΚΛΕΟΣ ΑΕΝΑΟΝ ΘΝΗΤΩΝ ΟΙ ΔΕ ΠΟΛΛΟΙ ΚΕΚΟΡΗΝΤΑΙ ΟΚΩΣΠΕΡ ΚΤΗΝΕΑ

The best choose one thing in exchange for all, everflowing fame among mortals; but the majority are satisfied with just feasting like beasts.
hellenes is offline   Reply With Quote To the Top
Old 12-05-2006, 00:21   #25
hellenes
Master of Puppets
Member
 
hellenes's Avatar
 
Join Date: Sep 2003
Location: the never land
Posts: 1,309
Default Re: M2TW data text files

Nevermind I fixed it....however i have a huge obstacle to my Greek localisation:
there are NO medieval fonts (like the menu text and the City overheads) in Greek just the Arial small text!!!!!!!!
Is there any way to edit the fonts?
__________________
Impunity is an open wound in the human soul.


ΑΙΡΕΥΟΝΤΑΙ ΕΝ ΑΝΤΙ ΑΠΑΝΤΩΝ ΟΙ ΑΡΙΣΤΟΙ ΚΛΕΟΣ ΑΕΝΑΟΝ ΘΝΗΤΩΝ ΟΙ ΔΕ ΠΟΛΛΟΙ ΚΕΚΟΡΗΝΤΑΙ ΟΚΩΣΠΕΡ ΚΤΗΝΕΑ

The best choose one thing in exchange for all, everflowing fame among mortals; but the majority are satisfied with just feasting like beasts.
hellenes is offline   Reply With Quote To the Top
Old 12-05-2006, 00:23   #26
swell
Member
Member
 
swell's Avatar
 
Join Date: Oct 2006
Location: France
Posts: 11
Default Re: M2TW data text files

Quote:
Originally Posted by hellenes
so should the config file be in the mymod folder or in the main M2TW one?
The two files, xxx.bat and xxx.cfg must be in the main folder, ie "C:\Program Files\SEGA\Medieval II Total War"
swell is offline   Reply With Quote To the Top
Old 12-05-2006, 00:30   #27
NagatsukaShumi
ModNews & Promotions Castellan
Assistant Moderator
 
NagatsukaShumi's Avatar
 
Join Date: Apr 2002
Location: Leeds, England
Posts: 2,233

Awards Showcase
CoH Editor 
Total Awards: 2

Default Re: M2TW data text files

Looks very interesting and it'll be nice to get a chance to play around with some more files now, promising news
NagatsukaShumi is offline   Reply With Quote To the Top
Old 12-05-2006, 01:19   #28
shifty157
Insanity perhaps is inevitable
Member
 
shifty157's Avatar
 
Join Date: Jan 2005
Posts: 1,140
Default Re: M2TW data text files

Good news indeed though still a far cry from a full unpacker. My guess is the patch has been delayed even farther back and this is CA's way of trying to smooth it over with us. Oh well.
__________________
shifty157 is offline   Reply With Quote To the Top
Old 12-05-2006, 01:25   #29
Lusted
blaaaaaaaaaarg!
Senior Member
 
Lusted's Avatar
 
Join Date: Feb 2005
Posts: 1,771

Awards Showcase
HoF2007 
Total Awards: 1

Default Re: M2TW data text files

From what i understand they were just send to ER so we colud familiarise ourselves with them before the patch came out, not because the patch is delayed(which i do not think it is).
__________________
Creator of:
Lands to Conquer Gold for Medieval II: Kingdoms
Lusted is offline   Reply With Quote To the Top
Old 12-05-2006, 01:28   #30
dark
Member
Member
 
dark's Avatar
 
Join Date: Aug 2005
Posts: 33
Default Re: M2TW data text files

Quote:
Originally Posted by Epistolary Richard
BTW before you ask 'Where's the descr_model_battle.txt file?' - I tell you now - there is no dmb file used in the game.
I figured someone would ask about this, but no one did.

After checking out the files, I wonder, if they don't use a DMB, then what file is used to check models paths, etc? Or is it a secret that will be unveiled with the patch?
dark is offline   Reply With Quote To the Top
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:47.


Powered by vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.