Game engine recreation

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

Game engine recreations are remade engine interpreters for video games that replace the original engine binary that came with the original game. A notable example of game engine recreation is ScummVM which successfully recreated the SCUMM engine of classical LucasArts' point and click adventures. For further examples, refer to the 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 Abandonware, with the source code not available.

Methods

Top down

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

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 originally. 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 specific, single game and can be re-used as 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 originally 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 specific 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

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.

List of game engine recreations

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

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.[5][6][7]

Another alternative are source ports for the seldom cases that the source code is available; examples are Jagged Alliance 2[8] or Homeworld[9][10][11] (more examples in the List of commercial video games with available source code).

References

  1. https://github.com/OpenRA/OpenRA/wiki/FAQ#is-that-legal
  2. Development-Goals openra on github.com
  3. Release: Starcraft on pyra-handheld.com "As you can see it doesn't look much different from x86 disassembly, the only difference is that you can compile it for other 32bit archs (there is no way it would work on 64bit.."
  4. Chaos Strikes Back for Windows (and Linux, MacOS X, Pocket PC) on Dungeon Master Encyclopedia "About 120,000 lines of pseudo-assembly language. Crazy thing to do. But it works."
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. Lua error in package.lua at line 80: module 'strict' not found.
  7. Lua error in package.lua at line 80: module 'strict' not found.
  8. Lua error in package.lua at line 80: module 'strict' not found.
  9. Lua error in package.lua at line 80: module 'strict' not found.
  10. http://www.homeworldsdl.org/LICENSE.txt
  11. Lua error in package.lua at line 80: module 'strict' not found.

External links

<templatestyles src="Asbox/styles.css"></templatestyles>