You're going to have to trace wires and figure out where something crossed/melted together.
After this I would recommend getting a second transformer to handle the accessories and lights, leaving the ZW to strictly power the trains. You'll put much less of a load on the ZW and free up power to run the trains.