Mok, 90% of new card code is in the C compiled DLL (you could check the pointers in the "ManalinkEh.asm" file), but obviously as we have only 2000 slots available, the "cards_ptr" is different for each version.
All versions share the same Dlls, but each has 3 different files : an edited Magic.exe with the cards_ptr we need, the CSV file and the Dat file (both of which are created through the editor, I don't know how exactly the editor inject the code in Magic.exe, I only knwo it uses you csv2dat program).
Lastly, I'll ask the question again, as I think you haven't understoof what I meant : could we set up an "automatic" process to inserting the cards_ptr into the new Exe, like creating a CSV-like text file and make a program that parse it, convert it to data and then inject it into the executable ? That'll save us a lot of time when editing.
Also, for everyone working on the "ultimate CSV" : I'm convinced that would be really better if we move ALL the new coded cards after the original ones. As Mok said, slot until the end of Legions are somewhat hardcoded, so they should be left alone.
We also need to group the new cards by sets and some gaps are needed to complete the sets in a second time.
Plus, "animated lands" and their conterparts needs to be inserted like this :
2001
Treetop Village2002
Treetop Village Ape
This could save us a lot of trouble in the coding process (and we could get rid of "get_id_by_name" more easily).