Game Client



The Game client is an open source RuneScape launcher, built by Jagex. The client is designed to compensate for those who do not have Java installed or those who are having issues with Java. Specifically, for OS X users, the client can be used to improve game performance for those running OS X 10.7 and newer and Safari 5.1, which run RuneScape much slower than their predecessors. Since Jagex updated the client to its current state, they have released the source code to the public in accordance to the GPL version 2 license of OpenJDK.

The project began on 20 January 2010 and was launched on 25 May 2010, originally only being available to Windows users. An unofficial GUI client was eventually developed to work with OS X by taking the jar file from the Windows client and wrapping it in the standard OS X Application Bundle. Jagex later placed its imprimatur on the unofficial OS X client by making it available in the download section of the Runescape website. As of 30 March 2015, the current release is version 1.2.4.

Prior to 25 May 2010, the client was an Internet Explorer-based application that allowed a user to play RuneScape without using a conventional browser. However, players using higher-end computers may prefer to use the browser based version as the client has size and resolution limitations that the browser version does not. Using third-party software (such as SwiftKit) to play RuneScape does not violate the Rules of RuneScape, but is not recommended for use by Jagex. Version 1.0.0.5 was the last stable of this release client version by Jagex.

The official client may be downloaded at the Ways to Play section of the RuneScape website.

Troubleshooting
If users are having problems with the Game Client, they are recommended to try following these steps in order and see if they can resolve their problem.

General
This is most likely to do with a personal firewall which is blocking the Client from accessing the internet. Users will have to allow the program ("runescape.exe" or "JagexLauncher.exe" for Windows users, and "RuneScape.app" for Mac users) access to the internet in order for it to work.
 * When the Game Client loads, I get a page saying "Page cannot be displayed"
 * When clicking on the map, the screen goes black, as if loading, but never loads.
 * Click on the screen, and if it doesn't load, open another program to minimise it. If that doesn't work then just exit the program and restart it.

Mac
The Mac version of the client cannot be resized in software mode. Switching to OpenGL solves the problem and will allow access to the resizable and fullscreen options. The window can be resized in OpenGL, and the graphics can subsequently be switched back to software mode without problems.
 * When I try resizing the window, the client locks up.

Editing the client's configuration
If you update your client, you will have to apply the changes made to the configuration again.

Windows
On Windows the configuration is stored in the file

To edit this file type  into Explorer's address bar and open   in Notepad. If you can't save, make sure the game is closed and try again.

OS X
On OS X the configuration is stored in the file

To edit this file open Terminal and type the following: open -a TextEdit /Applications/RuneScape.app/Contents/Info.plist

Increasing maximum heap usage
You can increase the amount of maximum heap the RuneScape client uses and it is often a recommended step in troubleshooting on the official Forum.

To do this channge every instance of  in the configuration file to a higher number (-Xmx512m or -Xmx1024 is recommended).

''NOTE: It's possible that allocating too much memory (1024), can crash your client. If so, try 512 instead.''

Partial Multi-core support
You can allow partial multi-core support of the Runescape client. This will potentially improve map loading times, and decrease lag caused by garbage collection.

To make the changes to your Client's configuration file: -XX:CompileThreshold=1500 -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DisableExplicitGC -XX:+AggressiveOpts -XX:+UseAdaptiveGCBoundary -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:+UseParallelGC
 * Remove every instance of the following flags
 * Add the following flags:

SSL Connectivity
Enabling SSL connectivity will help you if you're connecting via a restrictive network, proxy, or firewall.

To do this add the flag to the configuration file: -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2

Use on Linux
Create an executable sh file and add the following to it (you must have 7zipinstalled before running): CLIENT_LINK="http://www.runescape.com/c=lbAPNlubEYM/downloads/runescape.dmg" GAME_LOC="$HOME/jagexcache/runescape/bin" RS_TMP="$HOME/rstmp39383" if [ ! -f /usr/bin/7z ]; then echo "It appears you do not have '7zip' installed, which is required to extract the download. To install it, run: \n\nsudo apt-get install p7zip-full" exit fi if [ ! -d $GAME_LOC ]; then # Create the directory for the client mkdir -p $GAME_LOC # Make a temporary folder to store extracted files mkdir $RS_TMP cd $RS_TMP wget -q $CLIENT_LINK # Extract the downloadable Mac client and the hfs file to get the jar and icon 7z e runescape.dmg 2> /dev/null 7z e 0.hfs -y 2> /dev/null # Move the required files to the client directory created earlier mv jagexappletviewer.{jar,png} $GAME_LOC cd ~ # Delete the temporary folder rm -rf $RS_TMP fi java -Djava.class.path="$GAME_LOC/jagexappletviewer.jar" -Dcom.jagex.config=http://www.runescape.com/k=3/l=en/jav_config.ws jagexappletviewer "$GAME_LOC" > /dev/null
 * 1) !/bin/sh
 * 1) temporary directory used by the script: its contents will be deleted.
 * 1) Check if 7zip is installed (required to extract the DMG)
 * 1) Run the client

Alternative Use on Linux
It is possible to use the windows client on linux systems as follows:

cd ~ /usr/bin/java -Xmx256m -D java.class.path=$HOME/.jagex/runescape/bin/jagexappletviewer.jar -Dcom.jagex.config=$"http://www.runescape.com/k=3/l=en/jav_config.ws" jagexappletviewer $USERNAME/.jagex/runescape/images Everything from "/usr" to "/images" is a single command line in the script file. You can also increase the memory allocation (-XmxNNNm where NNN is a number) if you want. See "man java".
 * 1) Download the windows client (Runescape.msi) from the RuneScape website
 * 2) Rename it to a zip file (eg RuneScape.zip)
 * 3) Extract RsLauncher.cab from the zip file
 * 4) Rename RsLauncher.cab to RsLauncher.zip
 * 5) Extract JagexAppletViewerJarFile.XXXXXXXX_XXXX_XXXX_XXXXXXXXXXXXXX from RsLauncher.zip (X is a hex digit)
 * 6) Rename JagexAppletViewerJarFile.XXXXXXXX_XXXX_XXXX_XXXXXXXXXXXXXX to jagexappletviewer.jar
 * 7) Extract JagexAppletViewerPngFile from RsLauncher.zip
 * 8) Rename JagexAppletViewerPngFile to jagexappletviewer.png
 * 9) Copy jagexappletviewer.jar to ~/.jagex/runescape/bin/jagexappletviewer.jar
 * 10) Copy jagexappletviewer.png to ~/.jagex/runescape/images/jagexappletviewer.png
 * 11) Copy the following 3 lines into a text file called runrs.sh in your home directory:
 * 12) !/bin/bash

12. Make runrs.sh file executable (chmod a+x ~/runrs.sh)

13. From a terminal. ~/runrs.sh

14. You may also need to create the following directories:

~/.jagex_cache_32 ~/.jagex_cache_32/runescape ~/c:

You could also get the client to be installed by downloading the program Wine and using it to install the client. (confirmed for Debian Squid, and it also works out-of-the-box on Linux Mint 12 with Cinnamon, though not with XFCE4 (and maybe some other DE's). More confirmation needed)

UNIX/Linux Client Port
As of 29 October 2011 a player has ported the official client to run on any UNIX platform with all the settings working, along with a menu entry in common desktop environments like GNOME2/Mate, GNOME-Shell, KDE, LXDE, XFCE and Unity.

Inside the file "share/configs/settings.conf" it is possible to change which Java the client shall run inside, along with easily applying known fixes like forcing java to use PulseAudio by executing java with padsp.

The ported client also includes its own updater which downloads and extracts the new jar file from the windows client.

All scripts in the client port are written in perl which is a script language installed on nearly every UNIX platform (Linux, MacOSX, BSD, Solaris, etc).

The installation instructions are available in the linux community thread page 323 on the runescape forums: "Community - Linux" or on the projects GitHub page

You can install the client directly by running this command in the terminal.

Linux 32bit installer: wget http://dl.dropbox.$(echo -e "\x63\x6f\x6d" )/u/11631899/RSU/RSU-linux-installer.run.zip && unzip RSU-linux-installer.run.zip

Linux 64bit installer: wget http://dl.dropbox.$(echo -e "\x63\x6f\x6d" )/u/11631899/RSU/RSU-linux-x64-installer.run.zip && unzip RSU-linux-x64-installer.run.zip

Then run the RSU-linux-installer.run (or RSU-linux-x64-installer.run if you're on a 64bit linux) and follow the installation instructions.

The installer will create menu entries for the client and updater. Alternatively you can run the file named "runescape" (inside the client directory) directly to launch the client (or run it from terminal for debugging info) and run "updater" to update the jagexappletviewer.jar file or the scripts.

As of version 4.0.0 of the Client port, a graphical launcher have been added for easy access to the RuneScape News, Main RuneScape, Old School RuneScape, Updater and the Settings Editor.

This was to avoid flooding the users game section with different RuneScape Client entries.

As of the 14th November 2013 a link to the RSU-Client was added to the RuneScape download page with a disclaimer by Jagex in order to make it easier for Linux users to access the game, in turn making it a semi "official" Linux client.

Java on Linux
There are two main versions of Java available, OpenJDK and Oracle. For each, version 6 or version 7 can be used. There may be issues associated with some versions, for example oracle versions 1.7 may work only in software mode, while 1.6 will work in OpenGL (which is preferred.). OpenJDK-7 should also work in OpenGL.

To install OpenJDK version 7 on Ubuntu 12.10, type in a terminal:

sudo apt-get install openjdk-7-jre

It is possible to install a version of Java specially for the game client, so that it doesn't need to change the Java used by other applications on the operating system. This can be done for example by downloading and installing the Oracle Java packages without using the OS package manager. It can then be installed in its own directory, for example /usr/lib/jvm/jre1.7.0_13/, and then for the simple script above, the final "run the client" line the following would be used instead of just "java":

/usr/lib/jvm/jre1.7.0_13/bin/java

Changelog

 * 1.0.0 - Initial release.
 * 1.0.1 - Fixed bug where Vista and 7 users need to disable UAC to be able to install client, added an options bar with a language setting on top.
 * 1.0.2 - Uses its own interface instead of the default Windows style for the language setting. Client automatically removes the languages menu and copyright notification upon log in.
 * 1.0.4 - Client scrollbar changed.
 * 1.1.0 - Client update on 17 October.
 * 1.2.0 - Possibly unsuccessful attempt to remedy lag problems after the bot nuke event.
 * 1.2.3 - Fixed the removal of the languages menu and copyright notifications when logging in on Linux and Mac, plus providing a direct link for the jagexappletviewer.jar for use by custom clients like the RSU-Client and other Linux Clients.
 * 1.2.4 - Adds the ability for the client to be launched directly from the website. Jagex however have not implemented the website to make this possible yet.

1.2.0
When this version was initially released, the language and copyright information bars did not disappear when logged in. This was subsequently fixed even though no update to game or client occurred.

Trivia

 * Previously, if you dragged a desktop icon of a website on the old client, the program could be used to browse any website. This was helpful for people with low-end computers wanting to use fan-made guides while playing RuneScape. Because the client was based off Internet Explorer, it should not have been used for browsing sites that might be infected with IE security hole exploits. As the new client runs the game directly and not the website it is not affected by this.
 * The client source bundle (jagexlauncher-src.tar) consists of 7.826.577 (7.8 million) lines of code. This includes 89 lines of C++ code for the Jagex Launcher itself, and approximately 7.8 million lines of Oracle's JDK.
 * After the release of the Crucible the client stopped working. It would log you in for a second, then force you to log out. It was fixed shortly after.
 * Previous icons: Windows client icon old.png]] [[File:Game Client v1.2.0 icon.png