[Tutorial] Rohan FPS Cap Removal

01/16/2014 17:03 oziel235#1
I found this tutorial and I decided to share. Get 60 FPS set in another ancient rohancliente.exe which had no Hero.
But it works. Thought it was cool but I prefer FPS in 20.

The 20 Fps Cap was implemented into Rohan a while ago (the game runs so choppy at 20 fps) doing this will bump up the limit to 60 fps, for anyone who has basic knowledge of reversing there should be no problem changing the limit to one you want:

First of all open up the client in IDA, no need to wait for it to analyze or anything because all we need to view is the imports, go to the first call of TranslateMessage():

[Only registered and activated users can see links. Click Here To Register...]

Next we scroll up until you get to the piece of code:
Code:
seg000:0044F468                 xor     edx, edx
seg000:0044F46A                 mov     eax, 3E8h
seg000:0044F46F                 div     ds:dword_B7CA64
seg000:0044F475                 mov     esi, eax
seg000:0044F477                 call    ds:timeGetTime
[Only registered and activated users can see links. Click Here To Register...]

Lastly all we need to do is fire it up in a hex editor, the one i use is free by the way, then we go to the offset we noted down in the previous screenshot and modify the byte from "14" to "3C", and save:

[Only registered and activated users can see links. Click Here To Register...]

and you are done if the server uses a check for a modified client on startup and re-patchs like the one for this server did then you just simply use WriteProcessMemory to patch the value while the client is running.

Hope this helped someone in some way, i know when i apply this patch that it makes the game much more enjoyable for me anyway.

Credits: skEncrypt
01/16/2014 17:41 Ishtaria#2
Encrypt did that didn't he? I remember him showing me on msn.

WARNING increasing the frame limiter will break ranger/scout kiting and make fishing very difficult.
01/16/2014 17:55 oziel235#3
Quote:
Originally Posted by Ishtaria View Post
Encrypt did that didn't he? I remember him showing me on msn.

WARNING increasing the frame limiter will break ranger/scout kiting and make fishing very difficult.
Because is has a rohan currently implemented, but not particularly liked.
The ranger was very slow. What you can do is increase a little the fps like 30 is good, because the default is 20. I just don't have any new RohanCliente.exe that does not have protection.. Everyone has protection, only an old rohanclient is open.
04/24/2016 06:53 DudeDie#4
is there any other Tutorial on how to do this cause i'm really not getting this one lol
04/24/2016 13:43 radekslu#5
Dude, this is a tutorial ftw O.o
04/24/2016 17:51 im batman#6
Quote:
Originally Posted by DudeDie View Post
is there any other Tutorial on how to do this cause i'm really not getting this one lol
It makes perfect sense to me.
04/24/2016 20:22 DretoNEX#7
Quote:
Originally Posted by DudeDie View Post
is there any other Tutorial on how to do this cause i'm really not getting this one lol
Points for effort :))))))))))
06/07/2016 03:37 yvan.mrxc@gmail.com#8
pls link where i can download IDA
06/07/2016 09:17 asdfRohan#9
[Only registered and activated users can see links. Click Here To Register...]
06/07/2016 19:54 oziel235#10
Quote:
Originally Posted by [Only registered and activated users can see links. Click Here To Register...] View Post
pls link where i can download IDA
are you serious? You are unable to find a simple program? Look for "IDA PRO 6.5"
02/28/2018 10:39 theasdaf67#11
Hey man does this still work? I see your comment is last 2016. but I'm in deep fucking need. ida doesn't show "translatemessage" and imports look all different
02/28/2018 12:52 kthxbai2#12
You won't be able to analyze packed executable with Ida by default
03/01/2018 01:53 theasdaf67#13
Quote:
Originally Posted by kthxbai2 View Post
You won't be able to analyze packed executable with Ida by default
So, how do I do it? how were they able to do it?
03/01/2018 13:56 ammadpurba#14
you only need hex editor and unpacked rohanclient to change FPS
03/01/2018 16:55 im batman#15
Quote:
Originally Posted by theasdaf67 View Post
So, how do I do it? how were they able to do it?
Think about what it is you are asking. If you can't figure out the answer, how in the hell do you hope to actually follow the instructions in the 1st post?