2013 saw the release of McQuarrie's fourth collaboration with Singer: "Jack the Giant Slayer", co-written by McQuarrie. The film was a failure at the box office, grossing only US$198 million with an estimated US$240 million budget (excluding promotional fees). The critical reviews were generally mixed. McQuarrie co-wrote the 2014 science fiction action thriller "Edge of Tomorrow" with Jez and John-Henry Butterworth, based on the Japanese novel "All You Need Is Kill". While the film underperformed at the box office on its opening weekend with only US$28.8 million, it received strong reviews and became a word-of-mouth hit, grossing just over US$100 million at the domestic box office.