The Ambrosian Iliad or Ilias Picta (Milan, Biblioteca Ambrosiana, Cod.
 F. 205 Inf.)
 is a 5th-century illuminated manuscript on vellum of the "Iliad" of Homer.
 It is thought to have been produced in Constantinople during the late 5th or early 6th century AD, specifically between 493 and 508.
 This time frame was developed by Ranuccio Bandinelli and is based on the abundance of green in the pictures, which happened to be the color of the faction in power at the time.
 It has since been reduced to a series of miniatures cut out of the manuscript.
 It is one of the oldest surviving illustrated manuscripts.
 In addition, it is the only surviving portion of an illustrated copy of Homer from antiquity and, along with the Vergilius Vaticanus and the Vergilius Romanus, one of only three illustrated manuscripts of classical literature to survive from antiquity.
Cloudy with a Chance of Meatballs is a 2009 American computer-animated science fiction comedy film loosely based on the 1978 children's book of the same name by Judi and Ron Barrett.
 It was produced by Sony Pictures Animation, and released by Columbia Pictures on September 18, 2009.
 The film features the voices of Bill Hader, Anna Faris, Bruce Campbell, James Caan, Bobb'e J. Thompson, Andy Samberg, Mr. T, Benjamin Bratt, Neil Patrick Harris, Al Roker, Lauren Graham, and Will Forte.
 It was written and directed by Phil Lord and Christopher Miller.
 It was a critical and commercial success, earning $243 million worldwide on a budget of $100 million.
 A sequel, "Cloudy with a Chance of Meatballs 2", was released on September 27, 2013.
 A television series based on the film with the same title premiered on February 20, 2017, on Cartoon Network.
Epic (stylized as epic) is a 2013 American 3D computer-animated action-adventure film loosely based on William Joyce's children's book "The Leaf Men and the Brave Good Bugs".
 It was produced by Blue Sky Studios, written by William Joyce, James V. Hart, Daniel Shere, Tom J. Astle and Matt Ember and directed by Chris Wedge, the director of "Ice Age" (2002) and "Robots" (2005).
 The film stars the voices of Colin Farrell, Josh Hutcherson, Amanda Seyfried, Christoph Waltz, Aziz Ansari, Chris O'Dowd, Pitbull, Jason Sudeikis, Steven Tyler, and Beyoncé Knowles.
 The film was released on May 24, 2013 by 20th Century Fox.
 "Epic" received mixed reviews from critics and earned $268 million on a $93 million budget.
Troy is a 2004 American epic period war film written by David Benioff and directed by Wolfgang Petersen.
 The film features an ensemble cast led by Brad Pitt, Eric Bana, and Orlando Bloom.
 It is loosely based on Homer's "Iliad" in its narration of the entire story of the decade-long Trojan War - condensed into little more than a couple of weeks - rather than just the quarrel between Achilles and Agamemnon in the ninth year.
 Achilles leads his Myrmidons along with the rest of the Greek army invading the historical city of Troy, defended by Hector's Trojan army.
 The end of the film (the sack of Troy) is not taken from the "Iliad", but rather from Virgil's "Aeneid" as the "Iliad" concludes with Hector's death and funeral.
James Cosmo (born 24 May 1948) is a Scottish actor known for his appearances in films including "Highlander", "Braveheart", "Trainspotting", "Troy", "", "Ben-Hur" and "Wonder Woman", as well as television series such as "Game of Thrones" and "Sons of Anarchy".
 On 3 January 2017 Cosmo entered the nineteenth series of "Celebrity Big Brother", on Day 19 of the series he won a pass to the final on 3 February 2017 and finished in fourth place.
James M. Redfield (born 1935) is the Edward Olson Distinguished Service Professor of Classics at the University of Chicago.
 He has made numerous contributions to current scholarship on Homer and Herodotus, probably the most notable of which is his book, "Nature and Culture in the Iliad: The Tragedy of Hector" (University of Chicago Press, 1975), an anthropological reading of the Iliad with the stated goal of analyzing Hector's role in the work.
Hector the Mighty (Italian: Ettore lo fusto ) is a 1972 Italian comedy film directed by Enzo G. Castellari.
 A parody of Homer's "Iliad" set in modern times, it is loosely based on the 1966 novel "Le roi des Mirmidous" by Henri Viard and Bernard Zacharias.
Same (Greek: Σάμη ), also Samos (Σάμος) is an Ancient Greek name of a Homeric island in the Ionian Sea, near Ithaca and Cephalonia.
 In Homer's Odyssey Same is described as part of Odysseus's kingdom together with Ithaca, Dulichium, and Zacynthus.
 The Iliad, book II, in the Catalogue of Ships, contains a different list of islands comprising Odysseus's kingdom.
 Same is included together with Ithaca, Neritum, Krocylea, Aegilips and Zacynthus, indicating that the "Catalogue of Ships" could be a later addition to the Iliad.
Kingsman is a British-American media franchise focused on the fictional organisation "Kingsman", which originally appeared in a UK-made spy action-comedy comic book series written by Mark Millar and Dave Gibbons, colored by Angus McKie, edited by Nicole Wiley Boose, published by Icon Comics, an imprint of American published Marvel Comics.
 Volume 1 of this series, released in 2012, deals with a super-spy recruiting his young nephew to the secret service, channeling the classic James Bond films, and other spy thrillers.
 The first volume of the series was originally known simply as The Secret Service and was rebranded to tie-in with the The comic series is set in Mark Millar's shared universe, the "Millarverse"; with the celebrity kidnappings taking place in "Kingsman" Vol.
 1 being referenced in "Kick-Ass 3" #8.
 A stand-alone sequel set in both the continuity of the original comic and that of the film series, subtitled "The Big Exit", was released in the September/October 2017 issue of "Playboy Magazine", by Rob Williams with art from Ozgur Yildirim.
 The second volume of "Kingsman", subtitled "The Red Diamond", was released through Image Comics in September 2017.
 A feature film loosely based on "The Secret Service", directed by Matthew Vaughn and co-written by Jane Goldman, was released in February 2015.
 The film stars Colin Firth, Taron Egerton, Michael Caine, Samuel L. Jackson, Mark Strong, Sophie Cookson, Sofia Boutella, Jack Davenport, and Mark Hamill.
 A sequel to this film, subtitled "", was released in September 2017.
Guru is a 2007 Indian drama film loosely based on the life of Dhirubhai Ambani, a business magnate who founded Reliance Industries.
 The film was co-written and directed by Mani Ratnam.
 It stars Abhishek Bachchan, Aishwarya Rai, R. Madhavan, Vidya Balan, Arya Babbar, and Mithun Chakraborty in the leading roles.
 The film also has Mallika Sherawat in a guest appearance.
 The score and soundtrack for the film was composed by A. R. Rahman.
 The film was dubbed and released simultaneously in Tamil as "Guru" and in Telugu as "Gurukanth".
 In the Tamil version of the film, the lead role (Abhishek Bachchan) was dubbed by Suriya.
 The film was released on 12 January 2007 with its première at the Elgin Theatre in Toronto, Canada, on Thursday 11 January 2007, making it the first Indian film to have a mainstream international première in Canada.
 The film was premiered in the Tous Les Cinemas du Monde (World Cinema) section of 2007 Cannes Film Festival.

Question: What film loosely based on Homer's "Iliad" included an appearance by James Cosmos?
Answer: Troy