Hey, this release comes with some rework on the source code in order to make it "repository friendly" for those that want to make a repository package of it.

The Runescape player Ker Laeda have been so nice(and patient) to help me test the client through a repository and to come with input to necessary changes.
You can find his AUR package for Arch Linux at https://aur.archlinux.org/packages.php?ID=59362

If you are interested in making a package of the client this is what you need to know:
  • The user needs the minimum dependencies (p7zip-full, wget, xterm, perl and a java runtime like openjdk6 or above)
  • The optional dependencies are(ubuntu package names used): wine, pulseaudio-utils, alsa-oss
  • The client can be run from anywhere the user have write access to! However for system installs please put/dump the client folder to /opt
    and then symlink /opt/runescape/runescape and /opt/runescape/update-runescape-client to /usr/bin
    You need to make the .desktop files self, the install-desktop-icons script is designed for users without admin permissions!
  • Updating the scripts when installed inside /opt can only be done by running /opt/runescape/update-scripts as root(by using su or sudo)
    This is because it is actually the package maintainers responsibility to update the package(update-scripts can be used as an override though in case of slow maintainers :P ).
  • When installed to /opt the client will use ~/.config/runescape as the client directory where settings.conf, runescape.prm and jagexappletviewer.jar will be located.
  • If you do not want to have compability mode support (run client through wine) then you can safely remove the win32 folder!
  • If you do not want support for the user to have his/her own local user client then you can safely remove "install-desktop-icons" and the templates folder.

Here is the changelog:
#### Version 3.1 ####
* Prepared the client for distribution through repositories
 (make it aware of being run from read only locations)
 Please note that IF you are doing to make a repository for this client.
 It should be installed to /opt and then 
 /opt/runescape/runescape and /opt/runescape/update-runescape-client
 should be symlinked to /usr/bin
 Images from the clients share folder should then be symlinked to
 /usr/share/pixmaps or /usr/share/icons
 
* update-runescape-client will not give the option to update scripts
 when installed on /opt, in order to update the scripts you have 2 options
 1. copy the runescape folder from /opt and into a location where your user
    have write permissions by default.
 2. or you can run /opt/runescape/update-scripts as root (not recommended!)
 
* If the client is installed to /opt it will use ~/.config/runescape
 as the client folder, meaning you can still update jagexappletviewer.jar
 from jagex without waiting for the package maintainer!
 
* Improved the unix_findlibrarypath function (BIG THANKS TO Jmb71 FOR THE NEW REGEX!)

* AUR package will be released in the very near future (BIG THANKS TO Ker Laeda FOR THAT!)
 as i do not have Arc Linux, Ker Laeda have helped me a lot with the testing and preparations
 for the client to be distributed from a repository
 
* Documentation.txt will be discontinued and the script themselves will
 contain the documentation in the comments instead 
 (however the file will still exist just to mention the sourcefiles are the documentation themselves)

#### Version 3.0 ####
* Thanks to Paul who reported to me that the client would not work
 if preferredjava was set to default-java and the java executable in
 $PATH was a script(or symlinked script) instead of a symlinked binary
 this would cause ldd to fail on what was supposed to be the binary and
 make the OpenGL fix not work or make the client fail to launch alltogether.
 
 A workaround for this have been made for systems that are affected (namely gentoo and sabayon)
 in which a message will be displayed and show the user how to set the client
 to use a custom java binary, this will solve this issue on these affected systems.
 This message will ONLY be triggered if preferredjava is not set or is set to default-java!
  * Updated settings.conf.example with a custom java path example :)
 
 
Today i just solved the big mystery of why OpenGL don't work correctly
in Linux and possibly other UNIX systems too.
The issue was that the "java" binary was not properly linked to its own libraries.

The solution was to just add the java lib folder to the LD_LIBRARY_PATH before launching java, this fix is now added to all the preferedjava settings option in the Runescape Unix Client!

soo here is the changelog!

#### Version 2.9 ####
* Made a fix for Software and OpenGL display modes in Java7 and OpenJDK7
 No settings needed! This is entirely automatic!
 
* Made the runescape script follow symlinks to the binary file in order
 to add the java library path to fix OpenGL issues when using Java7/OpenJDK7

#### Version 2.8 ~ R2#update-runescape-client ####
* Made the update-runescape-client ASK if it is ok to download and compile
 p7zip-full if it is not detected, this was done by request from one of the
 players who were concerned that it happened without permission.
 I guess i focused so much on compability that i forgot my manners.
 I am sorry that it happened, hope you all can forgive me :)
 
* update-runescape-client script now gives more info if the 7z binary is not found,  this will make it easier to know what packages are missing! :)

- HikariKnight
 
 
Basically i stumbled upon 2 glitches this morning which are now fixed.

########## What's NEW!? ##########
##################################
#### Version 2.8 ####
* Fixed a glitch in readconf function in the runescape script where i had
 forgotten to consider the different line endings :P
 line 597
 from: my @settings = split /\n/, "@$confcontent";
 to: my @settings = split /(\n|\r\n|\r)/, "@$confcontent";
 
* Fixed a glitch(from me testing) in the update-runescape-client script where it would not
 download and compile p7zip-full if it was not detected on the system.
 Now it is working again.
 line 413
 from: if ($test7zsys =~ /7-Zip/)  
to: if ($test7zsys !~ /7-Zip/)