Skip to content

shr5rcp portable

UrsZeidler edited this page Jun 9, 2015 · 9 revisions

build a portable version

It is possible to have several version of the application on an external disk space like an USB stick and run the application on every computer you plug the USB into, having all the data on the stick. We embed the java runtime environment (jre) so no dependencies exist and as we provide several target platforms, you only need a computer with one of the platform you can run the application from the stick.

Thanks to AJCarrington for the inspiration.

As the different operations systems uses different mechanism to define a file as executable program it is not possible to use a FAT or FAT32 formatted stick for the Linux or Mac software. These operating systems define a program by an flag on the file the executable flag. On a windows files system these flag simply don't exist. Therefore you could not start a Linux or Mac version on a FAT files System. If you know a file system supported by all operating systems and having these features let us know.

  • To support win32/64 you only need an USB stick.
  • To support linux32/64 you need to format the USB stick with a cool file system like ext4.
  • Same for the mac version.

Could create several partitions on one stick.

download shr5rcp

For all target platforms you want to support with the USB stick you need to download the zip archive. Take the lates release.

download java

For each shr5rcp platform you download you need to download the corresponding jre. The eclipse platform works with the version 1.6, which is not the newest one, so it is ok to take a 1.7. The new 1.8 should work the same. For windows take the offline version, round about 30mb.

create target dir

On the USB stick create a shr_home/ directory. In this directory we extract the shr5rcp versions, create the workspace and the source books folder.

extract shr5rcp

Extract each zip file in the target directory.

extract java

Extract the java archives in the shr5rcp directory and rename it to 'jre', on windows the archive to download is an executable, you don't need to execute the file, it is an archive with a unzip program like 7-zip you can open the archive and extract the contained core.zip file.

This is also a zip file, the content of this zip file need to be extracted in a folder called jre in the shr5rcp directory.

You file system should look like this for win:

And this for linux:

Rename the java directory to 'jre'.

start and configure

After preparing all the platforms the described way start the platform you are currently working on. Select a workspace in the shr_home directory, when not existing it will be created.

configure source books

To link the source book view create a directory 'source' in the shr_home directory and copy you source pdf to it. Change the file path to a relative one: ../source/Shadowrun_Run_Faster_(6809552).pdf this configuration is stored in the workspace so it is valid for all program version you might use.

keep the software up to date

With the update-site you can keep track with the regular updates of the software.

Clone this wiki locally