This is grand theft auto 1 remake project, just for fun.
Tools and technologies used:
- OpenGL 3.2
- Dear ImGui
- GLM math library
Compiling on Linux
At the moment, makefile configured so project will build with clang compiler.
Before build project make sure to install dependencies: apt install libglew-dev libglfw3-dev libglm-dev libgl1-mesa-dev xorg-dev clang
Run these commands in terminal:
- git clone --recurse-submodules https://github.com/codenamecpp/carnage3d
- cd carnage3d
Done! Now proceed to How To Run section below.
Compiling on Windows
You will need Visual Studio 2015 Community Edition to build project. Before compile, add system environment variable SDKDIR with path where all the dependencies lives. These dependencies are:
How To Run
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 .
Set screen resolution (optionally) but most importand you must specify path to original GTA1 game data - gta_gamedata_location
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 .
To select specific level to play you can add command line argument -mapname, for example: -mapname SANB.CMP. By default NYC will loaded.
Currently it is in very early stage, a little progress so far: https://www.youtube.com/watch?v=91L_CJ0teEA