Little Fighter Empire - Forums
Default FPS? - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: [2.0] Exe Editing (https://lf-empire.de/forum/forumdisplay.php?fid=43)
+--- Thread: Default FPS? (/showthread.php?tid=10513)



Default FPS? - kairunotabi - 09-06-2016

What is the game's default FPS? And has anyone tried to fiddle eg. change it?


RE: Default FPS? - A-Man - 09-06-2016

30, fixed. Of course people have; have a look at the FPS changer program hosted in the main site.


RE: Default FPS? - Silverthorn - 09-08-2016

If you would like to speed up the game, open up LF2 (2.0a) in a disassembler such as OllyDbg, go to address
0043D164
and change the number in the instruction to something lower than 21h (original instruction should be
CMP EAX,21
). Haven't bothered understanding how it's working and how much things get accelerated. I just know that a frame is set to 21h = 33 ms.

Slowing down, i.e. increasing the frame duration, is something magic. I'm too tired and not motivated enough right now to go dig into it anyways :p

An easier solution would be, of course, to just use an external program to dictate the FPS-speed.


RE: Default FPS? - A-Man - 09-08-2016

I'm not sure that's what Blue Phoenix means, but I know that number is the time "delta" or "timestep". 33ms every frame means that 1000/33 ~= 30 frames will run in a second (the 1000 is from a second being 1000 ms). Suppose you want to run game at 55 FPS. You'd set that number to 1000/55 ~= 18 (12h in base 16).