How does VX Ace limit frame rate?

I just put that into my game and I get an error. Line 101 'logfile' If i comment that section out I get the error on line 87 'logfile'
Commenting that out gets it to work.
Yes... I'm apparently still getting used to releasing scripts outside of my normal checkin process. That was a debug log line I'd inserted to observe what frame rendering was doing on my machine. I've removed it in v0.31 above, but commenting it out is fine.

I have a lot of scripts in my project. Your framefix effectively brings me to 500 script slot entries.
In my battles (before your script) the frame rate varied from 10-35(my system specs are down below)
With your script I'm getting 45-50 in battle. So it's almost normal. So I was just trying to bump the framerate a little higher for battles, but then the normal game was really fast. The title screen is double (since you initially set the framerate to 120) after starting the game the speed is normal. Pretty much 60fps in normal game play.
500 scripts is a lot! I thought I had a ton, but I've only got 273, including the built in RPG Maker scripts. I'm glad if this script was pushing your battle framerate higher; it is possible that minimally stressed systems would see framerates stabilized by this as well (which seems like what yours might be); I don't have any like that, so testing is hard 🙂

I'll look into the title screen. I had expected that since I immediately hijack the update routine, you might see a frame or two that's too fast on game boot, but then things should stabilize (even on the title). But if the title screen is consistently running too fast, that's not great. Maybe I don't have a meaningful title screen in my game yet, so I'll explore what sort of stuff RPG Maker offers in that area.

Thank you again for the testing!
I'll look into the title screen
I'm using MOG ORIN Title Screen. Here's a link https://atelierrgss.wordpress.com/rgss3-custom-title-screens/

I modified module datamanager and got it working how I want.
Code:
module DataManager
  class << self
 
    alias :mrFrameFixer_setupinit :init
    def init
      Graphics.frame_rate = 60
      mrFrameFixer_setupinit()
      MrFrameInfo.frameCount = 0
    end
   
    alias :mrFrameFixer_setupNewGame :setup_new_game
    def setup_new_game
      Graphics.frame_rate = 120
      mrFrameFixer_setupNewGame()
      MrFrameInfo.frameCount = 0
    end
     
    alias :mrFrameFixer_loadgame :load_game
    def load_game(index)
      mrFrameFixer_loadgame(index)
      Graphics.frame_rate = 120
      MrFrameInfo.frameCount = 0
    end
 
  end
end

The only part left is if I return to the title screen from the game menu. So I just might get rid of that option
@Mhin Ra

I had also made an adjustment for the battle frame count, but that does not work now with this force change to the graphics frame rate. But the battles are not that slow. 50-60 fps

Original thread: https://forums.rpgmakerweb.com/threads/how-does-vx-ace-limit-frame-rate.113973/