Russian developer Nikita Aksyonov, also known as Carter54, has ported the classic Carmageddon to the browser. This is not about emulation through DOSBox, but a native web port of the original game from 1997, which runs directly in modern browsers.
According to the author, published on DTF (dtf.ru), the fan project Dethrace, which focuses on reverse engineering Carmageddon and restoring the engine for modern systems, served as the basis. Aksyonov notes that Dethrace has been decompiled about 70%, but the main game functions already work, which was enough for the browser port.
As a result, in a 'couple of evenings' a port was created with support for 60 FPS, enhanced rendering 'in the style of the original 3Dfx' and more familiar racing controls using the arrow keys instead of the old NumPad scheme. You can play through an online demo, and the author has posted the source code on GitHub.
According to the repository description, the port uses WebAssembly, WebGL 2 and Web Audio. Single-player mode, menus, races, opponents, pedestrians, bonuses, replays, saves via IndexedDB, keyboard and mouse are supported. A legal copy of Carmageddon is needed for local launch: the original game data is not included in the repository.
Source: linux.org.ru
