Ueda Castle

The Siege of Ueda Castle (上田城の戦い), also known as the Ueda Conflict (上田合戦) or the Defense of Ueda Castle (上田城攻防戦), were two battles fought between the Tokugawa and Sanada families. On both occasions, the Tokugawa were invading the Sanada family lands during their respective conquests. The first attempt was part of Ieyasu's plans to invade Kai after dealing with the Hōjō. His men fell victim to a deadly water attack, which lead him to eventually call off the siege.

Hidetada led the second march near Ueda Castle, although his primary objective wasn't taking the castle. His apparent mission was to march along Nakasendō, help the Date and Mogami in the east, and then assist the main forces at Sekigahara. During his march, he intercepted the Sanada troops and was ultimately stalled.

Historically, both battles were won by the Sanada despite their inferior numbers.

Samurai Warriors
In the first game, Ueda Castle serves as a battleground between the Sanada and Tokugawa forces.

The Sanada's scenario in Yukimura's upper path story shows Yukimura first told to defeat Tokugawa generals in the north, then lure them into the center into the castle. He is later told to wait for a signal to open the flood gates by his father in order to drown the Tokugawa forces by the rivers and turn the tide of the battle. Frustrated, Ieyasu orders Hanzō Hattori to assassinate Masayuki, where Yukimura must defend him by defeating Hanzō. He then charges Ieyasu's camp and defeats him, winning the battle. However, Yukimura feels that the victory is pointless and begins to lose faith in his resistance against the Tokugawa.

The Tokugawa's scenario in the edit characters' story shows the warrior fight with the Tokugawa against his/her former friend, Yukimura, and the Sanada after the Takeda's defeat at Nagashino. In the battle, the player must succeed in everything that failed in Yukimura's scenario. After winning the battle in the exterior the player must enter the interior of Ueda Castle and proceed to the lowest floor where the player finds Yukimura and Hanzō dueling each other. The player may choose who to defeat, deciding which side the player will fight on in the next scenario, Siege of Ōsaka Castle.

In Kunoichi's story, Kunoichi must hurry to the bottom floor of Ueda Castle to rescue Yukimura from death by Hanzō. If she saves Yukimura from harm, she will fight alongside him at Ōsaka Castle. If Yukimura comes to harm, Kunoichi will infiltrate Odawara Castle to prevent Ieyasu from reaching Ōsaka. Hanzō has a somewhat similar scenario where he infiltrates Ueda to steal a secret letter from the Toyotomi. During this scenario, Hanzō must not be discovered by Sanada troops while trying to reach the bottom floor of the castle in order to retrieve the letter.

The Uesugi led by Kenshin Uesugi also besiege this castle in two different scenarios. One features the undermanned Uesugi army struggling against Masayuki's tactics and the other Sanada clan generals as Shingen Takeda slips away to the capital, Kenshin's lack of focus causes the Uesugi army to struggle and suffer heavy casuaties, before Kenshin heads into the castle personally to capture it for himself. The other is featured in Yoshimoto Imagawa's story mode where the Uesugi fare much better, and are aided by both the Imagawa and Masamune Date's army forming a large coalition. Kenshin teaches Yoshimoto as the battle progresses and they capture each stronghold gradually advancing on Shingen himself, unlike the other scenario, Masayuki is not present and the Uesugi do well enough to send Yoshimoto into the castle with other allies.

Ina's defense of Numata Castle also takes place here and is erroneously still called Ueda in Samurai Warriors: Xtreme Legends. She has only a handful of soldiers defending the western keep and Masayuki alone tries to enter, claiming to see his children. After he is defeated, a large Sanada army in tow led by Yukimura and Kunoichi arrive, and they pressure the castle with Ina struggling to defend it on all flanks. Tadakatsu Honda's arrival in the north is a relief to Ina, and allows her to muster up the courage to repel Masayuki's final attack before retiring to a life of peace.

In Samurai Warriors 2, The battle remains relatively the same except is more historically accurate. The Tokugawa's scenario is the 1585 battle with the Tokugawa lead by Ieyasu while the Sanada's scenario is the 1600 battle and the Tokugawa is lead by Ieyasu's son, Hidetada Tokugawa.

The Sanada's, a segment of the Western Army, scenario in Yukimura's story has him work with his friends Keiji Maeda and Kanetsugu Naoe. Yukimura starts off by forcing Tokugawa generals towards the river. He then goes to defend the front gate of Ueda. Afterwards, he goes to defend Toishi Castle from his brother, Nobuyuki Sanada, who is fighting in the Tokugawa ranks alongside his wife, Ina. he is then ordered to escort his ally to the flood gates once the Tokugawa forces are in place. Once this succeeds, a frustrated Hidetada orders Hanzō to kill Masayuki. Keiji defends Masayuki while Yukimura defeats the duplicates of Hanzō until he defeats the real one. All forces then charge the main camp and defeat Hidetada. Once victory is achieved, Yukimura and Kanetsugu briefly celebrate when a messenger tells them Mitsunari Ishida and the Western Army were defeated by Ieyasu and the Eastern Army at Sekigahara.

The Tokugawa's scenario has Ieyasu, Tadakatsu, and Hanzō laying siege to Ueda, protected by the combined forces of the Sanada and Uesugi. Yukimura protects the front gate set in hyper mode. in order to weaken Yukimura, the player must overcome ambushes, prevent the flood attack, and avoid Yukimura by going around him and entering the main keep through the back gate and defeat Masayuki. Once done, Yukimura will feel discourage over the loss of the castle and will lose his strength. Kanetsugu, however, will convince the remaining Sanada to charge the main camp. Defeat them to win the battle.

Ueda Castle serves as the battlefield for the scenario in Nobunaga and Nō's story for the elimination of the Takeda. The Xtreme Legends expansion includes the stage in Katsuie's story. The coalition of the Oda, Tokugawa, and Hōjō battle the combined forces of the Takeda, Sanada, and Uesugi. During the battle, the player must protect various Takeda generals that have betrayed the Takeda. In Nobunaga and Nō's scenario, sometime in the battle, the Hōjō will retreat back to there main stronghold Odawara Castle after news of a siege on it reaches the Hōjō, but Kotarō Fūma will comeback later to fight the player. However, playing Katsuie's scenario will have the entire Hōjō charge for Nobunaga.

In the first and second game, the battlefield serves for scenario Defense of Numata Castle where Ina protects the castle from Masayuki, and Yukimura. It is also included in the fourth story of Samurai Warriors: Katana where Magoichi and the player come to aid Ina.

In Samurai Warriors 3, the 1600 battle is replaced with Numata Castle and the 1585 battle is the major focus. The main difference is that Ieyasu allies with Ujiyasu, and together they siege the castle. The Sanada army also gains new generals as the Date (Magoichi and Masamune) and the Uesugi (Kanetsugu, Aya and Keiji) forces assist them. A fire attack, ambushes, and other tricks are used to replace the water attack favored in previous titles. Only Yukimura, Kunoichi, Magoichi, Masamune, and Kanetsugu gets the Sanada side as part of their story, while Tadakatsu, Ina, and Hanzo gets the Tokugawa side. In the expansion, Kotarō also gets the Tokugawa side as part of his story.

Warriors Orochi
In the first game, the battlefield serves as the first scenario in the Shu Story. The player is tasked with escaping to the southeast with Zhao Yun, Xing Cai, Yoshihiro Shimazu, and Zuo Ci. Once they reach outside of the castle, Zuo Ci will disappear for the time being. While escaping, they meet Ginchiyo at Toshi Castle. When news of Zhao Yun's escape reaches Cao Ren, his unit will charge forward only to be stopped by the reappearance of Zuo Ci. Once the player reaches the southeast after defeating Zhang He, the stage will end in victory. Although Zuo Ci doesn't join Zhao Yun's army after the battle, Ginchyo does.

In the second game, the stage serves as the dream mode scenario for Kotarō Fūma, Gan Ning, and Zhang Liao. The task is to capture Ueda Castle by using the Western Path and the Northern Path. On the way, they can have an option to rescue Goemon from Ling Tong. Doing so will cause Goemon to help them. They also can stop Guan Ping from activating the flood attack upon their allies, who is holding off the enemy and protecting Sun Quan, who must not be defeated. Finally, Kotarō will summon his doubles to hold off the enemy at the south, only for them to be defeated by Hanzo's doubles. When they arrive at Ueda Castle, they must defeat Ranmaru, Kunoichi, and Zhuge Liang to capture it. After doing so, some enemy officers will defect to the allied side, while some will fled. Jiang Wei will then arrive with enemy reinforcement and charge with Meng Huo towards the allied main camp. Defeating Meng Huo will complete the stage.

If the player is spotted by Meng Huo's main force before capturing Ueda Castle, the flood attack will immediately happen and Meng Huo's army will launch a full attack at the allied main camp. The player will need to defeat everybody while protecting Sun Quan.

In Warriors Orochi 3, Sima Zhao was originally gonna be a part of this battle in the original timeline, but an argument with Zhuge Dan causes him to go to Odawara Castle instead but both castles fell the Demon army anyway. Traveling back in time to Ueda Castle thanks to Kaguya, Sima Zhao insists on joining the battle together with Zhuge Dan, Sakon Shima, and Zhang Liao in order to rescue Wang Yuanji and Taishi Ci. Upon entering the castle, the six of them, realizing that Yuan Shao and Dong Zhuo aren't working together to capture the castle, decide to concentrate on Yuan Shao's men while Yuanji distracts Dong Zhuo to buy time. When Zhong Hui arrives at assist Dong Zhuo, Sima Zhao and the others race to Yuanji's aid and achieve victory. After hearing from Zhao about the future, Zhuge Dan and the others join the Coalition.

Another battle catches Ueda Castle in a time warp which was caused by Seimei Abe. The Coalition fights through the Demon army and the shikigami forces. With Seimei's help, the Coalition drives back Yuan Shao.

Kessen
The second siege of Ueda Castle is given brief mentions during cinematics before, during, and after Sekigahara in Kessen. If Ieyasu loses Sekigahara, he will be forced to retreat back to his home and reunites with his son for support. Mitsunari and his men follow closely in the rear and call upon their Sanada allies for assistance. While their forces don't clash at the castle itself, Ieyasu's escape path cuts through the open plains of Ueda.