It was based on events told in one of the books (I think the Silmarillion?), although it was a bit too long in my opinion, some scenes could've been shorter since they felt artificially extended, the parts that were cool were absolutely a blast. I'd rate it a 7.7/10