X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.main.git;a=blobdiff_plain;f=yarrg%2Fweb%2Fupload;h=7e90f69273b7d02b2939d9d0b16045a88ac7ad8e;hp=63501a1f77b2fb761a32241cfb44f69ca31d734b;hb=a66d39910eee817308ec01b3897f874c73dcde87;hpb=fc8ad971bcaad7dfc125dcc65e3ee2a3e11bbe9c diff --git a/yarrg/web/upload b/yarrg/web/upload index 63501a1..7e90f69 100755 --- a/yarrg/web/upload +++ b/yarrg/web/upload @@ -34,6 +34,11 @@ <& docshead &> +<%perl> +my $url_base_base= 'http://yarrg.chiark.net/download/jpctb'; +my $download_version= '0.9.1'; +my $url_base= "$url_base_base/$download_version"; +

Uploading to YARRG

@@ -46,7 +51,7 @@ Puzzle Pirates game client and uploads it to the database. You will need to upload data yourself if there is no data for your ocean or island, or the data that is there is too old. You should -also upload when preparing trade run, as market conditions change and +also upload when preparing a trade run, as market conditions change and you want a plan based on recent data.

@@ -74,18 +79,17 @@ YPP client. Then press "Upload" in the JPCTB window.

The JPCTB integration is done via fully supported Java Accessibility -interfaces and without modifying the Puzzle Pirates client, and should -not disturb the normal running of Puzzle Pirates. However, please -make sure that if your YPP client misbehaves at all, you try running -it in the vanilla way (without JPCTB integration) before asking for -help. In particular, if the JPCTB startup does not work, but the -ordinary Puzzle Pirates startup does, report the problem to us, not to -Three Rings. +interfaces, and should not disturb the normal running of Puzzle +Pirates. However, please make sure that if your YPP client misbehaves +at all, you try starting it in the vanilla way (without JPCTB +integration) before asking for help. In particular, if the JPCTB +startup does not work, but the ordinary Puzzle Pirates startup does, +report the problem to us, not to Three Rings.

Installing and running on Linux

Download -http://www.greenend.org.uk/owen/free/jpctb.tar.gz +<% $url_base %>/jpctb.tar.gz and unpack it. You run it from the command line. Change to the directory where you unpacked the tarball above, and then run
@@ -98,16 +102,16 @@ ordinary Puzzle Pirates startup script, which is normally
 

Installing on Windows

Download -http://www.greenend.org.uk/owen/free/jpctb-linkfarmer/jpctp-setup.exe +<% $url_base %>/jpctb-setup.exe and double-click on it. It will either: - +
  1. Just work, in which case you'll have a new icon on your desktop which runs Puzzle Pirates with JPCTB integrated.
  2. Fail, and tell you what to do next. Usually this means installing a Java Runtime Environment (or JVM) and then uninstalling and re- installing Puzzle Pirates. (Don't worry about reinstalling; you won't lose any of your pirates or pieces of eight!) - +

Installing on Macs

@@ -125,11 +129,12 @@ databases.

YARRG JPCTB uses the Java Accessibility API, which is a part of the -Java platform. It's an interface provided for making applications -available to users with disabilities, for example for hooking in -screen readers. This approach was helpfully suggested by a Ringer in -the forums (to another developer of a third-party tool, wanting help -getting information out of Duty Reports). +Java platform. It's a facility in Java, available for all Java +programs, intended to help make applications available to users with +disabilities: for example, it permits hooking in screen readers. The +use of the Java Accessibility API was helpfully suggested by a Ringer +in the forums (to another developer of a third-party tool, wanting +help getting information out of Duty Reports).

@@ -141,7 +146,7 @@ core game functionality which would make cheating possible.

-JPCTB works by running any unmodified copy of the YPP client but with +JPCTB works by running an unmodified copy of the YPP client but with a separate JVM (Java Virtual Machine) configured to use the appropriate accessibility plugin. We do this (rather than configuring the computer's main JVM to use the JPCTB accessibility plugin) so that @@ -149,13 +154,14 @@ it is still possible to launch Puzzle Pirates without JPCTB (for example, in case the JPCTB client should cause any kind of problem). -

Authorship and source code

+

Authorship, source code and other versions

Thanks to Burninator for writing the core of the JPCTB client. Ian Jackson and Owen Dunn adapted it to improve the installation setup (in particular, to more completely avoid modifying the YPP client's startup files, which Three Rings unsurprisingly objected to). Owen -Dunn added support for uploading to YARRG and a Windows installer. +Dunn added support for uploading to YARRG, updated the build system, +and wrote a Windows installer.

@@ -168,11 +174,18 @@ the MIT-style two-clause licence.

+The download directory contains some historical versions, which you +can see here: +<% $url_base_base %>/ . + +

+ The source code for the downloadable released binaries is in the -Linux +Linux tarball. We maintain YARRG JPCTB in git, and you can get -recent and perhaps unreleased versions from -git://git.yarrg.chiark.net/jpctb.git. +source code for recent and perhaps unreleased versions from +git://git.yarrg.chiark.net/jpctb.git and/or +git://git.chiark.greenend.org.uk/~ijackson/jpctb.git .