Edting the ubiquitous GDA file
#1
Posté 20 mars 2011 - 01:08
The first thing to know is that any gda file you edit will be merged into the game version automatically, as long as you retain the same base name. For example, if you're editing abi_base.gda (which a number of mods do), you should name the gda file you create abi_base_<suffix>.gda; the game knows when it encounters your gda file that it needs to merge the contents of your file with the default abi_base.gda.
The second thing you need to know is that you do not need to include any rows you have not edited. This saves space on the end user's hard drive, though it may seem that it's unimportant to consider that. This also means that if two mods edit the same base gda, they will not override each other as long as they don't edit the same rows.
The third thing you need to know is that in the rare case that two gda files edit the same row, but a different column in the row, you can simply make a second gda mod that contains the content of both mods for players that may wish to use them both at the same time; I would recommend that you contact the other modder and make sure they are aware of this before actually posting it anywhere, just in case they object to you doing so.
#2
Posté 20 mars 2011 - 01:59
Modifié par translucentwolf, 20 mars 2011 - 02:06 .
#3
Posté 20 mars 2011 - 02:02
#4
Posté 20 mars 2011 - 02:12
well ill try this i wanted to add 2 mods relating to skills but both mod the base i think.
#5
Posté 20 mars 2011 - 02:19
Every modder needs to start doing this, if they are not already, to maintain maximum mod compatibility.
#6
Posté 20 mars 2011 - 04:25
Edit: +1 for sticky.
Modifié par KwanGong, 20 mars 2011 - 04:25 .
#7
Posté 22 mars 2011 - 05:00
KwanGong wrote...
For those who are attempting to mod, well mods, on their own. You must remember that if the person who released the mod released the entire base file, even if you rename the files to something that extends the original gda file, it will still have other conflicts.
Edit: +1 for sticky.
Oof. Yeah. I tried downloading pyGFF and looking at the abi_base.gda file I have (sustained effects gone) to combine it with another I want (improved spell effects), but, ermm... that's a lot of code that I'm not gonna learn how to modify in ten minutes.
Edit: Oops. Saw another thread that referred me to GDApp and that was much easier to read, but it's still not something I'm gonna pick up in ten minutes.
Edit2: Spoke too soon. GDApp is wonderful and all my problems (including a heretofore unknown problem with the mod that fixes Varric & Isabella's friendship bonuses being overridden by the other abi_base mod) have been resolved. Thanks for this thread!
Modifié par iceofwolf, 22 mars 2011 - 05:50 .
#8
Posté 25 mars 2011 - 02:52
Edit: I kant spel tonight...
Modifié par daywalker03, 25 mars 2011 - 02:57 .
#9
Posté 25 mars 2011 - 05:06
#10
Posté 25 mars 2011 - 09:40
mcomommy wrote...
Hopefully more modders read this. I would've thought it had become second nature after the m2da's of DAO, but I just spent the last few hours consolidating 4 different abi_base files that (of course) each had the entire file not just the lines modded.
I suspect there are a lot of people modding DA2 that have no experience with modding DAO and don't know about using M2DAs, so hopefully this will show them how to do things properly.





Retour en haut






