chiark / gitweb /
website: new copyright date for jarrg
[ypp-sc-tools.main.git] / yarrg / web / upload
index b06c774298d6320855d80cfba3856e5318cbb0ad..a0c40fe2360e3c23b49472c5489060ef4ef9b2f4 100755 (executable)
 
 </%doc>
 <& docshead &>
+<%shared>
+my $url_base_base= 'http://yarrg.chiark.net/download/jarrg';
+</%shared>
+<%def downloadurl><%args>
+$leaf
+$test => 0
+#        ^ change this to change the default version
+</%args><%perl>
+my $download_version= $test ? '/test' : '';
+my $url_base= "$url_base_base$download_version";
+my $url= $url_base.'/'.$leaf;
+</%perl><a href="<% $url %>"><%
+    $m->has_content ? $m->content : $url
+%></a></%def>
 <h1>Uploading to YARRG</h1>
 <p>
 
 The YARRG system has two main parts: this website which maintains a
 searchable database of commodity prices, and an upload client (known
-as YARRG JPCTB), which screenscrapes the commodity data from the
+as JARRG), which screenscrapes the commodity data from the
 Puzzle Pirates game client and uploads it to the database.
 
 <p>
 
 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 trade run, as market conditions change and
 you want a plan based on recent data.
 
 <p>
 
-The YARRG JPCTB upload client uploads both to YARRG and
+The JARRG upload client uploads both to YARRG and
 <a href="http://pctb.crabdance.com/">PCTB</a>.  It is intended to
 replace both the <a href="scraper">"yarrg"</a> and "PPAOCR" screenscrapers.
 
 <h2>Instructions</h2>
 
-First you must install YARRG JPCTB, following the instructions for
+First you must install JARRG, following the instructions for
 your operating system, below.  This will not modify your Puzzle
 Pirates installation.  Instead, it provides you with a new way to run
-Puzzle Pirates which integrates it with JPCTB to provides a YARRG/PCTB
+Puzzle Pirates which integrates it with JARRG to provides a YARRG/PCTB
 Upload facility.
 
 <p>
 
-To upload data, run the Puzzle Pirates client with JPCTB (as detailed
-below).  You should see both the Puzzle Pirates window and the JPCTB
+To upload data, run the Puzzle Pirates client with JARRG (as detailed
+below).  You should see both the Puzzle Pirates window and the JARRG
 window appear.  Log in normally, and visit a commodity trading screen
 (at a market, shoppe or vessel hold).  Select "All Commodities" in the
-YPP client.  Then press "Upload" in the JPCTB window.
+YPP client.  Then press "Upload Market Data" in the JARRG window.
 
 <p>
 
-The JPCTB integration is done via fully supported Java Accessibility
+It is OK to switch away from the commodity list in Puzzle Pirates as
+soon as the Jarrg progress bar appears.  The uploader has taken a copy
+of the data, so you can do something else while the upload takes
+place.
+
+<p>
+
+The JARRG integration is done via fully supported Java Accessibility
 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
+at all, you try starting it in the vanilla way (without JARRG
+integration) before asking for help.  In particular, if the JARRG
 startup does not work, but the ordinary Puzzle Pirates startup does,
 report the problem to us, not to Three Rings.
 
 <h3>Installing and running on Linux</h3>
 
 Download
-<a href="http://www.greenend.org.uk/owen/free/jpctb.tar.gz">http://www.greenend.org.uk/owen/free/jpctb.tar.gz</a>
-and unpack it.  You run it from the command line.  Change
-to the directory where you unpacked the tarball above, and then run
+<& downloadurl, leaf => 'jarrg-linux.tar.gz' &>
+and unpack it.  You run jarrg from the command line.  Change
+(<code>cd</code>) to the top level <code>jarrg</code> directory
+which was created when you unpacked the tarball, and then run
 <pre>
-./jpctb /path/to/yohoho/yohoho
+./jarrg /path/to/yohoho/yohoho
 </pre>
 where <code>/path/to/yohoho/yohoho</code> is the location of the
 ordinary Puzzle Pirates startup script, which is normally
@@ -97,11 +119,11 @@ ordinary Puzzle Pirates startup script, which is normally
 <h3>Installing on Windows</h3>
 
 Download
-<a href="http://www.greenend.org.uk/owen/free/jpctb-linkfarmer/jpctp-setup.exe">http://www.greenend.org.uk/owen/free/jpctb-linkfarmer/jpctp-setup.exe</a>
+<& downloadurl, leaf => 'jarrg-setup.exe' &>
 and double-click on it.  It will either:
 <ol>
 <li>Just work, in which case you'll have a new icon on your desktop which
-   runs Puzzle Pirates with JPCTB integrated.
+   runs Puzzle Pirates with JARRG integrated.
 <li>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
@@ -111,19 +133,24 @@ and double-click on it.  It will either:
 <h3>Installing on Macs</h3>
 
 We believe that it should be straightforward for a MacOS expert to get
-YARRG JPCTB working properly on MacOS but we have not been able to
+JARRG working properly on MacOS but we have not been able to
 test this ourselves.  The Linux installation method is probably the
 best starting point.
 
 <h2>How does it work?  Is it a violation of the Terms of Service?</h2>
 
-Essentially, JPCTB is a specialised "screen reader" which instead of
+JARRG (and the old OCR clients) comply with Three Rings' official
+<a href="http://yppedia.puzzlepirates.com/Official:Third_Party_Software">Third Party Software Policy</a>.
+
+<p>
+
+Essentially, JARRG is a specialised "screen reader" which instead of
 reading information out loud, uploads it to the YARRG and PCTB
 databases.
 
 <p>
 
-YARRG JPCTB uses the Java Accessibility API, which is a part of the
+JARRG uses the Java Accessibility API, which is a part of the
 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
@@ -133,7 +160,7 @@ help getting information out of Duty Reports).
 
 <p>
 
-Installing YARRG JPCTB does not modify any game files, and does not
+Installing JARRG does not modify any game files, and does not
 hook into the game itself.  It makes no permanent or global changes to
 your overall computer, operating system or Java configuration.  And it
 does not access (indeed, we don't think it could access) any of the
@@ -141,39 +168,48 @@ core game functionality which would make cheating possible.
 
 <p>
 
-JPCTB works by running any 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
-it is still possible to launch Puzzle Pirates <em>without</em> JPCTB
-(for example, in case the JPCTB client should cause any kind of
-problem).
+JARRG runs the unmodified Puzzle Pirates game, but with a separate
+copy of your system's JVM (Java Virtual Machine); that copy of the JVM
+is configured to use the JARRG accessibility plugin.  We do this
+(rather than configuring the computer's main JVM to use the
+accessibility plugin) to avoid interfering with other uses of Java on
+your computer - in particular, so that it is always possible to launch
+Puzzle Pirates <em>without</em> JARRG (for example, in case the plugin
+should cause any kind of problem).
 
-<h2>Authorship and source code</h2>
+<h2><a name="source">Authorship, source code and other versions</a></h2>
 
-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, updated the build system,
-and wrote a Windows installer.
+Thanks to Burninator for writing the core of the JARRG client.  Ian
+Jackson and Owen Dunn adapted it to fix bugs and to improve the
+installation setup (in particular, to avoid modifying any of the YPP
+client's startup files).  Owen Dunn added support for uploading to
+YARRG, updated the build system, and wrote a Windows installer.
 
 <p>
 
-YARRG JPCTB is
+JARRG is
 Copyright 2006-2009 Burninator,
 Copyright 2009-2010 Owen Dunn and
-Copyright 2009-2010 Ian Jackson.
+Copyright 2009-2011 Ian Jackson.
 It is Free Software with <strong>NO WARRANTY</strong>, released under
 the MIT-style two-clause licence.
 
 <p>
 
-The source code for the downloadable released binaries is in the
-<a href="http://www.greenend.org.uk/owen/free/jpctb.tar.gz">Linux
-tarball</a>.  We maintain YARRG JPCTB in git, and you can get
-recent and perhaps unreleased versions from
-<code>git://git.yarrg.chiark.net/jpctb.git</code>.
+The code for the downloadable binaries is in
+in <& downloadurl, leaf=>'jarrg-source.tar.gz' &>.
+The download directory also sometimes contains other versions
+(eg unreleased test versions), which you can see here:
+ <& downloadurl, leaf => '', test => 0 &>
+
+<p>
+
+We maintain JARRG in git, and you can get
+source code for recent and perhaps unreleased versions from one of:
+<pre>
+git://git.yarrg.chiark.net/jarrg-ian.git</code> <a href="http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=jarrg-ian.git;a=summary">(gitweb)</a>
+git://git.yarrg.chiark.net/jarrg-owen.git</code>&nbsp;<a href="http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=jarrg-owen.git;a=summary">(gitweb)</a>
+</pre>
 
 
 </div>