Het forum

FPS debugging

How to?

Auteur Antwoorden
Vanack Sabbadium Donderdag 17 Januari 2013 om 16:15
Vanack SabbadiumAnonymous

Hi everybody.
I've been using POL for years, and i always needed to track FPS of all my games.
Now, with this latest release, i can't do that anymore.

How can i debug and track FPS so i can see how many FPS i got into the game?
Time ago i used to modify the shortcuts (ex: PES2013) and put "+fps" into the "WINEDEBUG=XXX" line, where XXX stands for what i want to debug.
Now it doesn't work anymore.
If i click on "run debug", POL debug everything but FPS, and if i check the shortcut, XXX part of "WINEDEBUG=XXX" is blank.

So, how can i do that?
Thanks in advance.

- Ubuntu 12.10 64-bit version
- Wine 1.5.21 (latest POL release)
- Gnome Shell
- No errors
- AMD Athlon X4, 4 GB RAM, GeForce GTX550Ti
Quentin PÂRIS Donderdag 17 Januari 2013 om 23:07
Quentin PÂRISAnonymous

Hello,

For the moment shortcut is overwritten when you run the program (-all is set for normal run and nothing for debug mode)

There is no feature at the moment allowing to change that, but it is pretty easy to make one, you can edit line 164 of python/lib/playonlinux.lib
Vanack Sabbadium Vrijdag 18 Januari 2013 om 9:08
Vanack SabbadiumAnonymous

Thanks for your reply.

But... I understand what you said to me, but i would like to know exactly how to do that, which lines i have to change and how.

Secondly, my playonlinux.lib is located inside /usr/share/playonlinux/lib, is that a problem?
Last but not least, at line 164 i have "POL_Config_PrefixRead ()" which is the title of the function i suppose.

Thanks again!
Quentin PÂRIS Vrijdag 18 Januari 2013 om 11:06
Quentin PÂRISAnonymous

Sorry it is playonlinux.py
Vanack Sabbadium Vrijdag 18 Januari 2013 om 11:28
Vanack SabbadiumAnonymous

Thanks, i solved my problem!
Je bent hier: Index > PlayOnLinux > FPS debugging