Mark Ruffalo will star opposite “Alias” star Jennifer Garner in “13 Going on 30,” a romantic fable that Gary Winick (“Tadpole”) will direct for Revolution Studios.

While Garner makes her bigscreen starring debut as Elektra in “Daredevil,” “13 Going on 30” will be her first seven-figure payday. She plays a gawky preteen whose desperation to be popular makes her an easy mark for cruel classmates. Five days before her 13th birthday, the girl is tricked and locked in a closet, where she makes a crazy wish to be popular. She emerges in the full-grown form of Garner, a popular and successful ad agency exec five days shy of her 30th birthday, having skipped 17 awkward years. She also realizes she’s in love with the nerdy kid next-door. Full-grown, he’s played by Ruffalo.

The script was written by “What Women Want” scribes Josh Goldsmith and Cathy Yuspa, and rewrites were done by Rita Hsiao and Niels Mueller. Susan Arnold, Donna Arkoff Roth and Gina Matthews are the producers. Revolution will begin filming in April in Los Angeles when Garner starts hiatus from “Alias.”

Ruffalo, who’s repped by WMA and Robert Stein Management, currently is starring alongside Jim Carrey, Kate Winslet, Kirsten Dunst and Elijah Wood in “Eternal Sunshine of the Spotless Mind” and next will be seen opposite Gwyneth Paltrow in “A View From the Top.” He just completed the Jane Campion-directed “In the Cut” opposite Meg Ryan, which Screen Gems will distribute in the fall.