I am converting my 1993 e34 540 to manual. How do I trick the brain to think it is in neutral?

I know it is something about the wires that was connected to the automatic handle, but which of them? What colors?