Read Me
Project description:
--------------------
JXClient is a client for Crossfire (http://crossfire.real-time.com/).
Requires:
---------
- Sun JRE 8 or higher;
Fullscreen support:
-------------------
JXClient uses the fullscreen support provided by the JVM.
Although the client will switch to windowed mode if real fullscreen is not
available, it is important to note that accelerated support will probably end up
being disabled.
You can download an updated version from either http://www.java.com
or from http://java.sun.com/javase/downloads/index.jsp .
To check if the graphical operations are accelerated, you can add
"-Dsun.java2d.trace=log,timestamp,count,out:java2d.log" to your JVM command
line, run the client, then check the content of java2d.log.
Compiling the sources:
----------------------
Run "./gradlew" (or gradlew on Windows) to build the client. This builds the
client.
If you have more than one Java version installed, you can select the right
version with
JAVA_HOME=/.../jdk1.8.0_65 ./gradlew
or
SET JAVA_HOME=\...\jdk1.8.0_65
gradlew
on Windows.
Run the client with "java -jar jxclient.jar".
Connecting through a proxy:
---------------------------
Set an HTTP proxy to allow metaserver access to retrieve the list of available
game servers:
java -Dhttp.proxyHost=proxy.hostname and -Dhttp.proxyPort=8080 -jar jxclient.jar
or, alternatively,
export http_proxy=http://proxy.hostname:8080/
java -jar jxclient.jar
Set a SOCKS proxy for connection to game servers:
java -DsocksProxyHost=proxy.hostname -DsocksProxyPort=1080 -jar jxclient.jar
Windows Installer:
------------------
It is possible to build a Windows installer, see files in misc/windows_installer for more information.