0% found this document useful (0 votes)
11 views

GTAmodding-re3. Building on FreeBSD

This document provides instructions for building the re3 project on FreeBSD for amd64/x86_64 systems, specifically tested on FreeBSD 12.2-RELEASE. It outlines the required packages, cloning the repository, and compiling the project using premake5 and gmake. Users are advised to copy necessary game files and are reminded that re3 is an actively developed project without a final version.

Uploaded by

adnan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

GTAmodding-re3. Building on FreeBSD

This document provides instructions for building the re3 project on FreeBSD for amd64/x86_64 systems, specifically tested on FreeBSD 12.2-RELEASE. It outlines the required packages, cloning the repository, and compiling the project using premake5 and gmake. Users are advised to copy necessary game files and are reminded that re3 is an actively developed project without a final version.

Uploaded by

adnan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

GTAmodding / re3

Code Issues 111 Pull requests 24 Actions Projects Wiki Security

Building on FreeBSD
shfil edited this page on 13 Jan · 3 revisions

This wiki page shows how to build re3 on FreeBSD on a amd64/x86_64 system. Pages 10
Tested on FreeBSD 12.2-RELEASE. Building on different architectures has not
been tested and you might have to rely on adjusting the packages and code Find a Page…

yourself. In case of issues, fill an issue on github to be reviewed by one of the


Home
re3 developers.
Building on FreeBSD
Get the required packages by either building them in the /usr/ports
directory or installing them via pkg : Building on Linux

Frames as a period of
$ pkg install git premake5 gmake glfw glew openal-soft mpg123 time
libsndfile libsysinfo
GTA3 1.0
documentation
Disclaimer: you need to get premake5, there are also other premake
versions available, only premake5 is supported. You will also need GNU Possible
improvements
make and not the built-in BSD make. (Library libsndfile is optional.)
Possible platform
Run $ git clone --recursive https://github.com/GTAmodding/re3.git to specific features
clone the project to your PC
PS2 port

Enter the newly created re3 directory and run $ premake5 --with-librw Running OpenAL
gmake2 , remember to use premake5 you either have built in /usr/ports build on Windows

or installed it via pkg VC changes


(deprecated)
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 Clone this wiki locally
available configurations:
https://github.com/GTAmodding

debug_bsd-x86-librw_gl3_glfw-oal

debug_bsd-amd64-librw_gl3_glfw-oal

debug_bsd-arm-librw_gl3_glfw-oal

debug_bsd-arm64-librw_gl3_glfw-oal

release_bsd-x86-librw_gl3_glfw-oal

release_bsd-arm-librw_gl3_glfw-oal

release_bsd-arm64-librw_gl3_glfw-oal

Compile librw and re3 by running $ gmake CC=clang CXX=clang++


config=(your configuration goes here)
In case you didn't copy some of the required gamefiles, copy all content
from re3/gamefiles/ to the game root directory

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

You might also like