Jump to content

Programmable Floating Keys


Recommended Posts

One of the useful feature of RM is the ability to user definable buttons on the screen, to call up locos, play sounds, set routes and adjust the plan view.  One thing you cannot do is set it up to run a program.  But I have found a way to do this, by editing the file progbuttons.dat in the railmaster directory.  (This is using latest version of RM 1.55).

If you open progbuttons.dat using notepad or similar you will see e.g.

ROUTE:<label>~<routename>

LOCO:<label>~<loconame>

PLAN:<label>~x:y

SOUND:<label>~<soundname>.wav

It is easier to edit this file outside RM, especially if you want to re-order the buttons.  Also for the PLAN option, you can specify decimal numbers not just integers to more finely adjust the position.

I have found that you can also call a program by adding a line like:

PROG:<label>~<programname>

Do not include the .prg at the end of the program name.

You may need admin rights to update the file in the railmaster directory, as you do if you ever edit railmaster.ini

Hope this helps someone.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...