Steven Spielberg’s latest film, “Ready Player One,” has earned more than $500 million for Warner Bros. around the globe, with a large portion emanating from China.

“Ready Player One” is also now the 10th-largest Chinese grosser for Warner Bros, earning more than $200 million from the country. The action-sci fi’s opening marked Warner Bros.’ largest ever in the nation with $61 million. On top of the earnings from China, the film has taken in another $179 million from foreign markets. It opened in Japan this weekend, completing its international rollout.

Domestically, “Ready Player One” has brought in more than $120 million.

Tye Sheridan stars in the film alongside Olivia Cooke, Ben Mendelsohn, Lena Waithe and T.J. Miller. Zak Penn and Ernest Cline wrote the script, based on Cline’s bestselling novel of the same name. Sheridan plays a young man living in 2045 Ohio who also leads a dual life in the virtual reality game Oasis, where many find respite from a difficult reality in a second life.

The film was produced by Donald De Line, Kristie Macosko Krieger, Spielberg and Dan Farah. Adam Somner, Daniel Lupi, Chris deFaria and Bruce Berman served as executive producers.

Spielberg became the first director whose films’ grosses topped more than $10 billion earlier this week, with “Ready Player One” marking the director’s highest-grossing film of the last 10 years. Not adjusted for inflation, Spielberg’s biggest earner was 1993’s “Jurassic Park” with $983.8 million globally.