/quake-qcc-binaries

QuakeC Compiler binaries for Linux and Windows (32bit and 64bit)

Primary LanguageC

Quake1 QCC Binaries

QuakeC Compiler binaries for Linux and Windows (32bit and 64bit) - because https://github.com/id-Software/Quake-Tools/tree/master/qcc only comes with qcc for dos.

Compiled using https://github.com/dockcross/dockcross

Usage:

Run the relevant qcc binary in your QuakeC source directory (eg: "v101qc") to compile the "progs.dat", eg:

~/code/quake-mod$ ~/quake-qcc-binaries/qcc-x86_64-linux-gnu
outputfile: ../progs.dat
compiling defs.qc
compiling subs.qc
compiling fight.qc
...
411104 TOTAL SIZE
226 unique precache_sounds
 95 unique precache_models

Re-compiling binaries:

Run make-binaries.sh in Linux with Docker installed. You will need to clone the Quake client source repo into this repo's directory (but the build script will give you the command).

Note: a few hundred megabytes of Docker images (for "dockcross") will be downloaded.

WASM:

There is also a PoC/test branch for compiling qcc to WASM.