Carnage3D - Open source remake of GTA 1
Jericho (on YouTube, GitHub and elsewhere also known ascodenamecpp ) is developing an open source remake of Grand Theft Auto 1. This is a new analogue of the outdated and now unsupported OpenGTA. Development began in 2019 and continues to this day.
The ZIP archive in the "carnage3d-master" folder contains the latest version, as well as the source code and more.
Status
It is currently at a very early stage.
Progress:
Used tools and technologies:
Box2D
cJSON
Dear ImGui
STB
GLM
GLFW
GLEW
OpenAL Soft
Compiling on Linux
At this point, the makefile is configured, so the project will be built using the clang compiler.
Before building the project, the system must be installed:
apt install libglew-dev libglm-dev libgl1-mesa-dev xorg-dev clang
apt-get install libopenal-dev
Run these commands in terminal:
git clone --recurse-submodules
cd carnage3d
do
You will need Visual Studio 2015 to build the project. Passing an additional system environment SDKDIR with a variable path where all dependencies are located.
These dependencies:
GLEW
GLM
OpenAL Soft
Customize
Before starting the game, you need to configure it, in the gamedata/config/sys_config.json.default file there is an example of a configuration document - you need to copy and paste it into the same directory, but without the “.default” suffix: gamedata/config/sys_config.json .
The most important parameter - gta_gamedata_location - is the location of GTA1 game data resources.
How to play
The game requires original GTA1 game resources (full or demo). Demos are available for download at LibertyCity.ru
You can easily download the full or demo version of the game and play it by simply typing a few commands in the console:
do get_demoversion
do run_demoversion
Please note that the game must be compiled and configured before this step, as shown above.
Tested on Ubuntu Linux, Windows 7 and Windows 10.
Command line options.
-mapname SANB.CMP
To specify the path to the game data, add the -gtadata argument and enter the path
To enable split screen mode, write -numplayers. For example -numplayers 2. A maximum of 4 players is supported.
Controls:
Like the original
Arrows/Wheel - Change walking direction
Space to slide around the car
Enter to enter or exit the car
TAB to turn the vehicle's hazard lights on or off (if any)
Z and X to change weapons and Ctrl to fire
In Free View camera mode, move using the W , S , A , D keys.
In addition, there is support for XBox-compatible gamepads. To enable it or change the default key bindings, create a gamedata/config/inputs.json configuration file (copy and paste the inputs.json.default template) and modify it to your liking.
Also in the archive there is a folder "carnage3d_test01", in which, in fact, the test version.
To run it you will need:
1) Microsoft Visual C++ 2015 Redistributable
2) Full version of GTA1 for Windows
4) Preferably Windows 7
Before starting, edit the settings file in gamedata/config/sys_config.json and specify the gta1 data location (gta_gamedata_location) and screen settings.
This demo is not guaranteed to work.
By the way, the debugging panel is enabled by pressing the 'C' key.
fast and easy
-
1601801876_carnage3d-master.zipDownload (2.62 MB)Password: libertycity