aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-09 15:02:05 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-09 15:02:05 +0000
commita57d614074146906756f04a135f0596b71705219 (patch)
treea12fd77e6c9c34878cd6d3e034f2d10a33c9d1ee
parentc975397eb51126ab88eb9e4280b3f68321403363 (diff)
downloadioquake3-aero-a57d614074146906756f04a135f0596b71705219.tar.gz
ioquake3-aero-a57d614074146906756f04a135f0596b71705219.zip
* Clarified 64bit mod support in the README
git-svn-id: svn://svn.icculus.org/quake3/trunk@437 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--README23
1 files changed, 20 insertions, 3 deletions
diff --git a/README b/README
index d482eb5..b8c749c 100644
--- a/README
+++ b/README
@@ -70,9 +70,26 @@ demoq3 and run quake3 with the parameters described above.
64bit mods
~~~~~~~~~~
-To compile working(!) shared libraries for 64bit mods the vmMain and
-dllEntry functions as well as the syscall pointer have to be changed
-to accept and return long instead of int.
+If you wish to compile external mods as shared libraries on a 64bit platform,
+and the mod source is derived from the id Q3 SDK, you will need to modify the
+interface code a little. Open the files ending in _syscalls.c and change every
+instance of int to long in the declaration of the syscall function pointer and
+the dllEntry function. Also find the vmMain function for each module (usually
+in cg_main.c g_main.c etc.) and similarly replace every instance of int in the
+prototype with long.
+
+Note if you simply wish to run mods on a 64bit platform you do not need to
+recompile anything since by default Q3 uses a virtual machine system.
+Futhermore, ioq3 has an experimental JIT compiler for x86_64 which will result
+in better performance. To enable this find these lines in code/Makefile:
+
+ # experimental x86_64 jit compiler! you need as
+ #HAVE_VM_COMPILED = true
+
+..and change them to:
+
+ # experimental x86_64 jit compiler! you need as
+ HAVE_VM_COMPILED = true
Compiling under windows using MinGW
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~