From: Ian Jackson Date: Sun, 5 Jul 2009 17:21:28 +0000 (+0100) Subject: Better usage instructions X-Git-Tag: 1.9.3~12 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.web-live.git;a=commitdiff_plain;h=1b91bb1845ff18772d9d1ea9a43ea7a2865a1d9a Better usage instructions --- diff --git a/pctb/README b/pctb/README index 2c3a917..8379208 100644 --- a/pctb/README +++ b/pctb/README @@ -6,17 +6,22 @@ This tool can: - produce the results as a tab separated values file - upload the results to PCTB -To run it, change to this directory, type `make', and then: - ./ypp-commodities -to upload to the PCTB server. Currently we use pctb.ilk.org, -the testing instance of the PCTB database, pending approval from the -operators of the main server. +To build, install the dependencies, cd to this directory and type `make'. + +To screenscrape and upload to the PCTB server, select `trade +commodities' from the hold of a vessel or building, and run: + ./ypp-commodities +Currently we use pctb.ilk.org, the testing instance of the PCTB +database, pending approval from the operators of the main server. Or, for example, for a tab-separated values dump: - ./ypp-commodities --tsv >commods.tsv + ./ypp-commodities --tsv >commods.tsv While it is capturing the screenshots, do not move the mouse or use the keyboard. Keyboard focus must stay in the YPP client window. +If you use Gnome or KDE you must raise the YPP client window so that +it is completely unobscured - the ypp-commodities program tries to do +this but metacity and kwin do not honour the request. Command-line options