@initial:
Veqryn, I am wondering if TripleA can be configured to run as a portable app.
Is there a way a user can define the location of the “User Maps and Savegame”?
I think with the option to define this it would be possible to run TripleA from a USB stick
using jportable/jportable launcher without leaving files on the system.
(Please see http://portableapps.com/news/2013-01-13–jportable-7-update-11-released
and http://portableapps.com/apps/utilities/java_portable_launcher ).
Or are there any other system relevant dependencies?
And this is how to do it:
This is a user guide to run TripleA as a “real” portable app on Windows.
Following this guide you can run TripleA for example from an USB-stick even if Java is not installed on the system.
Any files that are created by TripleA (for example automatic savegames or downloaded maps that were installed using the “Download Maps” feature) will
NOT be saved to the system but on the USB-Stick, too.
So you won’t leave any files on the system you are using with your USB-stick.
This is what you need:
1. The PortableApps.com Platform to be found here:
http://portableapps.com/download
2. The Java environment in a portable version to be found here (32bit as well as 64bit):
http://portableapps.com/apps/utilities/java_portable
3. The Java portable Launcher to be found here (32bit as well as 64bit):
http://portableapps.com/apps/utilities/java_portable_launcher
and of course
4. Triple A - the “All Platforms” version to be found here:
http://sourceforge.net/projects/triplea/files/TripleA/1_7_0_3/triplea_1_7_0_3_all_platforms.zip/download
Using the Java environment in a portable version (2.) has the advantage, that it is useful for every portable app software that needs Java, for example LibreOffice portable or OpenOffice portable.
I am not going to describe anything related to the portable apps suite as it is well known and widely used. See the instructions on www.portableapps.com if you need further help. Or ask here.
When you have installed the Platform, Java portable and Java portable launcher on the stick you need to add TripleA to the suite, too. Just unpack the zip File into the “PortableApps” subfolder on your USB-stick in which all your portable apps are stored. You will have a “triplea_1_6_1_4” directory there now.
Now start your PortableApps platform. Find “jPortable Launcher” (under “Tools”) and execute it. Now browse to the tripleA subdirectory. Find the “triplea.jar” in the “bin” subdirectory and open it. (Do NOT use the triplea.exe!)
TripleA will now start. Download the maps you want using the “Download Maps” feature and start playing. You will find the downloaded maps as well as the automatic savegames on your USB-Stick in the following directory: Stick/PortableApps/JavaPortableLauncher/Data/AppData/triplea/
and NOT in any user/home directory on your system. So you can have your games on any windows machine without leaving data on the system itself.
You can easily verify this and/or access this directory using the TripleA “Open User Maps and Savegames Folder” button that is accessible via the “Engine Preferences” button in the starting dialogue.
You can of course install all of this on any drive with the same effects. This way you can profit from the automatic updates of all Portable Apps you are using.
You need to update TripleA manually when a new version is released - do it the same way as the initial install described above.
I tested this on my two Windows XP systems and a Windows 7 64bit system without problems.
Without guarantee of course, use it on your own risk ;-)
A big thank you to Veqryn for providing interesting background information. That helped me a lot to understand the mechanisms.