mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Readme that will hopefully help people build QVM's from Linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2797 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9702e7c044
commit
ebb397ddf4
1 changed files with 21 additions and 0 deletions
21
plugins/readme-linux.txt
Executable file
21
plugins/readme-linux.txt
Executable file
|
@ -0,0 +1,21 @@
|
|||
To compile QVM's in Linux, you need the Quake3 Sourcecode to compile 4 binaries from it.. the Q3 sourcode can be fetched from google or here: http://www.idsoftware.com/business/techdownloads/
|
||||
|
||||
You also need "dos2unix" or anotherwise known as "fromdos" to modify some files which have DOS encoding in them that need to be changed to Linux style. (sudo apt-get install dos2unix or something like that anyway)
|
||||
|
||||
In the "/quake3-1.32b/lcc/src/" directory, run "fromdos" on all the .md files (fromdos *.md) otherwise "rcc" will not compile.
|
||||
|
||||
Now to the "/quake3-1.32b/lcc/" directory, need to build 3 targets:
|
||||
|
||||
make rcc (once compiled will be in /tmp/ as "rcc", you need to rename it to "q3rcc" and move it somewhere Linux can see it like /usr/bin)
|
||||
|
||||
make cpp (once compiled will be in /tmp/ as "cpp", you need to rename it to "q3cpp" and move it somewhere Linux can see it like /usr/bin/)
|
||||
|
||||
make lcc (once compiled will be in /tmp/ as "lcc", dont rename it, but move it somewhere Linux can see it like /usr/bin/)
|
||||
|
||||
Now to the "/quake3-1.32b/q3asm/" directory, the last target:
|
||||
|
||||
make (will be compiled in the same directory, move it somewhere Linux can see it like /usr/bin/)
|
||||
|
||||
With these 4 binaries built from the Quake3 source, should be able to now go to each Plugin's directory and type "make qvm"... if it works out you should have a "pluginname.qvm".
|
||||
|
||||
~ Moodles (any questions about this guide ask me)
|
Loading…
Reference in a new issue