| View previous topic :: View next topic |
| Author |
Message |
markwoo How do I cheat?
Reputation: 0
Joined: 28 Dec 2013 Posts: 6
|
Posted: Sat Dec 28, 2013 8:27 pm Post subject: why does speedhack not work on flash videos? |
|
|
| I know that speed hack hooks most of the critical time functions like timeGetTime, GetTickCount, QueryPerformanceCounter and probably more. But why doesn't it speed up youtube videos? I haven't written a multimedia application myself but I have read about its internals in books and internet resources. It seems that most multimedia players including flash player should rely on these critical system time function to calculate frame rate. But for some reason Online Flash videos are unaffected by speed hack. Does anyone know why? |
|
| Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Sat Dec 28, 2013 10:33 pm Post subject: |
|
|
Are you able to speed hack ANY flash at all? Chrome, for example, denies the Flash process from having disk access, so normal speedhack won't work and you need to use some special method to get to to work (which IIRC was on the front page in the news section as a plugin example a while back). _________________
|
|
| Back to top |
|
 |
markwoo How do I cheat?
Reputation: 0
Joined: 28 Dec 2013 Posts: 6
|
Posted: Sun Dec 29, 2013 5:35 am Post subject: |
|
|
| Quote: | Are you able to speed hack ANY flash at all? Chrome, for example, denies the Flash process from having disk access, so normal speedhack won't work and you need to use some special method to get to to work (which IIRC was on the front page in the news section as a plugin example a while back).
|
Yes I have gotten it working on firefox 26 and internet explorer 9 for flash games such as snake but it doesn't seem to affect videos which frustrates me. I haven't tried chrome since I don't use it. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25975 Location: The netherlands
|
Posted: Sun Dec 29, 2013 5:48 am Post subject: |
|
|
Cheat engine's speedhack does not hook the clock functions. Programs that make use of the clock instead of the timecounters are not affected.
Also, stuff that is dependant on the vsync of the monitor are not affected. As they count the number of frames drawn, instead of the time passed since last draw _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
markwoo How do I cheat?
Reputation: 0
Joined: 28 Dec 2013 Posts: 6
|
Posted: Sun Dec 29, 2013 5:52 am Post subject: |
|
|
| Quote: | Cheat engine's speedhack does not hook the clock functions. Programs that make use of the clock instead of the timecounters are not affected.
Also, stuff that is dependant on the vsync of the monitor are not affected. As they count the number of frames drawn, instead of the time passed since last draw
|
I see, but I have not heard about clock functions. Are they supported by windows API? If so where can I find the reference that explains these functions? |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25975 Location: The netherlands
|
Posted: Sun Dec 29, 2013 6:14 am Post subject: |
|
|
GetLocalTime
GetSystemTime
GetSystemTimeAsFileTime
NtQuerySystemTime _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
markwoo How do I cheat?
Reputation: 0
Joined: 28 Dec 2013 Posts: 6
|
Posted: Sun Dec 29, 2013 7:59 am Post subject: |
|
|
| Thanks for the tip. I will try if these functions work. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25975 Location: The netherlands
|
Posted: Sun Dec 29, 2013 8:13 am Post subject: |
|
|
Also don't forget about timers that trigger an wm_timer every interval
And with browser based stuff it's possible the browser sends a timertick to the flashplugin process. So both processes would need to be speedhacked _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
markwoo How do I cheat?
Reputation: 0
Joined: 28 Dec 2013 Posts: 6
|
Posted: Mon Dec 30, 2013 10:50 pm Post subject: |
|
|
| Hi again, I am back from testing your advice. I have hooked all the system clock functions and the WM_TIMER functions such as SetTimer and etc but none of them seem to do the trick. I have notice that there is an undocumented library called ntdll.dll that has a counter called rtlqueryperformancecounter. Do you know if this function is different than the one in kernel32.dll? Could it be worth a try? |
|
| Back to top |
|
 |
Chris12 Expert Cheater
Reputation: 1
Joined: 27 Apr 2012 Posts: 103
|
Posted: Tue Dec 31, 2013 12:19 am Post subject: |
|
|
There's a software called "Api Monitor 2.0".
Try it to find out what api is used to measure time.
There is also the asm opcode RDTSC, but I'm fairly sure flash doesn't use it.
It has to be queryperformancecounter, SetTimer, NtQuerySystemTime or maybe even Sleep / SleepEx.
Try setting a breakpoint in every function and see if its called. If yes, hook it.
Maybe you missed a function... |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25975 Location: The netherlands
|
Posted: Tue Dec 31, 2013 6:15 am Post subject: |
|
|
QueryPerformanceCounter is RtlQueryPerformanceCounter.
Resolving QueryPerformanceCounter ends up giving the same address as RtlQueryPerformanceCounter _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
markwoo How do I cheat?
Reputation: 0
Joined: 28 Dec 2013 Posts: 6
|
Posted: Fri Jan 03, 2014 4:57 am Post subject: |
|
|
Does speed hack hook timeGetTime()? I dumped an injected dll called speedhack-i386.dll and found four functions. They are realGetTickCount, realQueryPerformanceCounter, speedhackversion_GetTickCount, and speedhackversion_QueryPerformanceCounter but timeGetTime is missing. Of course this doesn't necessarily mean timeGetTime() isn't hooked, but just to make sure I am wondering why it's left out and if it's indeed hooked.
From observing api calls made by Flash video on Firefox and chrome using API Monitor suggested by Chris, I think that flash video is using timeGetTime(). Suppose that timeGetTime is hooked, and I want 2x speed, does speedhack simply do "return timeGetTIme() * 2"? |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25975 Location: The netherlands
|
Posted: Fri Jan 03, 2014 6:30 am Post subject: |
|
|
timeGetTime is hooked and redirected to speedhackversion_GetTickCount _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
|