As far as I understand, the entire mechanics are contained in the files; it's a complex system of gears, and the executable is the key, the start button that sets these gears in motion. I want to study the files that contain the faction IDs, but I don't know where they are located. Who can help me?
It's best to address this question to mrHalfer - the author of EWA - he worked on this, and although he couldn't make changes to the game's source code, he succeeded in something else:
using Deflaktor and a HEX editor, he was able to increase the number of available IDs to 255, thereby making it possible to introduce new artifacts into the game.

Added after 19 hours 52 minutes
What is your personal assessment of the probability that something will actually come of this, and it won't remain at the stage of just discussion, because his silence has been going on for a while.
It seems that the probability is zero. I had a crazy idea:
What if we write a letter in English to Ubisoft and Nival, on behalf of the Heroes forum, asking them to provide the fans with the source code or part of the code? I understand that this request will sound very strange... if not to say more:))) but you never know, maybe something will come of it? Maybe they will be willing to cooperate, and if not, then that's that