Here's the whole configuration:

One instance is launched from launch_7Ages.jnlp:
*****
<?xml version="1.0" encoding="utf-8"?>
<!--

To make a single-click launcher for an individual VASSAL module, make
a copy of this file and supply values wherever you see "EDIT:" below.

Once you've filled in the values correctly, double-clicking on the
file will launch the module directly.

-->
<jnlp spec="1.0+" codebase="http://www.vassalengine.org/ws";>
   <information>

<!-- EDIT:  replace VASSAL with the name of the game, e.g. Zap Wars -->
      <title>7 Ages</title>

      <vendor>Rodney Kinney</vendor>
      <homepage href="http://www.vassalengine.org"/>
      <offline-allowed/>
   </information>
   <security>
      <all-permissions/>
   </security>
   <resources>
      <j2se version="1.4+" max-heap-size="512m"/>
      <jar href="VASSAL.jar"/>
      <jar href="Vengine.jar"/>
      <jar href="docs.jar"/>
      <extension name="Cryptix" href="crypt.jnlp"/>
   </resources>
   <application-desc main-class="org.vassalengine.Main">
     <argument>-extract</argument>
     <argument>/docsInfo</argument>

<!-- EDIT:  replace NAME_OF_MODULE_FILE with the name
 of the module file, e.g. C:\Program Files\VASSAL\zap.mod -->
     <argument>/Applications/Games/VASSAL/modules/7 Ages/7AgesvB2.mod</argument>

   </application-desc>
</jnlp>
*****

The other instance is launched from launch_7Ages_P2.jnlp:
*****
<?xml version="1.0" encoding="utf-8"?>
<!--

To make a single-click launcher for an individual VASSAL module, make
a copy of this file and supply values wherever you see "EDIT:" below.

Once you've filled in the values correctly, double-clicking on the
file will launch the module directly.

-->
<jnlp spec="1.0+" codebase="http://www.vassalengine.org/ws";>
   <information>

<!-- EDIT:  replace VASSAL with the name of the game, e.g. Zap Wars -->
      <title>7 Ages, Player 2</title>

      <vendor>Rodney Kinney</vendor>
      <homepage href="http://www.vassalengine.org"/>
      <offline-allowed/>
   </information>
   <security>
      <all-permissions/>
   </security>
   <resources>
      <j2se version="1.4+" max-heap-size="512m"/>
      <jar href="VASSAL.jar"/>
      <jar href="Vengine.jar"/>
      <jar href="docs.jar"/>
      <extension name="Cryptix" href="crypt.jnlp"/>
   </resources>
   <application-desc main-class="org.vassalengine.Main">
     <argument>-extract</argument>
     <argument>/docsInfo</argument>

<!-- EDIT:  replace NAME_OF_MODULE_FILE with the name
 of the module file, e.g. C:\Program Files\VASSAL\zap.mod -->
     <argument>/Applications/Games/VASSAL/modules/7 Ages Player
2/7AgesvB2-P2.mod</argument>

   </application-desc>
</jnlp>
*****

Note that these are separate .mod files.

So, if I run launch_7Ages.jnlp, the mod loads.  I click File, Edit
Preferences, Personal, and change Name: to "User 1", password to
"pass1" and click OK.  I click File, Quit.

Now I run launch_7Ages_P2.jnlp, and the mod loads.  I click File, Edit
Preferences, Personal, and the Name/password is already set to "User
1"/"pass1"

Hope this helps.

Randy...

Reply via email to