Without some form of compression, said Suzuki (through interpreter Mark Cerny), all of the content in Shenmue would have required 50-60 CD-ROMs. As that would have been ... prohibitive to the average consumer, the Shenmue team had to come up with ways to save space, though this sometimes created unexpected results. Like cats walking on two legs. One such bug – we'll get back to the cats, we promise – arose from the programming used to assign daily routines to Shenmue's non-player characters in the city of Yokosuka. In order to give the citizens the appearance of living out their lives, the development team used a combination of scripts and artificial intelligence. For example, characters were expected to follow a schedule: wake up, get breakfast, go to work, get lunch, go back to work, get dinner and go home – and their AI helped accomplish those tasks.
It was a clever way to give large groups of characters realistic, seemingly individual behavior, but it also led to one of the more interesting bugs during development. One day, the development team discovered there were no citizens to be found in one of the major sections of Yokosuka. Upon investigating, the team learned that the daily schedule had directed every citizen to buy breakfast from the same convenience store – at the same time. The store had become so jam packed with NPCs that they were unable to exit, leaving the streets completely empty.
"We had to increase the size of the automatic door and put a limit on the number of occupants in the store," said Suzuki, though he admitted that the solution resulted in many citizens being late for their virtual jobs.
As for the cats, that was related to the animation system used for non-player characters. Shenmue's NPCs could share motion data, so long as they had similar skeletons. This allowed the team to save space by reusing animation sets for multiple characters. It could, however, result in strange behaviors when it went awry. For example, a man could wind up with a female animation set, walking around like "Marilyn Monroe" as Suzuki put it. The funniest illustration of this problem – or most disturbing, depending on your point of view – was the sight of cats walking the streets of Yokosuka on two legs.