There are 4 games which use the same basic system... The first was Gettysburg or something along those lines, a civil war-themed wargame published by Avalon Hill which I think is now out of print.
Then there's also Command & Colors: Ancients, which is widely regarded as the best of the series, not that the others aren't highly regarded. I actually just got C&C:A as a gift a few weeks ago. The downside with this one is that I spent many, many hours over the course of a few days applying
IIRC around 800 stickers to dice and wooden blocks...
Each of the 4 games is a bit different, I believe, though I can't say how much. I've only played BattleLore and C&C:A.
BattleLore adds Lore tokens and personalized decks based on the hero you play (I think the four are Warrior, Cleric, Thief and Wizard, could be wrong).