171 Individual Outs Needed. What is the easiest way to do this w/ a Arduino MEGA

You ruled out a solution because "it didn't work." How can anyone suggest alternatives without knowing what "didn't work" with what you have already tried? What are you trying to do?