nathan-obrennan / carnage3d

GTA1 remake project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Carnage3D

This is grand theft auto 1 remake project, just for fun. Tools and technologies used:

  • C++11
  • OpenGL 3.2
  • Box2D
  • cJSON
  • Dear ImGui
  • STBI
  • GLM math library
  • GLFW
  • GLEW

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:

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:

  • GLEW
  • GLM
  • GLFW

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

Tested on Ubuntu Linux: alt text

About

GTA1 remake project

License:MIT License


Languages

Language:C++ 76.1%Language:C 23.6%Language:GLSL 0.2%Language:Makefile 0.0%Language:Lua 0.0%