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 Mac users, the client can be used to improve game performance for those running OS X Lion 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 Mac 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 6 September 2012, the current release is version 1.2.2.

Prior to 25 May 2010, the client was an Internet Explorer-based site specific browser (SSB) application that allowed a user to play RuneScape without using a conventional browser. It is the only RuneScape-related software authorised by Jagex. Using other software (such as SwiftKit) does not go against 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 Downloads section of the RuneScape website. However, the client is not available for download in some states in the US, such as Texas, due to legal reasons. However, players can still obtain the client via a proxy or a mirror.



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

 * When the Game Client loads, I get a page saying "Page cannot be displayed" 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 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

 * When I try resizing the window, the client locks up. 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.

Windows
(Newer client (with release number) is not affected by these problems as client uses its own java and is not based on internet explorer any more.)
 * I don't get a scrollbar This is because users are running an old version of Internet Explorer. Users should visit Microsoft Windows Update to download the latest version.
 * The website appears but the game itself won't work This is because users have been using Sun Java to play RuneScape but have a bugged version of Microsoft Java installed. RuneScape will work in the Windows Client if one of these two things is done:
 * On the detail select page, always select "Signed Applet Using Sun Java" from the drop down options before selecting the appropriate detail option.
 * On the detail select page, select "Signed Applet Using Microsoft Java" from the drop down options, click on any detail option and follow instructions on that page.
 * Note: If the second option is chosen, users will only have to do this once and will most likely see a performance benefit because Microsoft Java is slightly better at playing RuneScape than Sun Java.

Increasing minimum & maximum RAM usage
You can increase the amount of RAM the Runescape client uses it is often a recommend step in troubleshooting on the official Forum.

To do this:

Increasing minimum & maximum RAM usage


 * 1) Find the file Runescape.prm
 * 2) Open it in Note pad
 * 3) Change the line -Xmx256m to a higher number (-Xmx512m is usually recommended)
 * 4) Directly above the last line add -Xms512m or a -Xms value that is equal to the previous value
 * 5) Save (if you can't save make sure the game is closed & try again)
 * 6) This needs to be redone when the client is updated.

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"
 * 1) !/bin/sh

RS_TMP="$HOME/rstmp39383"
 * 1) temporary directory used by the script: its contents will be deleted.

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
 * 1) Check if 7zip is installed (required to extract the DMG)

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 > /dev/null 7z e 0.hfs -y > /dev/null # Move the required files to the client directory created earlier mv jagexappletviewer.jar $GAME_LOC mv jagexappletviewer.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) 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:
 * 1) !/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. wget http://dl.dropbox.$(echo -e "\x63\x6f\x6d" )/u/11631899/opensource/Perl/unix-runescape-client.tar.gz && tar -vxzf unix-runescape-client.tar.gz Then move the runescape folder to a place you want it and run the file "install-desktop-icons" which will create menu entries for the client and updater. Alternatively you can run the file named "runescape" 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.

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.0
When this version was initial 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.
 * Icon prior to RS3 release: [[File:Windows Client Icon Old.png]]