• Runes of Magic Addons
  • Runes of Magic
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

FPS Adjuster

 

Project Updated:
Files Updated: Sun, Sep 27 2009
Supports Game Version: 2.0.11.1872
Category: Miscellaneous
Tags:

[Edit Tags]

Project Manager: celcel
Additional Authors: No additional authors
Current Version: FPS Adjuster v1.2
License: Intelligent License
Development Site: CurseForge.com
Avg Daily DL (last 30 days): 5
Downloads Total: 886
Favorites: 6
Comments: 9
  • Contests
  • About FPS Adjuster
  •  

FPS Adjuster

Description

FPS Adjuster changes the View Distance (found in Display Settings) based on your FPS so that you will not get low FPS even in populated towns or otherwise heavy-duty enviroments.

It works by averaging out your FPS during a small moment of time and if that average goes too far from the value chosen by the user (user can define this treshold as well), it starts changing the View Distance accordingly (the speed can be modified by the user). The user can define the minimum and maximum View Distance the addon is allowed to set.

One big annoyance is that the ROM client many a times throws you into a windowed state (when you alt+tab actively in and out of the game) and sets the resolution setting at Display Settings to 800*600 (if apply is pressed during this time, the user is thrown into that resolution), so the user must tell FPS Adjuster when the Display settings are correct (so we can save them) so that if this happens, the addon can set the resolution back to what it is supposed to be so that the screen won't start flickering back and forth and the user doesn't have to change the resolution back to the one he uses.

Usage

FPS Adjuster will not start adjusting your FPS if you do not set the following values:


Saving Display Settings - open your display settings, set them to what you want them to be and use this slash command to save them into FPS Adjuster
'/fps getset'

After setting the display settings, you can essentially begin using FPS Adjuster without making any further adjustments (by default, it will react if your FPS goes below 27 - then it reduces the view distance - or higher than 40 - then it increases it), but depending on your system and how it performs within the game, you may want to tweak it to fit your system better, you can use the following commands to do so:

The most simplest and most recommeded changes to make as a new user are changing the 'optimal' & 'treshold' values to suit your system (default values are set to suit lower-end systems or systems who run the game with very high graphical options in general). If your FPS value is normally between 70 and 100, you may wish to change the View Distance limits in addition to the 'optimal' and 'treshold' values.

Note: When you adjust the values, try make it so that FPS Adjuster would not have to adjust anything unless you walked into or out of a very populated / heavy area, because when the addon presses the "Apply" button on the display settings frame (yes, I press the button from lua :p), there is a small lag when the new settings are set in (not always though).

Slash Commands used to tweak the FPS Adjuster:


Enable / Disable FPS Adjuster
'/fps'


Change start delay (if your game loads very slowly, increase this) Default value is 20 seconds
'/fps delay <value>'
-value between 10 and 60


Changes the FPS value that the addon tries to upkeep (Default: 33)
'/fps optimal <value>'
-value between 1 and 99


Changes the amount that FPS can vary around the optimal value before taking action (Default:6)
'/fps th <value>'
-value between 1 and 49


Sets the minimum value of View Distance that the addon is allowed to set: (Default: 600)
'/fps low <value>'
-value between 400 and 2000


Sets the maximum value of View Distance that the addon is allowed to set: (Default: 1200)
'/fps high <value>'
-value between 600 and 3500

Sets the ratio of View Distance that the addon will change at a time (it will progress in steps, this modifies the step size, by default, a step is 20% of the difference between minimum and maximum View Distances if the average FPS is further away from optimal than treshold, and 40% if the average fps is further away from minimum than 2x treshold) (Default: 1)
'/fps speed <value>'
-value between 0.1 and 4

Sets the amount of time (in full seconds) that the addon includes in averaging FPS (low value = faster response to FPS changes, big value = smoother response that will ignore longer random FPS nooks): (Default: 4)
'/fps avg <value>'
-value between 1 and 6, integers only (1,2,3,4,5 or 6)

Known Weird Things

If you alt-tab away from the game, the FPS rating will go so low that the Adjuster will most likely set your View Distance to the minimum, but it will be corrected shortly after you return to the game.

Sometimes alt-tabbing will force your ROM client to go into windowed state even though you were using fullscreen, FPS Adjuster will try to get you back into fullscreen when it changes the view distance (by setting the correct display settings excluding windowed mode, then applying, then correcting the window mode at the next change). Sometimes changing windowed mode back to fullscreen from lua doesn't work correctly and the game will keep throwing it back into windowed mode, if this happens, double click on the title to "maximize" the ROM window, this should let FPS Adjuster change the resolution & windowed settings back to normal without any screen flicker whatsoever.

However, sometimes this cannot be corrected (no idea why,as I do exactly the same thing as one would when manually fixing it) and you must manually turn the resolution & window mode back, it is recommeded that if that happens, you would disable fps (by writing '/fps') until you have turned the resolution & fullscreen mode back.

There is no config frame for this addon, because the time require to make that frame is about a 100 times bigger than implementing them as slash commands (there aren't that many, and you will not be setting them more than a few times as you tweak it to suit your system), however, as the settings are only simple variable, anyone is welcome to create a config frame if they wish :)

  • Downloads (2)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  FPS Adjuster v1.2 Release 2.0.11.1872 827 9/27/2009
  FPS Adjuster v1.1 Release 2.0.11.1872 24 9/27/2009
  • 1 page(s)
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • celcel said

    Propably does not work with the latest patch.

    Reply Report Permalink
  • celcel said

    Yes, the display settings must be set manually before running the getset slashcommand, because the values we get from there without user input first are false.

    Reply Report Permalink
  • rhyparo said

    yes i'have done it for the getset command, now values and variables are correct in the Savevariable.lua, but game still crash every time i launch the game without opening display settings :
    open display settings, running the getset slashcommand OK
    running game, running fps_adjust CRASH
    running game, open display settings,running fps_adjust OK

    Reply Report Permalink
  • celcel said

    I've no idea what could cause this kind of behaviour... could you take a look into your SavedVariables.lua and see if there's any weird values among the FPS_Settings.... variables? They should all be either values between 0 and 100, or true/false.

    Reply Report Permalink
  • rhyparo said

    Doesn't crach only if i open the display settings manually before it starts.

    Reply Report Permalink
  • Crashes to desktop for me when I run the /fps getset command one my computer with the ATI video card, but doesn't on the one with the Nvidia in the other room. Identical addons, although that computer does have much lower graphic settings

    Reply Report Permalink
  • celcel said

    Try to set all the display settings manually before doing that (the display screen lies about the values quite often): Move the sliders around even if they are already in the correct position and re-check all checkboxes. If that doesn't work, try removing all other adddons first, as if the crash is caused by another addon, there's nothing really I can do about it.

    Reply Report Permalink
  • Pathor said

    Used the /fps getset command and RoM crashed immediately to desktop with no error.

    Mods in use are:
    ABugCatcher
    Addon Manager
    Advanced Auction House
    Advanced Questbook
    AutoExtract
    DailyNotes
    easyNPCSearch
    FaceTargetToAttack
    Ikarus
    InventoryViewer
    KillStats
    nBuff & nBuffx
    nkCraft
    pbInfo
    PlantCare
    RoMail2
    Streamline
    Ultimate Blacklist
    vyCardInfo
    WoWMap
    XBar 2
    yGather
    zMailQueue

    Reply Report Permalink
  • celcel said

    My bad, sorry, I use that function for the slash commands and when I copied it from myHud, I forgot to change the name to FPS_GetWords, will be fixed to the next version.

    Reply Report Permalink
  • viperfx said

    I think you will need to install the addon myhud to fix that error, until he comes up with a fix.

    Reply Report Permalink
  • remotedd said

    Getting an error when attempting to use any of the commands:

    call ChatFrameEditBox's OnEscapePressed, line: [string "?"]: 135: attempt to call global 'mh_GetWords' (a nil value)

    Reply Report Permalink
  • 1 page(s)
  • Similar Addons
  •  

Average downloads per day

  1. 201 Curse Profiler Miscellaneous
  2. 80 Class Swap Helper Miscellaneous
  3. 75 AutoZoomOut Miscellaneous
  4. 46 scrutinizer Miscellaneous
  5. 43 Priesterix Miscellaneous