There is a formulation, a sugar/fat/salt ratio that the majority of people will find satisfying. Fast food tends to optimise this way. It's why, for example McDonalds burger buns are quite sweet.
But I don't know whether dopamine is the pathway responsible.