Jamie Foxx is wrapping up talks to get locked and loaded to play the rage-prone killer James Lynch in Lionsgate and Millennium Films’ bigscreen adaptation of the Eidos videogame “Kane and Lynch: Dead Men.”

Bruce Willis has long been attached to play Kane in the actioner, first joining to portray the mercenary Adam “Kane” Marcus, in 2008.

Production is expected to start in August, with Simon Crane, a second-unit director and stunt coordinator, making his feature directing debut.

In the game and film, Kane and Lynch are forced to pair up and have 72 hours to travel the world and recover a doomsday device before Kane’s kidnapped wife and daughter are killed by the criminals who broke them out of prison.

Project is penned by Kyle Ward, who is also scripting a sequel to “Hitman,” also based on an Eidos game.

Adrian Askarieh and Daniel Alter will produce with David Willis, Stephen Eads and Millennium.

Askarieh and Alter were producers on the “Hitman” pic, which grossed $100 million for 20th Century Fox. The producers are also developing “Jonny Quest” at Warner Bros.

Foxx most recently co-starred in “Valentine’s Day” and “Law Abiding Citizen.”

The original “Kane & Lynch” game, released in 2007, generated attention for its gritty cinematic action sequences and was clearly targeted at more adult gamers with its over-the-top violence and strong use of profanity. The game sold a respectable 1 million copies.

While it didn’t sell as well as hoped, IO Interactive, now part of Square Enix, is putting the finishing touches on “Kane & Lynch 2: Dog Days,” that Eidos will release on August 24.