I got the cheats for material, gold and troops working with the custom character by activating it and deactivating it. I did it while the game on windowed mode. Haven't try it with full screen mode.
that i got too on fullscreen. the thing is if you activate anywhere else that the main menu, you'll get a strange error