I would actually suggest reverting back to the nocd version of Game.dat. The reason for this is simple, the copy-protection they use in securorom will make it exponentially harder to attach your functions without issue. Also, as securorom is an active protection scheme, it could cause periodically random crashes. Securorom and it's kin are the scourge of the gaming industry, the behaviour and the damage these software applications can do are as bad as most malignant computer viruses. Furthermore, there are many of us in your situation, with a broken cd drive, or a shattered disk. Since EA refuses to digitally distribute the game, many of us have to use less than savoury means to have an install medium to use our rightful license keys. I would also point out, hacking into game.dat is typically an action that is regarded as a step to far by EA when it comes to modding. It is essentially modding the executable, which through their bioware subsidiary they have slammed as breaching their copyright. As you are already slipping into grey land, why not just go all the way?
Yeah,
Indeed, securom might be messing with my detours of functions
I've though of making dynamic 'Create A Hero' system instead of .ini one...
So if program detects custom faction that is not in cah faction table then it would add it to faction table before program crashes.
But sadly on original game.dat i wasn't able to do so since hooked function caused game to crash after it was done with execution of code within the hook...
Detouring and hooks worked fine on nocd version of game.dat tho