I think I used this Wii U tutorial for the command line stuff
https://gamebanana.com/tuts/12079
Just remember when recompiling that it will recompile for Wii U, so as a way to fix that I used the FitX Helper GUI found on Gamebanana to recompile it for 3DS
https://gamebanana.com/tools/6143
Sorry...