If you are thinking of the enormous black Tyrannosaurus form, that is Trypticon.
Trypticon is the Decepticon answer to the colossal city-sized characters in the franchise — a towering, monster-shaped titan rather than a conventional robot with an alt mode. His scale is the whole point: he dwarfs the regular cast and shows up as a set-piece threat rather than a playable character.
Games in this era of Transformers titles love that kind of spectacle, staging encounters against enemies so large that the camera can barely frame them. If a giant dinosaur-shaped Decepticon is what you remember, Trypticon is your answer.