Age of Mythology: Retold

Age of Mythology: Retold

View Stats:
donraffae Aug 30, 2024 @ 7:09am
How to create mods?
Hello I would like to create a mod. is there a guide? I'm a programmer so I can program :)
< >
Showing 1-12 of 12 comments
HugoPierreboss Aug 30, 2024 @ 11:36am 
Am wondering about the same !
Tempires Aug 30, 2024 @ 12:18pm 
Originally posted by donraffae:
Hello I would like to create a mod. is there a guide? I'm a programmer so I can program :)

I cannot help with modding but resource-manager can be used to extract .bar files and so on:

https://forums.ageofempires.com/t/v-0-7-resource-manager-age-of-myth-retold-bar-extractor/260136

It is same tool originally made for AoE3:DE but with support for AoMR DDT texture files added in by another person

Last edited by Tempires; Aug 30, 2024 @ 12:38pm
Neto Sep 6, 2024 @ 4:37am 
how to edit .BAR files? with this program we can extract .BAR files, but can't recompile them
Stavrozium Sep 15, 2024 @ 7:26am 
Originally posted by Neto:
how to edit .BAR files? with this program we can extract .BAR files, but can't recompile them

you need to extract them with the resource manager,
make sure the XMB are decompressed, and converted to XML files, to edit them.
There is no need to recompile them.
Last edited by Stavrozium; Sep 15, 2024 @ 8:06am
Cervelle de iop Sep 16, 2024 @ 2:58pm 
can you make me a littel tutorial more cleary plz ?
Stavrozium Sep 16, 2024 @ 3:50pm 
Originally posted by Cervelle de iop:
can you make me a littel tutorial more cleary plz ?

I already posted this in another thread, but ill do it again here, i guess..
(it would be nice if people would stop starting new threads,
while there are already several threads about the same subject..)
--------------------------------------------------------------------

Right click the game in your steam library games list,
and click "manage", then "browse game files". From there go to:
"Program Files (x86)\Steam\steamapps\common\Age of Mythology Retold\game\data"
This is where you will find the "data.bar" file.
Make a copy of this data.bar file and paste it somewhere on your desktop,
you may need this file again in the future, this is for easy access.
(for example you can use it to check the vanilla stats again)

Here is the tool you need to open .bar files:
https://drive.google.com/file/d/1MiUzxQO8g-LkaeneV-VlZtsAugs3Ssq9/view

Open the data.bar file with the resource manager.
In here you will find the proto and techtree and godpower files (and much more)
You will have to extract these files with the
"auto decompress compressed files" and
"auto convert .xmb files to .xml" options ticked on.
Also make sure you extract them to the location you want them.
(i recommend a folder on your desktop, and make a backup of these files as well)

Proto is for all the unit stats, techtree is for all the age-ups, upgrades, relics, and more.
Godpower files are separate for each faction; and have almost all data of GPs;
but GP cooldowns are in the techtree file, f.e. gaia forest is under "archaicagegaia"
---------------------------------------------------
This should already be enough info to get started.
A good way to learn how to do things is by downloading other mods,
and checking to see how they did things, like mod file structure.
There is also a "merge" technique, to make mods compatible with others;
simply changing the proto/techtree files and putting them in your mod,
will make them incompatible with any other mod that also does this,
as they overwrite the same files. The "merge" technique circumvents this.
But i dont really recommend using merging, for beginners, its an advanced technique.

PS i hope this helps. I had to figure out most of this by myself,
so i agree, some detailed modding guide, in the steam guides, would be useful.
If you have more questions, feel free to ask. :)
King Kunta Sep 29, 2024 @ 9:16am 
If I only want to change the sounds of the game or the gods portrait
what I have to do? I got the bar extractor and I change a few sounds but I dont know how to apply the changes to the "Sound.bar"

also I'm making those changes in a copy of Sound.bar so then I can copy to the local mod folder
Eaglemut Sep 29, 2024 @ 10:33am 
Originally posted by Lax Dawg:
If I only want to change the sounds of the game or the gods portrait
what I have to do? I got the bar extractor and I change a few sounds but I dont know how to apply the changes to the "Sound.bar"

also I'm making those changes in a copy of Sound.bar so then I can copy to the local mod folder
You just put the changed files into local mod folder directly. Do not create/alter any bar anywhere.
bonheur-supreme Oct 10, 2024 @ 11:48am 
thank you for this, Stavrozium!!!
wyc Dec 13, 2024 @ 12:03am 
Originally posted by Stavrozium:
Originally posted by Cervelle de iop:
can you make me a littel tutorial more cleary plz ?

I already posted this in another thread, but ill do it again here, i guess..
(it would be nice if people would stop starting new threads,
while there are already several threads about the same subject..)
--------------------------------------------------------------------

Right click the game in your steam library games list,
and click "manage", then "browse game files". From there go to:
"Program Files (x86)\Steam\steamapps\common\Age of Mythology Retold\game\data"
This is where you will find the "data.bar" file.
Make a copy of this data.bar file and paste it somewhere on your desktop,
you may need this file again in the future, this is for easy access.
(for example you can use it to check the vanilla stats again)

Here is the tool you need to open .bar files:
https://drive.google.com/file/d/1MiUzxQO8g-LkaeneV-VlZtsAugs3Ssq9/view

Open the data.bar file with the resource manager.
In here you will find the proto and techtree and godpower files (and much more)
You will have to extract these files with the
"auto decompress compressed files" and
"auto convert .xmb files to .xml" options ticked on.
Also make sure you extract them to the location you want them.
(i recommend a folder on your desktop, and make a backup of these files as well)

Proto is for all the unit stats, techtree is for all the age-ups, upgrades, relics, and more.
Godpower files are separate for each faction; and have almost all data of GPs;
but GP cooldowns are in the techtree file, f.e. gaia forest is under "archaicagegaia"
---------------------------------------------------
This should already be enough info to get started.
A good way to learn how to do things is by downloading other mods,
and checking to see how they did things, like mod file structure.
There is also a "merge" technique, to make mods compatible with others;
simply changing the proto/techtree files and putting them in your mod,
will make them incompatible with any other mod that also does this,
as they overwrite the same files. The "merge" technique circumvents this.
But i dont really recommend using merging, for beginners, its an advanced technique.

PS i hope this helps. I had to figure out most of this by myself,
so i agree, some detailed modding guide, in the steam guides, would be useful.
If you have more questions, feel free to ask. :)
I use the PHOENIX model to build a titan, but I do not know how to change the size of fire attack, the fire attack's picture, not the damage area, who knows how to change the fire attack's size?
Stavrozium Dec 13, 2024 @ 3:43pm 
Originally posted by wyc:
I use the PHOENIX model to build a titan, but I do not know how to change the size of fire attack, the fire attack's picture, not the damage area, who knows how to change the fire attack's size?

The damage area (i.e. Area of Effect/AoE) can be found in the data.bar file;
inside the proto.xml file, along with most other units stats.
Inside the Proto file, search for phoenix, then scroll down until you see its attacks,
inside the code for the attack, the line of code for damage area looks like this:
<damagearea>4.000000</damagearea>
-------------------------------------------------------------------------
As for changing the sizes of the models,
i dont really know how to do that myself..
The closest i got so far to finding this, was inside
C:\Program Files (x86)\Steam\steamapps\common\
Age of Mythology Retold\game\Art\ArtEgyptian.bar

As far as i can tell, (according to the code in here)
the Phoenix uses the same attack model/animation as nidhogg;
while its actual projectile is apparently invisible..
(the projectile is called "ProjectileBallOfFireInvisible")
So you may need to create a new projectile from scratch.
-------------------------------------------------------------------------
I honestly have no idea how to change the fire attack's picture,
but i'd say that this is the least important anyways..
-------------------------------------------------------------------------
Anyways, i hope that this helps at least a tiny bit.
If you have more modding questions for me, id prefer it if you put them
in the comments of my "modding AoMR for beginners guide", here on steam,
I check the comments there much more regularly. ;)
Yvaralys Dec 14, 2024 @ 8:55am 
Originally posted by wyc:
Originally posted by Stavrozium:

I already posted this in another thread, but ill do it again here, i guess..
(it would be nice if people would stop starting new threads,
while there are already several threads about the same subject..)
--------------------------------------------------------------------

Right click the game in your steam library games list,
and click "manage", then "browse game files". From there go to:
"Program Files (x86)\Steam\steamapps\common\Age of Mythology Retold\game\data"
This is where you will find the "data.bar" file.
Make a copy of this data.bar file and paste it somewhere on your desktop,
you may need this file again in the future, this is for easy access.
(for example you can use it to check the vanilla stats again)

Here is the tool you need to open .bar files:
https://drive.google.com/file/d/1MiUzxQO8g-LkaeneV-VlZtsAugs3Ssq9/view

Open the data.bar file with the resource manager.
In here you will find the proto and techtree and godpower files (and much more)
You will have to extract these files with the
"auto decompress compressed files" and
"auto convert .xmb files to .xml" options ticked on.
Also make sure you extract them to the location you want them.
(i recommend a folder on your desktop, and make a backup of these files as well)

Proto is for all the unit stats, techtree is for all the age-ups, upgrades, relics, and more.
Godpower files are separate for each faction; and have almost all data of GPs;
but GP cooldowns are in the techtree file, f.e. gaia forest is under "archaicagegaia"
---------------------------------------------------
This should already be enough info to get started.
A good way to learn how to do things is by downloading other mods,
and checking to see how they did things, like mod file structure.
There is also a "merge" technique, to make mods compatible with others;
simply changing the proto/techtree files and putting them in your mod,
will make them incompatible with any other mod that also does this,
as they overwrite the same files. The "merge" technique circumvents this.
But i dont really recommend using merging, for beginners, its an advanced technique.

PS i hope this helps. I had to figure out most of this by myself,
so i agree, some detailed modding guide, in the steam guides, would be useful.
If you have more questions, feel free to ask. :)
I use the PHOENIX model to build a titan, but I do not know how to change the size of fire attack, the fire attack's picture, not the damage area, who knows how to change the fire attack's size?
A phoenix titan? Sounds really cool, let me know how that works out. Preferably, it would be nice if you didn't replace any of the original titans or the original phoenix but added a new button with a new icon. Maybe it should cost 2000 of each resource and 50 favor. No build limit for more fun. :P
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Aug 30, 2024 @ 7:09am
Posts: 12