codenamecpp / carnage3d

Reimplementation of Grand Theft Auto 1 [GTA1]
MIT License
470 stars 38 forks source link
c-plus-plus gta gta1 reimplementation video-game

Carnage3D

Carnage3D Logo

This is open source Grand Theft Auto 1 remake project.

Build Status Github Stars Platforms License: MIT

Status

Currently it is in very early stage, a progress so far: https://youtu.be/KnqaO0YZzZY

Thanks to modern technologies, it is now possible to play directly in web browser! Try it https://codenamecpp.github.io/carnage3d/web/carnage3D_wasm.html (tested in Chrome v85 64 bits and Firefox v81.0.1 64 bits, will not work in Edge).

Tools and technologies used

Compiling on Linux

At the moment, makefile configured so project will build with clang compiler.

Before build project make sure to install dependencies:

Run these commands in terminal:

Compiling on Windows

You will need Visual Studio 2015 to build the project. Before compile, add system environment variable SDKDIR with path where all the dependencies lives. These dependencies are:

Configure

Game needs to be configured before launch, there is example config document in gamedata/config/sys_config.json.default - it must be copy-pasted to same directory but withoud ".default" suffix: gamedata/config/sys_config.json .

Most important param there is gta_gamedata_location - it is location of GTA1 gamedata resources.

How To Run

Original GTA1 game resources required in order to play (Full or DEMO). Demo version still available for download https://www.rockstargames.com/gta/extras/demos.html .

It is possible to download and play demo version of the game easily just typing a few commands in console:

Note that game must be compiled and configured before this step as described above.

Tested on Ubuntu Linux, Windows 7, Windows 10.

Command Line Params

Controls

It is similar to original:

When in "Free Look" camera mode, moving with W, S, A, D keys.

In addition there is support of xbox-compatible gamepads. To enable it or change default key bindings create config file gamedata/config/inputs.json (copy-paste template inputs.json.default) and modify it as you wish.

Other GTA 1/2 re-implementations

Screenshots

First test launch on Linux ScreenShot

Split screen test on Windows ScreenShot