RuneMate / Issues

Client and API Issue tracking. See README for more information.
8 stars 0 forks source link

Jagexcache #62

Open austin-millan opened 5 years ago

austin-millan commented 5 years ago

Is your feature request related to a problem? Please describe.

Error: Failed to locate an existing game cache for [RuneScape]/[RuneScape 3]

The RuneMate client seems to search the user's home directory for .../oldschool/jagexcache directory, but if OSRS is installed somewhere else, RuneMate cannot resolve the right path and subsequently run a bot.

Describe the solution you'd like

I'd like to see the RuneMate client either

Describe alternatives you've considered

I've gotten symlinks to work (e.g. ln -s {ORIGIANL_JAGEX_PATH} {DESTINATION}).

Additional context

There are numerous end-users who have faced this issue on various platforms (see below). Having the option to set an environment variable would help users at least get it up and running when faced with this common issue of resolving the directory path.

ccarpenter04 commented 5 years ago

The issue has been resolved in most cases by having improved the detection of where the cache is located, so while I'm not against seeing an option added, what did you do to cause the cache to be in a different location?

austin-millan commented 5 years ago

what did you do to cause the cache to be in a different location?

I used the guide here to install OSRS, which downloads the files in a different directory. And when launching OSRS, the jagexcache gets saved in the directory I invoked it from (~/home/runescape/oldschool/) with the command:

java -Duser.home='.' -Djava.class.path='jagexappletviewer.jar' -Dcom.jagex.config='http://oldschool.runescape.com/jav_config.ws' 'jagexappletviewer'

Edit: most end users on Linux probably use the RSU client, which sets up both OSRS and RS3. But others may want a more lean setup without multiple JRE versions installed to run multiple clients.