From 527730d1cd61f51b4c851717fe31d026e1871451 Mon Sep 17 00:00:00 2001 From: erorcun Date: Fri, 27 Nov 2020 00:09:10 +0300 Subject: [PATCH] Updated Building on FreeBSD (markdown) --- Building-on-FreeBSD.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Building-on-FreeBSD.md b/Building-on-FreeBSD.md index 228f469..2724718 100644 --- a/Building-on-FreeBSD.md +++ b/Building-on-FreeBSD.md @@ -6,11 +6,9 @@ This wiki page shows how to build re3 on FreeBSD on a amd64/x86_64 system. Teste Disclaimer: you need to get premake5, there are also other premake versions available, only premake5 is supported. You will also need GNU make and not the built-in BSD make. -* Run `$ git clone https://github.com/GTAmodding/re3.git` to clone the project to your PC +* Run `$ git clone --recursive https://github.com/GTAmodding/re3.git` to clone the project to your PC -* Enter the newly created `re3` directory and run `$ git submodule init && git submodule update` to pull needed dependencies - -* Run `$ premake5 --with-librw gmake2` in the `re3` directory, remember to use premake5 you either have built in `/usr/ports` or installed it via `pkg` +* Enter the newly created `re3` directory and run `$ premake5 --with-librw gmake2`, remember to use premake5 you either have built in `/usr/ports` or installed it via `pkg` * Enter the ``build`` directory and run ``$ gmake help`` to see a help message with supported build configurations. As of now, refer to one of the available configurations: - ``debug_bsd-x86-librw_gl3_glfw-oal`` @@ -23,10 +21,10 @@ This wiki page shows how to build re3 on FreeBSD on a amd64/x86_64 system. Teste * Compile librw and re3 by running ``$ gmake CC=clang CXX=clang++ config=(your configuration goes here)`` -* Revisit the `re3` directory, go to `bin` and find the appropriate `re3` binary you just compiled - * In case you didn't copy some of the required gamefiles, copy all content from ``re3/gamefiles/`` to the game root directory -* Copy the `re3` binary to your game folder with GTA3 inside, and play the game by running ``$ ./re3`` +* (If you didn't set GTA_III_RE_DIR env. variable) Revisit the `re3` directory, go to `bin` and find the appropriate `re3` binary you just compiled, and copy it to your game folder with GTA3 inside + +* Play the game by running ``$ ./re3`` Remember that re3 is an actively developed project which doesn't have a final version, so in case you'd like to get the game updated you have to reproduce the steps above. \ No newline at end of file