This isn't hard people. SSB wins in a number of ways.
For the Zelda characters:
Utter, rules free invincibility:
Link: If we're giving Ratchet all his stuff, Link gets all of his stuff too. That means Chateau Romani (infinite magic)+Nayru's Love (rules free invincibility)=infinite invincibility.
Zelda: If Link can have it, so can Zelda. She has Nayru's Love after all.
Ganondorf: Is virtually unkillable. Usually is only sealed away by large groups of people that know sealing magic. Otherwise can only be killed by a Triforce of Courage wielder using the Master Sword.
Ridiculous attack power:
Link: Can use the Fierce Deity Mask which makes killing gods as easy as beating a toddler in a fight. With infinite magic, he could use his medallions, various magic arrows, various magic wands, turn invisible and intangible (magic cape), and other things. Not that attack matters all that much since he's permanently invincible.
Zelda: Again, permanantly invincible, but infinite magic would certainly also help a magic user's attack.
Ganondorf: No reason he couldn't bring some Chateau Romani to the fight. Infinite magic, with as powerful as his magic is, would be ridiculous. Again, doesn't matter, only Link can kill him, everyone else can only seal him away, if they have a large enough group of people with the right knowledge of sealing magic.
Instant win capabilities: If all three come together, they can form the Triforce and wish for victory.
For Mario characters:
Rules free invincibility, instant win ability:
All characters can carry a stash of invincibility stars (as NSMB shows), which give rules free invincibility and a touch-them-to-make-them-die effect.
For Samus:
Rules free invincibility, ridiculous attack power:
Screw attack gives her unlimited rules free invincibility, and basically destroys anything breathing it touches, and a lot of non-breathing things as well.
Power bombs are basically a mini-nuke. In Other M, she has an infinite number of them. Not that she needs these, mind you, considering the screw attack is a sci-fi Mario invincibility star that can be activated at will.
For Kirby:
Should be self-explanatory. In his games, when he swallows people, they just die. Smash revokes this to make it an interesting fight, but we're just using Smash characters, not Smash rules. His latest game has him swallowing things vastly larger than himself. Swallowing the PSAS gang would give Kirby their powers. In Smash, they get one power, but in the Kirby games, Kirby gets a variety of moves when he swallows the more complex enemies like Knuckle Joe or the ninja. As such, Kirby could swallow anyone, but swallow Ratchet, Kratos, or Sack Boy, and he'd be unstoppable, or at least as unstoppable as the person he swallowed. They'd probably all be dead from all the instant win abilities of the other characters before Kirby could get to them, but the point stands.
For Yoshi:
Eats things ridiculously larger than himself, turns them into eggs for ammo. They die instantly. Smash revokes this property, but again, we're drawing from the character's universes here, where Yoshi kills things when he eats them.
For Pacman:
Eats a Power Pellet, and his enemies become edible. Instant win.
And a number of other broken characters, but I think I've said enough. So many people with infinite, rules free invincibility, and several of those instantly kill people when they touch them. This isn't even a fight worth considering.