In Windows, there is a tool for Flash games called Cheat Engine which can speed up/down a process by X amount, making the time needed for a task in a game to go faster or slower than in the real world. This is specially helpful for time based games that make you wait for an X amount of time for a building to get finished, a harvest to get completed, etc... This also applies to games that you need them to go slower so you can defend against several enemies (Zombie games, etc..) or games that their difficulty lies in how fast one can complete something.
But this is not limited to web based Flash games. Cheat Engine can also speed up/down other games (Half-Life, Quake 3, etc..).
Is there a way to do this in Ubuntu?
Here is SPEED HACK option I am referring to by using the "Cheat Engine" tool in Windows and it is actually the option that 99.99% of Cheat Engine users use Cheat Engine for:
I should mention that I am not looking for a method to pause the process every milliseconds (Like slowing down Firefox or Chrome instead of slowing down the Flash game). For example slowing down Firefox would not work since it also slows down everything else so it would not be a Speed hack so much as slowing down the process in general including all actions by the user. Basically everything would be the same, just slower. The same goes for speeding the process up.
I am looking for a way to do this to Web Based Flash games and/or Wine emulated Games.