I had some interest in how the adapter was made so I wrote this up and took some pics.
When I was testing the loco with RailPro I did not want to cut off the 6 Pin plug in order to confirm operation of the circuits that it interrupts. I looked around for the mating socket, but could only find it in PC board mount. I figured if I was going to need to solder wires anyway, I might as well just make my own mate.
I stared with some header pins I picked up from Amazon for my servo driven switch project. The pins are spaced identical to the Bachmann plug and they can be cut to the needed number of pins…

I had some 4 conductor ribbon cable left over from my RGBWW lighting work that got soldered to the pins. I needed 6 wires so two more were added…

To protect from shorts, a few layers of heat shrink finish it off,. The white dot is for polarity reference…

Electrically, it does this. Adapter on left, Bachmann plug on right…
