If you own a legal copy of the game (the disc or a legally dumped ISO), the only way to play it on PC is through emulation.

You can map GameCube, Xbox, or PlayStation controllers directly to the emulator for a better experience than the original motion controls. 3. Sonic Riders: Regravitified

Emulation. To play this game on a PC, users must utilize emulation software that mimics the hardware of the Wii or PlayStation 2.