Retro Engine
From Sega Retro
This short article is in need of work. You can help Sega Retro by adding to it.
The Retro Engine, also known as RSDK, is a game engine created by "The Taxman" (Christian Whitehead). It is designed to deliver features from the 32-bit console era and below, and focuses on things like raster effects, palette manipulations, 'mode 7', and other features of retro games from back then, unlike modern engines today. The engine is multi-platform, and it fully supports modern essentials such as widescreen and online functionality.
Contents
Engine
The engine contains several features built for creating 2D titles, including collision systems, palette manipulation, loading of graphics via sprite sheets, and saving save data in custom binary files. Version 1 of the engine has a scripting language called TaxReceipt. Versions 2 through 4 have a scripting language dubbed "RetroScript" by the community. Version 5 of the engine contains RetroScript, but as a language transpilable to C, which gets compiled as a dynamically linked library that communicates with the engine. The engine stores all of the game data, including sprite sheets, metadata files, and RetroScript scripts/bytecode, in an (encrypted) archive file, with a .bin extension for v2, and a .rsdk extension for v3 onward.
List of released Retro Engine games
- Retro Sonic (RSDKv1)
- Sonic Nexus (RSDKv2)
- Sonic the Hedgehog CD (2011) (RSDKv3)
- Sonic the Hedgehog (2013) (RSDKv4)
- Sonic the Hedgehog 2 (2013) (RSDKv4)
- Sonic Mania (RSDKv5)
- Sonic Origins (RSDKv5U)
List of unreleased or cancelled Retro Engine games
- Retro Sonic Nexus (likely RSDKv2 or RSDKv3)
- Freedom Planet (RSDKv4)
History
The origins of the Retro Engine date back to the early 2000s, where it came to fruition out of the Retro Sonic project, by The Taxman, out of a need to have a more performant engine than Multimedia Fusion. This earliest version was written in Visual Basic, and released as the engine that the 2002 demo of Retro Sonic ran on. After the release of that demo, the engine was moved over to C++. After a development hiatus of over a year, this original version was scrapped, and the engine was rewritten from the ground up.
In 2008, The Taxman joined Nexus Team, and subsequently, Sonic Nexus, the game they were working on, was developed for his new Retro Engine v2 (RSDKv2). In 2011, Nexus was intended to be merged with Sonic XG and Retro Sonic to form Retro Sonic Nexus, which would have also ran on Retro Engine. However, due to professional endeavors that the Taxman was working on at the time, these plans fell through and the merged project was shelved indefinitely.
Those professional endeavors turned out to be Sonic the Hedgehog CD (2011) for Xbox Live Arcade, PlayStation Network, iOS, and Android, which was developed by The Taxman and Stealth (Simon Thomley). This remake ran on a 3rd revision of Retro Engine (RSDKv3).
Those ports were so successful, that The Taxman and Stealth were commissioned to do two more remasters in 2013: Sonic the Hedgehog (2013), and Sonic the Hedgehog 2 (2013), for iOS and Android. These remasters both run on Retro Engine v4 (RSDKv4).
Whitehead was approached by Sabrina “Strife” DiDuro, one of the developers behind Freedom Planet, about possibly porting their game to RSDKv4, so that the game could run on consoles. A small proof of concept demo for this was made, but plans for the port fell through, as another, simpler way to get the game to consoles was found shortly thereafter.
In 2016, Sonic Mania, another Retro Engine-powered game, was announced, and fully released in 2017, running on a new and much more feature rich, Retro Engine v5 (RSDKv5). In late 2018, with Christian joining the new game studio known as Evening Star, it was decided to rename the Retro Engine and its RSDK format to the Star Engine and the Star SDK respectively.[1] However, this decision was eventually reversed, as Star Engine developed and became a separate, 3D focused engine, for the studio to use for their title "Penny's Big Breakaway". Retro Engine currently is still the copyright of Evening Star and Christian Whitehead.
In June of 2022, Sonic Origins was announced. It is a compilation that contains all the remakes of Sonic 1, 2, and CD, as well as a new remake of Sonic 3 & Knuckles. All of these titles run in a new iteration of RSDKv5, dubbed Retro Engine v5 Ultimate, or RSDKv5U. This is a specially modified version of RSDKv5 that contains backwards compatibility with both Retro Engine v3 and Retro Engine v4, allowing the Sonic CD, Sonic 1, and Sonic 2 to run with minimal modifications. However, despite that, modifications were still made to the titles, such as removing audio (audio is played through Hedgehog Engine 2, which the menus of the compilation run in) and adding new content, including the ability to play as Amy in all the titles, and Knuckles in Sonic CD.
Decompilations
In January of 2021, Retro Engine v3 and v4, and the games they were used for, were completely reverse engineered. The user Rubberduckycooly released two projects on GitHub: one of RSDKv4, for Sonic 1 and 2, and the other, RSDKv3, for Sonic CD. At the time, there were no plans for Sonic Mania to be also decompiled, due to the game's steep complexity compared to previous releases.[2]
However, in August 2022, despite the previous statement, decompilations for Sonic Mania and its accompanying revision of Retro Engine, RSDKv5, were released. Later on, RSDKv5U was also reverse engineered and added to the RSDKv5 decompilation repository.
These decompilation projects have allowed for non-official ports of the various RSDK revisions, and the games they run, for platforms such as PS Vita, Wii U, and 3DS, as well as furthering the development of modding/development tools for the engines. All the decompilations also feature a built in mod API, so no external mod loader is required. Any users looking to use these decompilations to play RSDK titles are still required to obtain a copy of the game's data through official sources, such as Google Play, the Apple App Store, or Steam. Furthermore, while pre-built binaries are hosted on the release pages of the decompilations, access to Sonic Mania Plus or Sonic Origins Plus content in those releases is disabled, and is restricted to self-compiling the binaries, as a countermeasure to the decompilations possibly being used as a means to illegitimately play the aforementioned DLCs.[3]
Most up to date news can be checked on the dedicated thread in the Sonic Retro's forums.