Xin Castle

The Battle of Xin Castle or alternatively known as the Xincheng Rebellion was a conflict between Meng Da, who had recently defected to Shu, and Sima Yi of Wei. Zhuge Liang attempted to collaborate with Meng into making joint attacks to Wei's western provinces, but Sima Yi defeated Meng Da before he could join up with Shu.

In the novel, Xu Huang is also killed in this conflict.

Dynasty Warriors
The stage appears in Dynasty Warriors 5: Xtreme Legends as the Legend mode stage for Sima Yi, Cao Pi, and Xu Huang. As soon as the stage starts, Sima Yi will order the defeat of the enemy generals to convince Meng Da's soldiers to defect. While the Wei forces are attacking Meng Da's generals, reports of Zhuge Liang sending reinforcements will be revealed. Once all four of Meng Da's generals are defeated, Xin Castle's gatekeepers will open the castle, allowing the player to defeat their target. If the Wei forces take too long, Shu reinforcements will begin appearing, and they will delay the defection of the enemy gatekeepers. Should the Shu troops arrive, Sima Yi will order that the access points be taken to keep any more reinforcements from arriving. The victory objective will change to defeating both Zhuge Liang and Meng Da after the former arrives on the battlefield.

Warriors Orochi
In Warriors Orochi 2, the stage appears as the dream mode stage for Dian Wei, Zhou Tai and Ranmaru Mori as the three move to rescue their respective lords against Liu Bei and his Five Tiger Generals.

The player must first protect Cao Cao and Xin Castle by defeating the enemy officers around them, including Huang Zhong, Ma Chao, and Guan Yu. In the meantime, the player can have an option to defeat Pang De to open up a path for allied reinforcements. If successful, Masamune Date and his generals will arrive and protect Cao Cao. After doing so, the player will need to rescue Sun Quan and Nobunaga Oda by defeating the enemy officers near them, including Zhao Yun and Zhang Fei. Next, the player must escort them back to Xin Castle. On the way back, Yuan Shao will appear and pursue Nobunaga, while Yoshihiro Shimazu will appear and stop Sun Quan. The player will need to defeat both of them to ensure Sun Quan and Nobunaga's safety. After both lords have arrived, Liu Bei's main force will appear and charge towards Xin Castle. The player and Masamune's party (If successfully called for reinforcement) will then charge as well. Defeating Liu Bei will complete the stage, while any of Cao Cao, Sun Quan, and Nobunaga's defeat will count as a loss.