NEW YORK — After an unusual but vigorous auction, Fox has emerged victorious in its bid for the spec script “Sonny Bright,” with Doug Liman (“Go”) attached to direct, and Peter and Bobby Farrelly attached to produce. Fox beat out two studios, paying a mid- against high-six-figure fee for the script, plus a lot more for the director and producers.

Wayne Rice (“Suicide Kings”) and Gina Goldman wrote “Sonny Bright,” in which a government desk jockey gets mixed up with a beautiful woman and a big heist. The auction was unusual in that it was limited to three suitors, and the price obtained was the price asked for.

When Liman and the writers decided to work together, they wanted strong producers. Liman wanted to work with Denise DiNovi, Jerry Bruckheimer or the Farrellys. All three stepped up, and Liman and the scribes chose the Fox-based Farrellys, who follow “There’s Something About Mary” with the Jim Carrey comedy “Me, Myself and Irene.”Liman’s next film is expected to be an adaptation of Robert Ludlum’s “The Bourne Identity” for Universal.

All parties were repped by CAA.