In today's post we will examine a patent application submitted by Sega back in 1998 relating to the generation of graphics suitable for interactive role playing games (RPGs), with the inventors listed as Yu Suzuki, Takeshi Hirai, Kazuo Kondo and Kazunori Masuda.
While Shenmue itself is not mentioned by name within the document, of course, the concepts described within can be readily recognized as pertaining to the soon-to-be-published game series. This includes two algorithms in particular for the automated generation of in-game content that were designed to save having to store vast amount of data on the limited space afforded by physical discs: Yu Suzuki dubbed these Magic Weather and Magic Rooms. We will focus on these two systems in this post.
The patent document contains 24 pages in total, over half of them being diagrams and flowcharts.
|
The US patent document contains 24 pages |
As a whole, the patent brings together a number of concepts that describe what we know today simply as the "game engine". The motivation was to ensure that the Graphical Processing Unit (GPU) receives display data fast enough to ensure that the display is updated frequently enough to maintain smooth output. The game prepares and sends a single image, or "frame", to the GPU in a never-ending loop. This means that the game's logic processing must be handled efficiently in the time period between one frame being sent to the GPU to be displayed, and the next.
An English-language version is available in the form of the US patent application document, from which the diagrams in this post have been sourced. The language used in the English version is rather stilted and confusing, so relevant snippets of text have been translated from the Japanese original in preference. Additional color images have been included for illustrative purposes.
Before diving into the patent itself, let's have a brief recap on what these two systems are about.
Thanks to LemonHaze who provided technical explanations and information about the implementation in the first two Shenmue games.
Magic Weather
Revolutionary when featured in Shenmue, the "Magic Weather" system controls the ever-changing climate and weather conditions experienced during play.
"The game contains a system that realistically recreates the weather and other natural phenomena. That system is called Magic Weather. In the game, the weather changes as time passes: fine, cloudy, rainy. These changes are based on the long-term weather data for Yokosuka, the town in which the game is set.
"Let's consider a case in the actual game where it is, say, fine one day and rainy the next. The weather conditions encountered by the player will differ depending on how they go through the game. For a player that moves ahead rapidly, they may visit a certain house on a fine morning. On the other hand, a player who plays more slowly may end up visiting the house the following night in the rain."
Become a Patron!