The film earned 980 million yen (US$8.9 million) in its first four days, and it will get a sequel in summer 2018.
The manga also inspired a live-action film that opened in Japan on July 14.
This year’s 51st issue of Shueisha’s Weekly Shonen Jump magazine revealed on Monday that the Gintama Season 4 anime will enter the manga’s “Gin no Tamashii” (Silver Soul) arc, the manga’s final arc that began in July 2016.
The title of the arc is a reference to the anime and manga’s title, which uses the same characters but with different readings.