I assume the on the fly generated game code is related to your .NET environment. .NET 4.5 is preinstalled on Windows 8 and because I'm developing with Windows 8, it's required in order to get the trainer(s) to work.
Just tried v1.2.4S (Gold DLC) with the 1.2.3 trainer (Gold DLC), and the trainer's not working. The trainer sees that the game's running,I press F1 while in-game, get "Trainer Activated!" and wait. After about 30 seconds or so, I hear an error chime, alt-tab out to the trainer, where there's an error message that says: "Couldn't find game code! (1)". One time, it actually said "(1)(2)" on the end instead of just the "(1)", but I have not been able to reproduce that again.
After closing the error dialog, I get another "Trainer Activated!" sound. After that, hitting any of the trainer keys gets me an "Activated!" sound, but nothing happens. ='(
I then exited the game, and looked at the console: <01:15:17> [PROCESS]: Found ThePit <01:15:38> [TRAINER]: Activating... <01:15:38> [PROCESS]: HASH: 278C6BC654B1E47C51B0513747A5990B <01:15:38> [PROCESS]: Version: 22.214.171.124 <01:15:38> [PROCESS]: Version(2): 126.96.36.199 <01:16:47> [TRAINER]: Successfully activated <01:18:28> [PROCESS]: Closed!
Sadly, not much to go on there...
Thoughts? Ideas? New trainer version?
Well, I *thought* I had .Net 4.5 installed, instead I'm just an idiot. Once I actually had .Net 4.5 installed, everything worked great!
Yeah it's actually weird and annoying that a game's code is generated depending on the framework version you have installed. I've also got a few statements from users who said that they had to uninstall and reinstall the net framework to get it to work.