What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Can we return the game framerate?

  • Thread starter Thread starter weischbier
  • Start date Start date
[video=youtube;vKLuEZixWPU]http://www.youtube.com/watch?v=vKLuEZixWPU[/video]
 
did it wrong.
[video=youtube;kEOpr2jai9c]http://www.youtube.com/watch?v=kEOpr2jai9c[/video]
 
Can i haz spidey hijack?

[video=youtube;1gLUbuN2C18]http://www.youtube.com/watch?v=1gLUbuN2C18[/video]
 
Count pulses of your code?

If you actually detour EndScene with an injected library, you can count the amount "pulses" it does, because when EndScene finishes executing, the frame is rendered, and your count would be accurate. I'm pretty sure HonorBuddy doesn't use an injected library though, and therefore HB's pulse would be called from the logic thread rather than EndScene.

Tl;dr - You won't get the framerate by counting pulses.
 
If you actually detour EndScene with an injected library, you can count the amount "pulses" it does, because when EndScene finishes executing, the frame is rendered, and your count would be accurate. I'm pretty sure HonorBuddy doesn't use an injected library though, and therefore HB's pulse would be called from the logic thread rather than EndScene.

Tl;dr - You won't get the framerate by counting pulses.

Wrong.

The frame isn't rendered until "Present()" is called. EndScene just signals that there's no longer any more information being pushed to the buffers.
 
Wrong.

The frame isn't rendered until "Present()" is called. EndScene just signals that there's no longer any more information being pushed to the buffers.

So, being an EndScene hook... counting Pulses would be fairly accurate?
 
Wrong.

The frame isn't rendered until "Present()" is called. EndScene just signals that there's no longer any more information being pushed to the buffers.

Thanks. Still learning every day. :)
 
Back
Top