First of all i am sorry that this is 2 days late but i have been busy preparing for a funeral, i just got home from the funeral about 1 hour ago.

This update integrates Marshian's solution for the odd texture bottleneck we
Unix users have had with Runescape.
The client will now apply the -client parameter to java IF the java binary reports that it can be used. This means that the client will detect if it is supported, so if oracle or openjdk-team decides to add client mode to the 64bit java, we will be prepared in advance! :D

If you want to know more in detail about the solution please head over to Marshian's post on the forums here.

Here is the changelog:
runescape (3.4-0)

  * Made the runescape script optimize java by running java in client
    mode rather than server mode if it is available (so far only
    available on 32-bit version of java), this fixes the lag you get
    when you have textures enabled in-game. Big thanks to Marshian for
    discovering this.
    
  * Made the client look if aoss32 exist if forcealsa=true and the
    -client parameter is available on the java binary.

 -- HikariKnight  Sun, 17 Jun 2012 00:52:38 +0200
 
 
At 10.00pm today my grandmother passed away at the hospital.
I have just come home from visiting her at the hospital making my final goodbye before the funeral.

Her heart could not take it anymore as she suffered from COPD which you get from smoking too much for too long.
My grandmother have battled COPD for at least 7 years maybe longer.
The last months she have been in and out of the hospital, this last time she have been there since 17th may.

The last time i visited her when she was alive i could see she struggled to breathe and used the whole body in order to do so, her whole body also shake when she did breathe.
Seeing her lay in bed not moving made me think, at least she is not suffering anymore. Because she have been suffering ever since she had to be put on the hospital, and she have gone from better to worse, to better and back to worse again.
The last thing she did before going to bed last night was to ask where my mother was and if she had come home safely (even though my mom did not visit that day but the day before that), knowing that my grandmother asked for my mom broke both me and my mom into tears because we have been there for her all the time she have been at the hospital.

At least she is at peace now...

R.I.P Grandma 10.06.2012 10:00pm
I and the rest of the family will miss you...
 :'(
 
 
Due to IMVU being such an arrogant company making it impossible to run the client through wine anymore(going from GOLD rank to GARBAGE on wine app database) and forcing everyone to update to the unstable new client which do not work in wine.
I have decided to remove the script from my homepage.

PS: For the goons at IMVU inc, have fun killing your own userbase.
 
 
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/)
 
 
This new version introduces a java probe function which finds the newest java installed on the windows system, this means that if the client is run on a 64bit version of windows, the 64bit version of java will be used if it is installed.

########## What's NEW!? ##########
##################################
#### Version 2.7 ####
* Added proper support for 64-bit windows by adding a java probe function
 this function is named win32_find_java
 
* On windows, the client will now use the newest java installed and also  load the proper dll files for the client from the java installed.
 
 
Sorry for not posting about the v2.4 and 2.5, they were basically just maintenance versions.

here are the changelogs for all of them anyway

########## What's NEW!? ##########
##################################
#### Version 2.6 ####
* Added a forcealsa option which will force java to use the alsa sound server,
 this will make sounds far more stable on linux and they will not disappear randomly
 like they do with pulseaudio. This function requires alsa and alsa-aoss to be installed.
 
* Changed the fallback parameters (incase a prm file is not found) to
 jagexappletviewer.jar -Dsun.java2d.noddraw=true 
 -Dcom.jagex.config=http://www.runescape.com/k=3/l=\$(Language:0)/jav_config.ws 
 -Xss1m -Xmx256m -XX:CompileThreshold=1500 -Xincgc -XX:+UseConcMarkSweepGC 
 -XX:+UseParNewGC jagexappletviewer 
 
 These parameters are the same as the ones used on the website.

#### Version 2.5 ####
* Fixed an issue in the if openjdk was found statement in the findjavabin function
 so that it now works as intended.
 line 342 in runescape
from: if ($openjdk =~ /java-\d{1,1}-openjdk(-\$\(uname -p\)|-i386|-amd64)/)
to: if ($openjdk =~ /java-\d{1,1}-openjdk(|-\$\(uname -p\)|-i386|-amd64)/)

#### Version 2.4 ####
* Removed "jagexappletviewer.jar" permanently from the archive due to the same "Legal Reasons" preventing
 JAGEX from distributing the client in certain countries :(
* Added a check in the runescape script that checks if the file "jagexappletviewer.jar" exists,
 if it does not then it will run the update script.
* Added a notice about jagexappletviewer into the update "menu" in the update-runescape-client script.
 
 
Hello im back!
My shoulder was busted during the move to my new house but now im fine and i just finished updating the client with more crossplatform functionality!

The "install-desktop-icons" script now have MacOSX support and generates an OSX app bundle and places it in /Applications/RuneScape_Unix/

I have also made a downloader that will download the files needed for windows to be able to run the client too.
As a result the runescape-x bundle have been removed so please use WinRAR or 7-Zip to extract the tar.gz file

#### Version 2.3 ####
* Added native launcher for windows (AutoIT source in templates/MSWin32/ )
* Added native launcher for MacOSX (template located in templates/darwin/ )
* Added grep for windows to remove the spammy output when running in debug mode on windows
* The "install-desktop-icons" script now have MacOSX support!
* Created a downloader for the client which will download the files needed to run the client on windows.  (AutoIT source is located in templates/MSWin32/ )
 
 
That is right, this version (version 2.1 was unannounced due to beta testing and being incomplete) includes windows support (both 32bit and 64bit).

However since windows do not include perl, 7zip(or tar) or wget i had to create a bundle that includes these programs for windows along with 2 .bat files for setting up the environments. This bundle is named runescape-x and is available on the RuneScape Unix Client page.

The windows support include running the client by using the java installed on the computer, ability to update the jagexappletviewer.jar file and script files.

########## What's NEW!? ##########
##################################
#### Version 2.2 ####
* Windows support improved and do not need the win32java.exe setting anymore!
* Added windows support to the updaters. * The portable "crossplatform ready" client named runescape-x on my homepage includes 7zip, wget and perl for windows.