Updated Building on FreeBSD (markdown)

erorcun 2020-11-27 00:09:10 +03:00
parent 5cb01d21f3
commit 527730d1cd

@ -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.