Game engine recreation explained

Game engine recreation is a type of video game engine remastering process whereby a new game engine is rewritten from scratch as a clone of the original with the ability to load the original game's data files such as music, textures, scripts, shaders, levels, and more. The new engine should read these data files and, in theory, load and understand them in a way that is indistinguishable from the original. The result of a proper engine clone is often the ability to play a game on modern systems that the old game could no longer run on. It also opens the possibility of community collaboration, as many engine remake projects tend to be open source. Game engine recreation can be beneficial to game publishers because the legal use of a re-creation still requires the original data files, as a player must still purchase the original game in order to legally play the re-created game (as detailed in this list of game engine recreations).

Motivation

Game engine recreations are made to allow the usage of classical games with newer operating system versions, recent hardware or even completely different operating systems than originally intended. Another motivation is the ability to fix engine bugs which is often hard or impossible with the original engines (with notable exceptions, see community patch) once a software has become unsupported, with the source code not available.

Methods

Top down

See also: High-level emulation. When game engine recreations are made in a top down development methodology, in the first step the general game's functionality is programmed and the structure is defined. Then, in later steps, the resulting engine is adapted to the specific detail behaviour of the original game, often by reverse engineering, debugging and profiling the original. An example is OpenRA based on specifications contributed by the community by clean-room re-implementations[1] without dis-assembling the original executable, which result in game engines whose behavior differs from the original.[2] Another example is the Total Annihilation engine remake Spring Engine, which resulted in being used for many more games. Typically, this approach results in an approximation of the original behaviour only and not a "clock cycle wise" identical behaviour. On the positive side, running code exists faster, and the finally resulting source code is less specifically tied to a specific, single game and can be reused as a general game engine for other games.

Bottom up

Unlike Top down game engine recreations, bottom up dis-assembled/decompiled versions for a specific game are often able to replicate the behaviour of the original exactly. In these cases, the game core is recreated bottom up with reverse engineering of the original dis-assembled binary executable, CPU instruction for instruction. In the development phase this has the disadvantage that for a long time no running prototype exists. Also on the negative side, the resulting code is very specifically tied to this single game, often ugly ("pseudo-assembly code"[3] [4]), and can hardly be reused as general game engine. Examples are CSBWin or OpenTTD. Most often, the result is also not called "game engine" but "game recreation" or "game clone". MAME is an example of a video game engine emulation project which also follows this philosophy for accurate representation of the games.

Source code ports

See also: Source port and List of commercial video games with available source code. Occasionally, as was the case with some of the engines/game cores in ScummVM, the original developers have helped the projects by supplying the original source code (those can be then called source ports). This is the best case, optimal for accuracy and minimizing the effort. An example is Beneath a Steel Sky.[5] [6]

Alternatives

Emulation of classical systems or operating systems is an alternative to an engine recreation; for instance DOSBox is a notable emulator of the PC/MS-DOS environment. Static recompilation is another approach based on the original binary executable, potentially leading to better performance than emulation; an example is the 2014 ARM architecture version of StarCraft for the Pandora.[7] [8] [9] Another alternative are source ports for the seldom cases that the source code is available; examples are Jagged Alliance 2[10] or Homeworld[11] [12] [13] (more examples in the List of commercial video games with available source code).

See also

Notes and References

  1. Web site: OpenRA/OpenRA. GitHub. en. 2018-08-30.
  2. https://github.com/OpenRA/OpenRA/wiki/Development-Goals Development-Goals
  3. https://pyra-handheld.com/boards/threads/starcraft.73844/page-3#post-1292053 Release: Starcraft
  4. http://dmweb.free.fr/?q=node/851 Chaos Strikes Back for Windows (and Linux, MacOS X, Pocket PC)
  5. Web site: Latest Developments . . August 2, 2012 . July 14, 2013. Support for Beneath a Steel Sky, made possible thanks to Revolution Software supplying us with the original assembly source code!.
  6. http://www.classicdosgames.com/game/Beneath_a_Steel_Sky.html Source code
  7. Web site: Starcraft für ARM-Handheld kompiliert . 2014-03-10. Peter . Steinlechner . 2014-03-25. de . golem.de.
  8. Web site: StarCraft . notaz . 2014-03-04 . 2014-03-26 . repo.openpandora.org.
  9. Web site: Starcraft . The "no source, no port" rule is not completely true, you can get something similar (but not the same) as a port through static recompilation. Similar stuff was done several times by M-HT for some DOS games. The game was also converted for Android with somewhat similar approach. . notaz . 2014-03-04 . 2014-03-29 . openpandora.org . 2015-12-10 . https://web.archive.org/web/20151210192115/https://boards.openpandora.org/topic/15820-starcraft/ . dead .
  10. Web site: Jagged Alliance 2 Source Code To Be Bundled With Wildfire . https://web.archive.org/web/20130108130325/http://ve3d.ign.com/articles/news/18050/Jagged-Alliance-2-Source-Code-To-Be-Bundled-With-Wildfire. dead. January 8, 2013. Andrew . Burnes . ign.com . 2012-12-23 . 2004-02-25.
  11. Web site: Homeworld Source Code Released . 2003-10-08 . Andy . Largent . . 2011-01-10 . dead . https://web.archive.org/web/20131012012745/http://www.insidemacgames.com/news/story.php?ArticleID=8516 . 2013-10-12 .
  12. Web site: Archived copy . 2014-03-30 . dead . https://archive.today/20120804163454/http://www.homeworldsdl.org/LICENSE.txt . 2012-08-04 .
  13. Web site: Game of the Week #3 – Homeworld SDL . 2011-06-23 . pandorapress.net . 2013-04-24 . pandorapress staff . [...] released port of HomeworldSDL. [...]enables your Pandora to experience the excellent work done by the guys at HomeworldSDL..