Depp, who plays Captain Jack Sparrow in the motion pictures, will be voicing the likeable pirate in the video game.

"We are thrilled to have Johnny Depp working on this project," says Todd Vaughn, executive producer of Pirates of the Caribbean: The Legend of Jack Sparrow. "We couldn't imagine a better way to capture the spirit of the character than to have Depp lend his voice to Captain Jack Sparrow. It truly adds to an already rich gameplay experience."

In The Legend of Jack Sparrow you get to play as the title character or as Will Turner, hacking and slashing your way through an adventure based on events from the first film. If you've got a mate handy there's also a co-op mode, but there's to be no fighting about who gets to play as Jack.

The game is scheduled for release on July 7 for PlayStation 2 and PC.