Jim Carrey appeared in at least one film that is based on other things.
Jim Carrey . His first leading roles in major productions came with Ace Ventura : Pet Detective ( 1994 ) , Dumb and Dumber ( 1994 ) , The Mask ( 1994 ) , and Ace Ventura : When Nature Calls ( 1995 ) , as well as a supporting role in Batman Forever ( 1995 ) and a lead role in Liar Liar ( 1997 ) . The Mask is a 1994 American superhero fantasy comedy film directed by Charles Russell , produced by Bob Engelman , and written by Mike Werb , loosely based on the comic series of the same name distributed by Dark Horse Comics .