re3/reVC is a re-implementation of Grand Theft Auto III and Vice City, using the librw RenderWare engine re-implementation.
While the original upstream has been taken down by Take 2 Interactve (smh), you can still download build a working version as long as you have the source code somewhere.
At least for Fedora/Ultramarine, you need the following libraries/headers:
- openal-devel
- libsndfile-devel
- libopus-devel
- glew-devel
- mpg123-devel
- GCC or Clang
At the moment the most updated source seems to be here. So let's use that
git clone --recursive https://github.com/halpz/re3
popd re3Now that we're in the source tree, I'm going to build reVC instead of re3 (You can also apply this to re3, I just like VC personally)
git checkout miami
git submodule update --init --recursive # if you haven't --recursive alreadyNow let's build reVC (or re3).
Set up your CMake build. I usually like my CMake build data to be separate from source so it's easier to cleanup, so
we'll be putting them in build, which so happens to be in .gitignore.
cmake -B build . -DLIBRW_PLATFORM=GL3 -DCMAKE_CXX_FLAGS=-std=c++11Notice that I set a build option for librw, we need to do that so we can build librw properly.
If CMake does not complain about missing libraries, you should be good to go.
Let's finally build!
make -C _build -j$(nproc)Now we wait...
Once it's done, your reVC binary should be in build/src/reVC.