[Thread Prev][Thread Next][Thread Index]

Re: Keeping multiple instances of a single program on the pilot



> Is there any way to have multiple unique instances of Chess10 on my pilot,
> where each one wout have a slightly different name (and icon in the
> applications launchpad)?

Multiple instances can coexist if they have different creator ids.
If you have a binary or hex editor you could edit the prc file and change
the creator id, a four character string located near the beginning of the file,
just after the file type ("appl").
The name of the app (as shown in the applications window) is right at the
beginning of the file.

The slightly trickier part is getting the app's datafile to also work off the
new creator id.  The code creating/opening the datafile could be anywhere in
the prc file, but should have that same creator id string visible.  If your
hex editor can search for a series of bytes you can find it quickly..

	- Alan

ps-I have a simple hex editor I wrote in perl if you want it.. it can't
   search for bytes though..
------------------------------------------------------------------------
***********************************************************
*             This is a public mailing list!              *
* Please do not publish Sun proprietary information here! *
*        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
*             http://www.moshpit.org/pilotmgr             *
***********************************************************


SourceForge.net Logo