Star Wars: Knights of the Old Republic (video game)
The main goal is to find the Star Forge, a powerful battle station that builds an endless fleet, which is used against the Republic. The player also has to kill Darth Malak.