Jump to content

FPS Viewer


Ippo

Recommended Posts

FPS Viewer

A Frames Per Second indicator

This little thing is so simple I'm not even going to bother making a proper forum post.

It just adds a little window that will show your frames per second in game. You can bring it up by pressing LeftAlt + F at any time.

Download from kerbalstuff, view the source code on github, the license is WTF Public License.

All of this because I'm too lazy to install fraps.

Link to comment
Share on other sites

Never saw a circus_tent in a commit.

For this alone I will dl & use the mod :D

It's added by Github for windows when you create a new repo :)

Also, the reason is that my new PC is here (well... its components) and I was curious to see how many FPS I can squeeze out of KSP on a 770 :cool:

Link to comment
Share on other sites

It's added by Github for windows when you create a new repo :)

Also, the reason is that my new PC is here (well... its components) and I was curious to see how many FPS I can squeeze out of KSP on a 770 :cool:

Nice! So what's your new avg?

Link to comment
Share on other sites

Brilliant. It works in Linux 64 bit too!

I'd be very surprised if it didn't: take a look at the only line of code that makes this work. All the rest of the file (and it's still pretty short) is just stuff to draw the window.

By the way: I know it flickers a lot, but as you can see, I'm already using Unity's smoothed framerate. There is basically no documentation on that, so I don't know how it is smoothed (I'm guessing a moving average over a handful of samples): if it *really* is a necessity to improve the smoothing, I might do it... but as far as I'm concerned this was the only release, ever. :)

Link to comment
Share on other sites

Why not using one of the main screen layers like various messages (timewarp, board/grab, KJR stuff, etc) as the older plug-in, showfps, which do the same (it display the FPS in the top right corner of the screen) ?

I don't think a window is a good idea on this (despite it easier to move).

Link to comment
Share on other sites

Because I didn't even know there was an older one that did it that way :)

I don't know how to make it work that way right now. If I ever find out, maybe I'll change it (but don't count on it).

Anyway, considering the license, I absolutely encourage people to modify it in any way they like. Pull-requests are also welcome. Just follow the license :)

Link to comment
Share on other sites

  • 1 month later...

Right O, useful stuff, but now I'm bummed, cause it shows a constant 25 FPS figure and I would think it would sit well above that with my nice spec system.

My config is set to limit 120 framrate, any hints on what could be limiting it or if it could be showing a wrong number?

Link to comment
Share on other sites

  • 4 weeks later...

I'm almost sure With a good system you should reduce Physic Delta/frame to the minimum.

When it is set to 0.04 you'll have 25FPS max because the game won't go faster than 1:1, set the physics to 1/(wanted FPS) aka (1/120). I don't know if there's a minimum, but if you put it to 0 it will just use default without telling you. Too get a precise value edit the value in the settings.cfg in main ksp folder.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...

I'll do it soon, provided I don't forget :) I *think* that there's an FPS counter in the debug menu anyway now (but I might have just imagined it). Also, there's at least another plugin doing the same thing: ShowFPS.

Link to comment
Share on other sites

Actually there are 3 FPS counter:

1. GCMonitor done by Sarbian
2. KerboKatz SmallUtilities what have FPS counter & Limiter done by SpaceTiger
3. Show FPS done by m4v

in case i miss anyone sorry :)

Cheers

Link to comment
Share on other sites

41 minutes ago, Ippo said:

I'll do it soon, provided I don't forget :) I *think* that there's an FPS counter in the debug menu anyway now (but I might have just imagined it). Also, there's at least another plugin doing the same thing: ShowFPS.

the fps counter in the debug menu is telling garbage AFAIK. you could have a yellow counter and it will say 25fps :) and when you load gc monitor it says 10fps

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...