Wave Shield Pin Remapping, Can I Do It Programatically?

I have a waveshield 1.1 hooked up to my arduino mega 2560, and I was having some difficulty just getting the SD card to read. I found out that a couple of the pin mappings are off with the waveshield from this blog post: https://paulhartigan.net/2012/01/01/wave-shield-and-arduino-mega-2650/

My question is, is there a way to programatically map these pins instead of having to physically rewire them? I'm comfortable with editing the headers in the library files themselves if that is necessary.

Simply finding the pin values in ArduinoPins.h in the wave library

// SPI port
#define SS_PIN 10
#define MOSI_PIN 11
#define MISO_PIN 12
#define SCK_PIN 13


// SPI port
#define SS_PIN 53
#define MOSI_PIN 50
#define MISO_PIN 51
#define SCK_PIN 52

did not work, but I feel like I may be able to do something of that nature.


Listen to Bat'man'

Maybe google SPI Bitbang.