This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
jxclient [2022/02/20 15:55] ryo update |
jxclient [2025/02/21 17:46] (current) leaf [Tile Size (aka zoom)] Added more notes about supported tile sizes |
||
---|---|---|---|
Line 3: | Line 3: | ||
The jxclient is a Java based client for Crossfire. | The jxclient is a Java based client for Crossfire. | ||
- | See [[jxclient:compiling|Compiling]] for information on how to compile, and [[jxclient-windows|Download and Launching JXClient on Windows 10]] for Windows users. | + | See [[jxclient:compiling|Compiling]] for information on how to compile the client on Linux |
- | + | Also, [[jxclient-windows|Download and Launching JXClient on Windows 10]] for Windows users. | |
- | An occasional bug with this client is that the screen may load completely black, a current work around is to create a shortcut to jxclient.jar and add the following to the "target:" | + | |
- | "C:\**Change to where Crossfire Is Located**\jxclient new.jar" --no-full-screen | + | |
- | * The latest stable binary (.jar) and snapshot release mirror list is [[http://crossfire.real-time.com/clients/jxclient.html|here]]. | + | For Mac OS users, see [[jxclient-macosx|Download and Launching JXClient]]. |
+ | |||
+ | Under Linux, visit [[jxclient-linux|Download and Launching JXClient]]. | ||
If you are having trouble running the .Jar, install the Java Runtime Environment (JRE) from the [[https://www.java.com|java website]] . | If you are having trouble running the .Jar, install the Java Runtime Environment (JRE) from the [[https://www.java.com|java website]] . | ||
Line 29: | Line 29: | ||
java -jar jxclient.jar --help | java -jar jxclient.jar --help | ||
| | ||
- | === Help File Output === | + | ==== Help File Output ==== |
Available options: | Available options: | ||
- | == No Full Screen == | + | ==== No Full Screen ==== |
Disable full-screen mode. | Disable full-screen mode. | ||
Line 44: | Line 44: | ||
java -jar jxclient.jar --no-full-screen | java -jar jxclient.jar --no-full-screen | ||
- | == Client Resolution== | + | ==== Client Resolution ==== |
Resolution to use. [default is maximum not exceeding screen] | Resolution to use. [default is maximum not exceeding screen] | ||
Line 57: | Line 57: | ||
java -jar jxclient.jar -r 1600x900 | java -jar jxclient.jar -r 1600x900 | ||
- | == Skin == | + | ==== Skin ==== |
Skin name to use. Available skins: default, ragnorok. | Skin name to use. Available skins: default, ragnorok. | ||
Line 64: | Line 64: | ||
''-s <skin>''\\ | ''-s <skin>''\\ | ||
- | java -jar jxclient.jar --skin ragnarok | + | java -jar jxclient.jar --skin ragnorok |
or | or | ||
Line 70: | Line 70: | ||
java -jar jxclient.jar -s default | java -jar jxclient.jar -s default | ||
- | == Tile Size (aka zoom) == | + | ==== Tile Size (aka zoom) ==== |
The size of map view tiles in pixels. It supports only 4, 32 or 64. 32 is the default Crossfire tile size, 4 is what the client needs for the minimap window, 64 is what the client uses by default for the map window. | The size of map view tiles in pixels. It supports only 4, 32 or 64. 32 is the default Crossfire tile size, 4 is what the client needs for the minimap window, 64 is what the client uses by default for the map window. | ||
Line 78: | Line 78: | ||
java -jar jxclient.jar --tile-size 32 | java -jar jxclient.jar --tile-size 32 | ||
- | == Avoid Copy Area == | + | JXClient has some hard-coded 32 x 32 pixel settings. Therefore other tile sizes will probably not work (.e., 24 x 24px.) |
+ | |||
+ | The same applies for tile sets: JXClient simply only supports the default tile set. | ||
+ | |||
+ | ==== Avoid Copy Area ==== | ||
Do not copy pixel areas when scrolling the map view. Instead always repaint all map squares. | Do not copy pixel areas when scrolling the map view. Instead always repaint all map squares. | ||
Line 86: | Line 90: | ||
java -jar jxclient.jar --avoid-copy-area | java -jar jxclient.jar --avoid-copy-area | ||
- | == Enable OpenGL == | + | ==== Enable OpenGL ==== |
Enable the OpenGL rendering pipeline. | Enable the OpenGL rendering pipeline. | ||
Line 94: | Line 98: | ||
java -jar jxclient.jar --opengl | java -jar jxclient.jar --opengl | ||
- | == Specify Server == | + | ==== Specify Server ==== |
Select a server to connect to; skips main and metaserver windows. | Select a server to connect to; skips main and metaserver windows. | ||
Line 106: | Line 110: | ||
java -jar jxclient.jar --server invidious2.meflin.net | java -jar jxclient.jar --server invidious2.meflin.net | ||
- | == Enable Debugging of GUI Elements == | + | ==== Enable Debugging of GUI Elements ==== |
Enable debugging of GUI elements. Also shows width and height of the active GUI element. | Enable debugging of GUI elements. Also shows width and height of the active GUI element. | ||
Line 114: | Line 118: | ||
java -jar jxclient.jar --debug-gui | java -jar jxclient.jar --debug-gui | ||
- | == Enable Debugging of Keybord Input == | + | ==== Enable Debugging of Keybord Input ==== |
Log keyboard input. | Log keyboard input. | ||
Line 122: | Line 126: | ||
java -jar jxclient.jar --debug-keyboard | java -jar jxclient.jar --debug-keyboard | ||
- | == Debug Protocal with Server == | + | ==== Debug Protocal with Server ==== |
Log messages exchanged with the server. | Log messages exchanged with the server. | ||
Line 130: | Line 134: | ||
java -jar jxclient.jar --debug-protocol log.txt | java -jar jxclient.jar --debug-protocol log.txt | ||
- | == Debug Screen Resolution == | + | ==== Debug Screen Resolution ==== |
Log messages related to screen resolution. | Log messages related to screen resolution. | ||
Line 138: | Line 142: | ||
java -jar jxclient.jar --debug-screen log.txt | java -jar jxclient.jar --debug-screen log.txt | ||
- | == Debug Sounds == | + | ==== Debug Sounds ==== |
Log messages related to sound. | Log messages related to sound. | ||
Line 146: | Line 150: | ||
java -jar jxclient.jar --debug-sound sound-log.txt | java -jar jxclient.jar --debug-sound sound-log.txt | ||
- | == Addition Note == | + | ==== Addition Note ==== |
It is possible to combine multiple options in a single launch, like so: | It is possible to combine multiple options in a single launch, like so: |