I just made a discovery today and I thought I'd share it.
(Not actually Knuckles it's a Mii Fighter for Knuckles)
I found out how to edit the CSS portraits for the Mii Fighters. You see the CSS portraits for Mii Fighters are stored in extdata.
Anyway first you'll need these things.
extdata...