GrangerHub / tremulous

Other
80 stars 18 forks source link
3d api apple arm c cpp cpp14 fps-game game idtech3 ioquake3 linux lua luajit macos osx tremulous windows windows-10

Wtfbbqhax/Tremulous/tremulous-banner.jpg

Travis branch Coverity Scan

Installing

Pre-built binaries

How to Install from GrangerHub's Release Page

You can install the latest released binaries from GrangerHub's release page, following these steps:

Building from Source

Dependencies

If you want to build against system libraries, the following packages are necessary:

Linux:

On Ubuntu Yakkety (specifically) you can install all the packages necessary with the following:

apt install -y cmake libgl1-mesa-dev libsdl2-dev libcurl4-openssl-dev libopenal-dev libfreetype6-dev mingw-w64 g++-mingw-w64 g++-multilib git zip vim-nox curl rsync

Mingw32 (win32 cross compile)

Mingw32 requires USE_INTERNAL_LIBS=1

Currently there is no native Windows build setup, all builds are cross compiled on Linux.

OSX

TBD

How to Install from the Source Code

For Linux and Mac OS X builds, follow these steps.

git clone https://github.com/GrangerHub/tremulous.git
cd tremulous
make
# cd build/release-darwin-x86_64/
# cd build/release-linux-x86_64/
./tremulous

How to build for Win64

Windows binaries can be built on non-Unix environments using a Docker container. Click here to learn more about Docker.

Note that on Windows, you have to clone this Git repository with Unix line endings because the build system is still in Unix environment:

git clone -c core.eol=lf ...

(WARNING: Be careful to not commit back library files from this clone since their line-endings may change)

To build the Tremulous binaries do:

docker run -t -i -e PLATFORM=mingw32 -v $(pwd):/usr/src grangerhub/tremulous13:latest ./misc/docker-build.sh

On Windows, make sure in the Docker Desktop settings that the drive you have the source code is selected under "Shared Drives". Then replace $(pwd) with the actual folder where the source resides (e.g. "C:\Users\...\tremulous").

To run:

cd build/release-mingw32-x86_64/
./tremulous.exe

(use backslashes \ if you are using Command Prompt).

Troubleshooting issues with running on Windows

Where do I get the assets?

The Tremulous client binary by default will attempt to retrieve the assets automatically (Known as the Pk3 bootstrap). However, sometimes this does not work as expected.

If you need to download the assets yourself; they are available here:

https://github.com/wtfbbqhax/tremulous-data

Or you can checkout the entire repository:

git clone https://github.com/wtfbbqhax/tremulous-data.git

Copy the contents of the assets folder as a new base/ folder in the release location.

About Lua

This branch integrates Lua into the Tremulous runtime. This is a base branch for additional Lua api development to branch from.

About Transform

This code allows customizing human player models with arbitray quake3 thirdparty md3-%.pk3's.

This adds the admin command /transform [name|slot#] [modelname] <skin> which is an admin abusive command to force player model chanes.

This also includes voice menus branch

Console Cvars

Acknowledgments

In loving memory of *<{dGr8LookinSparky, who was a great community builder and developer for Tremulous.