Decoder Pro - transfer loco list

I have two computers with decoder pro - I used the laptop to add a new loco at the train board on the programing track.  I now want to export the loco roster and import to my desktop so i have two copies.  decoder pro has roster, export and roster, import option but for only one loco at a time.  I want to copy all the files to avoid the requirement for one at a time.  suggestions - thanks mark

vedearduff's picture

Roster Format

The roster is made up of individual XML files.  I suspect that the ability to export the entire roster would require additional code to be written.

A way to acomplish what you want to do, would be to copy the files in the roster folder on your laptop to the roster folder on your desktop.  The location of this folder will depend upon the OS you are using.

I hope this helps.

Vernon

Moving roster

Copy BOTH the roster.xml file and roster folder to the new computer.

http://www.jmri.org/help/en/html/apps/DecoderPro/RosterFile.shtml

The Roster folder has each individual locomtive file and roster.xml file is used by JMRI to provide the list so that all the individual files don't have to load evertime.

Peter

 

Edit: Corrected link

+ +

Take your roster files and put them on the other computer in the same named folder. Once you have done that Start DP and go to the 'debug' tab and then  do a ' Recreate  Roster Index '.  That will create the roster list on the new computer.

Marc Fournier, Quebec    

+ +

Peter,, we have to stop bumping into each other...

Marc Fournier, Quebec

Mark,     If both computers

Mark,

 

  If both computers are on the same network and can access a shared folder, you can tell decoder pro where that folder is on each computer. (shared folder) and then there will be no need to move any files at all.  The details are in the decoder pro docs someplace.  It is not that hard.  I have a "media server" in my home network with a folder that has my common roster in it.  From any computer in my network I am pointed to this common roster.  Very handy.

Options.

 That is another great  option.  

File Sharing in DecoderPro

Problem with that is they skim over the requirements in setting this up. If someone is  running the same Operating  System on all his computers it is fairly  simple, if you setup the common workgroup.  When you start mixing Xp, VIsta, W7  it gets a tad more convoluted with all the security.  So it may not be within the grasp of the casual user.

The dirt simple way is to copy the roster to a USB key or diskette and move them over, recreate the roster index under Debug. 

Many ways to skin a cat.  Peter gave one, you gave one, I gave one. The end user can pick and chose.

Marc Fournier, Quebec

Combining rosters

Mark,

I should point out that if each computer has entries already but not all the same locos then Marc's procedure is the way to do it but if the desktop is a clean slate either way will work.

Peter

Rio Grande Dan's picture

This is from the JMRI Decodor

This is from the JMRI Decodor pro Web site

Sharing DecoderPro Rosters Across A Network

A common question:

I have a computer at both my workbench, where I program my engines, and one at my layout location. They are not portable, but all the PC's at my house are networked together (Windows XP clients and a Windows 2000 Server). I would like to store the roster and all else that is needed on the Windows 2000 server and be able to run copies of Decoder Pro on at lease two of the Windows XP PC's. Is that possible?

Yes!

Configure the Windows machines so there's a shared directory, and then you can set the JMRI "advanced preferences" to put the roster information inside that.

  • Set-up a shared directory.
  • Select which roster you want to start with (since there might be separate ones on different machines already). On that machine, find the "roster.xml" file and "roster" directory in the preferences directory.

    For more information, please see the DecoderPro pages on the roster files and file locations.

    Copy, _do not move_, the roster.xml file and roster folder to the shared folder. You must copy the _entire_ contents of the roster directory!

  • On each machine that is to use the shared roster, start DecoderPro, select Preferences from the Edit menu, and click "Show Advanced Preferences". The window will get bigger. Press "Set" under "Roster:" and follow directions.

 

                 Rio Grande Dan

+ +

Guess the  hot link in my post was not enought...

One little detail with JMRI and a new installation. Their is no roster file structure created till you create your first roster entry.  So a person using this scenario may be in for a surprise when he finds no folders on one machine when compared to the other.

Marc Fournier, Quebec  


>> Posts index

User login