Just take the rudimentary plot of a diverse group of warriors who, by chance or circumstance, who meet up and decide to go on a quest, which involves either a literal dungeon or some subterranean area like such, to fetch some object (which could have world-changing qualities); have the villain basically be a Mage or some sort of powerful evil villain; in the meantime, have fight scenes with zombies, orcs, etc.
Basically, why has no one ever really attempted to make a D&D adventure into a movie?
The thing is while the movies you guys have mentioned were great, none of them took place in a high-dark medieval fantasy setting. Indiana Jones and the Goonies have aspects of a dungeon crawl, but take place in our world with only fantastic flourishes.
Outpost (2008) actually seems to fit the requirements quite well…aside from being set in the modern day.
An even better fit, although not a movie, would be Record of Lodoss War. Which was, in fact, literally born as an adaptation of a transcript of an RPG campaign.
If you’re already making a fantasy movie, why would you not want to show castles and rugged mountains and enchanted forests and men on horseback? Why stick the whole movie underground?