Carnage3D - Remake of GTA 1 with Open Source
Jericho (known on YouTube, GitHub, and many other places as codenamecpp) is developing a remake of Grand Theft Auto 1 with open source. This is a new alternative to the outdated and no longer supported 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 much more.
Status
It is currently in a very early stage.
Progress:
Tools and technologies used:
Box2D
cJSON
Dear ImGui
STB
GLM
GLFW
GLEW
OpenAL-Soft
Compiling on Linux
Currently, the makefile is set up, so the project will be built using the clang compiler.
Before building the project, make sure to install the following system:
apt install libglew-dev libglm-dev libgl1-mesa-dev xorg-dev clang
apt-get install libopenal-dev
Run these commands in the terminal:
git clone --recurse-submodules
cd carnage3d
make
Compiling on Windows
To build the project, you will need Visual Studio 2015. Pass an additional system environment SDKDIR with the path variable where all dependencies are located.
These dependencies:
GLEW
GLM
OpenAL-Soft
Setup
Before launching, the game needs to be configured; in the file gamedata/config/sys_config.json.default there is an example configuration document — it needs to be copied and pasted into the same directory, but without the suffix “.default”: gamedata/config/sys_config.json.
The most important parameter — gta_gamedata_location — is the location of the GTA1 game data resources.
How to play
To play, you need the original game resources of GTA1 (full or demo). Demo versions are available for download on 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:
make get_demoversion
make run_demoversion
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.
To select a level to play, add the command line argument -mapname, for example: -mapname SANB.CMP
To specify the path to the game data, add the argument -gtadata and write the path
To enable split-screen mode, write -numplayers. For example -numplayers 2. A maximum of 4 players is supported.
Controls:
As in the original
Arrow keys/wheel — change walking direction
Space to slide on the car
Enter to enter or exit the car
TAB to turn on or off the car's hazard lights (if available)
Z and X to change weapons and Ctrl to shoot
In the "Free Look" camera mode, movement is done using the W, S, A, D keys.
Additionally, there is support for Xbox-compatible gamepads. To enable it or change the default key bindings, create a configuration file gamedata/config/inputs.json (copy and paste the template inputs.json.default) and modify it as you wish.
There is also a folder "carnage3d_test01" in the archive, which is the test version.
To run it, you will need:
1) Microsoft Visual C++ 2015 Redistributable
2) Full version of GTA1 for Windows
3) Hardware that supports OpenGL 3.2
4) Preferably Windows 7
Before launching, edit the settings file in gamedata/config/sys_config.json and specify the location of the gta1 data (gta_gamedata_location) and screen settings.
This demo version is not guaranteed to work.
By the way, the debug panel is activated by the 'C' key.
Jericho (на YouTube, GitHub и много где еще так же известный как codenamecpp) занимается разработкой ремейка Grand Theft Auto 1 с открытым исходным кодом. Это новый аналог устаревшему и ныне не поддерживаемому OpenGTA. Разработка началась в 2019 году и ведется по сей день.
В ZIP-архиве в папке "carnage3d-master" имеется последняя версия, а так же исходный код и многое другое.
Статус
В настоящее время он находится на очень ранней стадии.
Прогресс:
Используемые инструменты и технологии:
Box2D
cJSON
Уважаемый ImGui
STB
GLM
GLFW
GLEW
OpenAL-Soft
Компиляция в Linux
На данный момент make-файл настроен, поэтому проект будет собираться с помощью компилятора clang.
Перед сборкой проекта обязательно установленную систему:
apt установить libglew-dev libglm-dev libgl1-mesa-dev xorg-dev clang
apt-get установить libopenal-dev
Запустите эти команды в терминале:
git clone --recurse-submodules
cd carnage3d
сделать
Компиляция в Windows
Для сборки проекта вам понадобится Visual Studio 2015. Передача дополнительной системной среды SDKDIR с переменным путем , в котором находятся все зависимости.
Эти зависимости:
GLEW
GLM
OpenAL-Soft
Настроить
Перед запуском игру необходимо настроить, в файле gamedata/config/sys_config.json.default есть пример конфигурационного документа — его нужно скопировать и вставить в тот же каталог, но без суффикса «.default»: gamedata/config/sys_config.json .
Самый важный параметр — gta_gamedata_location — это расположение ресурсов игровых данных GTA1.
Как играть
Для игры необходимы оригинальные игровые ресурсы GTA1 (полная или демо) . Демо-версии доступны для загрузки на LibertyCity.ru
Вы можете легко скачать полную или демо-версию игры и поиграть в нее, просто набрав в консоли несколько команд:
сделать get_demoversion
сделать run_demoversion
Обратите внимание, что игра должна быть скомпилирована и настроена перед этим шагом, как показано выше.
Протестировано в Ubuntu Linux, Windows 7 и Windows 10.
Параметры командной строки.
Чтобы выбрать уровень для игры, добавьте аргумент командной строки -mapname , например: -mapname SANB.CMP
Чтобы указать путь к данным игры, добавьте аргумент -gtadata и впишите путь
Чтобы включить режим разделённого экрана, напишите -numplayers. Например -numplayers 2. Максимум поддерживается 4 игрока.
Управление:
Как и в оригинале
Стрелки/колесо — менять направление ходьбы
Space для скольжения по машине
Enter, чтобы войти или выйти из машины
TAB для включения или выключения аварийных огней автомобиля (если есть)
Z и X, для смены оружия и Ctrl, чтобы стрелять
В режиме камеры «Свободный взгляд» перемещение осуществляется с помощью клавиш W , S , A , D.
Вдобавок есть поддержка XBox-совместимых геймпадов. Чтобы включить её или изменить привязки клавиш по умолчанию, создайте файл конфигурации gamedata/config/inputs.json (скопируйте и вставьте шаблон inputs.json.default) и измените его по своему усмотрению.
Так же в архиве имеется папка "carnage3d_test01", в которой, собственно, тестовая версия.
Для ее запуска вам потребуются:
1) Распространяемый компонент Microsoft Visual C ++ 2015
2) Полная версия игры GTA1 для Windows
3) Оборудование, поддерживающее OpenGL 3.2
4) Предпочтительно Windows 7
Перед запуском отредактируйте файл настроек в gamedata/config/sys_config.json и укажите местоположение данных gta1 (gta_gamedata_location) и параметры экрана.
Не гарантируется, что эта демо версия будет работать.
Кстати, панель отладки включается на клавишу 'C'.