Before diving into system tweaks, do this checklist:
A non-functional cracked game is almost never "broken" for good. The most common reason for the "Sonic Generations cracked Steam client not running" error is an overzealous antivirus program deleting a critical cracked .dll file, or a modern, clean Windows installation missing the legacy Visual C++ and DirectX libraries. By methodically working through the steps above, you have a very high chance of getting the game to work.
If none of the above works, your system has a deep conflict.
What (Windows 10 or Windows 11) are you running? Share public link