Author Topic: Problems showing FPS counter  (Read 834 times)

Fer

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Problems showing FPS counter
« on: January 19, 2006, 11:26:18 pm »
I\'ve searched as hard as I can for a reason why adding System.PlugIns.iBugPlug = crystalspace.utilities.bugplug to psclient.cfg doesn\'t show the fps counter in the info window, and havn\'t found anything.
     Is this something which doesn\'t work in OS X (10.4.4 by the way)? Or should I not be having a problem?

     Thanks in advance

          Fer
« Last Edit: January 19, 2006, 11:26:44 pm by Fer »

Karyuu

  • Forum Legend
  • *
  • Posts: 9341
    • View Profile
(No subject)
« Reply #1 on: January 20, 2006, 12:07:55 am »
Isn\'t there already an FPS counter in the info window?
Judge: Are you trying to show contempt for this court, Mr Smith?
Smith: No, My Lord. I am attempting to conceal it.

Fer

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
(No subject)
« Reply #2 on: January 20, 2006, 12:10:18 am »
No...



There isn\'t.

The threads I found that line (System.PlugIns.iBugPlug = crystalspace.utilities.bugplug) were pretty old, it wasn\'t only relevant to MB perchance? Unless everyone\'s guestimating their FPS on the OS X Specs page, surely I\'m missing something somewhere for displaying my FPS?
« Last Edit: January 20, 2006, 12:42:45 am by Fer »

Karyuu

  • Forum Legend
  • *
  • Posts: 9341
    • View Profile
(No subject)
« Reply #3 on: January 20, 2006, 12:13:55 am »
My mistake, I was thinking of the older GUI that showed it :/
Judge: Are you trying to show contempt for this court, Mr Smith?
Smith: No, My Lord. I am attempting to conceal it.

goland

  • Hydlaa Resident
  • *
  • Posts: 86
    • View Profile
(No subject)
« Reply #4 on: January 20, 2006, 12:43:24 am »
On my client, after adding that line to my psclient.cfg, shows the FPS in the bottom left corner, not the info window.  Is your client not showing the FPS at all or is it just not in the info window?
It\'s amazing how we can do things simultaneously, like talking and not listening.

Fer

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
(No subject)
« Reply #5 on: January 20, 2006, 12:53:15 am »
I was looking in the info window as I saw it there in screen shots, but I\'ve checked now and it\'s not in the bottom left corner either. This is a pic of my psclient.cfg all look in place ?
 
« Last Edit: January 20, 2006, 12:53:34 am by Fer »

goland

  • Hydlaa Resident
  • *
  • Posts: 86
    • View Profile
(No subject)
« Reply #6 on: January 20, 2006, 01:55:07 am »
I can\'t see a difference between your config and mine.  I\'m not sure what the problem is.
It\'s amazing how we can do things simultaneously, like talking and not listening.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #7 on: January 20, 2006, 05:36:37 am »
BugPlug isn\'t shipped with the release client.  If you really want to use it, you\'ll need to build yourself.  (I use the FPS from it too)

::  PlaneShift Team Programmer  ::

Fer

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
(No subject)
« Reply #8 on: January 20, 2006, 08:25:48 am »
So I guess it comes with crystal space and I need to build that and get BugPlug from it and put it in the right place or something?

Edit to add:

OK so I\'ve downloaded CS and found the code for BugPlug. Would someone like to tell me the right way (including command lines) to compile the code and then where to put it in relation to Planeshift... That\'s if it\'s all that simple.

I hope to use gcc on OS X (in the terminal).
« Last Edit: January 20, 2006, 05:11:00 pm by Fer »

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #9 on: January 20, 2006, 05:41:53 pm »
Just compile everything normally, and stick that line into the config.

::  PlaneShift Team Programmer  ::

Fer

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
(No subject)
« Reply #10 on: January 20, 2006, 06:45:56 pm »
OK I run the configure file and it fails to create the makefile emulation layer. I think this is because I\'m missing libpng and libjpeg. I try to install libpng and I get error 1, something about how something isn\'t an object file and isn\'t allowed in the library. I can\'t find anything about this google searching. Does anyone know about any problems with libpng and OS 10.4.4? There seems to be a tiger version (the one I\'m using), but maybe it\'s a problem with the latest update?

Or it might not be that at all. Aparently OS 10.4 has built in linpng and libjpeg dynamic libraries, but maybe they don\'t count to crystal space, \'cos the configure file says they\'re missing. The only error I get at the end of the configure file is \"failed to create the makefile emulation layer\".

Edit to add:

Aha. I gave up with Darwin ports and manual installation of libpng and libjpeg and just used fink, now the configure file picks them up.

Crystal space is built.

Edit once again to add:

I\'ve compiled Crystal Space and got stuff like walktest working, just now I still have the old problem that the BugPlug doesn\'t seem to be working. DaveG are you saying that after I\'ve compiled Crystal Space and add System.PlugIns.iBugPlug = crystalspace.utilities.bugplug to psclient.cfg it should be picked up and work? Or am I missing something again?
« Last Edit: January 20, 2006, 09:50:08 pm by Fer »

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #11 on: January 20, 2006, 10:44:11 pm »
I just meant compiling everything normally.  Cal3d, CS, CEL, and PS.  Sorry for not being very clear.  You actually might be able to get away with finding the bugplug library, and moving it to your PS dir.  It\'d be interesting to see if that works.  ;)

::  PlaneShift Team Programmer  ::

Fer

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
(No subject)
« Reply #12 on: January 20, 2006, 10:48:54 pm »
OK, well I\'ve found bugplug.csbundle and bugplug.csplugin, Is there anything else I need. And I think all the other plugins and such are in /psclient.app/contents/resources/ so I\'ll dump it there I guess?

Also looks like the current PS release doesn\'t have BugPlug but does still have the keybindings and the config for it :D

Edit to add:

Hm, well I did what I said I was gonna do up there ^ and it didn\'t seem to work. Is there something in the executable that\'s missing then do you think? If so I\'m not up to sorting code for all that to make a new one.
« Last Edit: January 20, 2006, 11:06:06 pm by Fer »