Hello, I have a game which runs almost perfectly (Europa Universalis III), there's just one problem: when you click a province to open the dialog, there is a noticeable delay. Since it's a specific problem to diagnose, I'm hoping it'll be as simple as running a profiler to see which WINE function(s) the game calls to complete this task, and hopefully fix the problem function. Am I badly deluded? I know I can't probably profile the game itself, but I'm hoping I can profile the WINE calls it makes. If i'm not deluded, how would I go about this? Are there instructions someplace?
On Sat, Jun 5, 2010 at 10:52 PM, ernesto <wineforum-user at winehq.org> wrote:> Hello, > > I have a game which runs almost perfectly (Europa Universalis III), there's just one problem: when you click a province to open the dialog, there is a noticeable delay. Since it's a specific problem to diagnose, I'm hoping it'll be as simple as running a profiler to see which WINE function(s) the game calls to complete this task, and hopefully fix the problem function. > > Am I badly deluded? I know I can't probably profile the game itself, but I'm hoping I can profile the WINE calls it makes. > > If i'm not deluded, how would I go about this? Are there instructions someplace? >Try running it in a terminal and take a look at the fixme(s). John
On Sun, Jun 6, 2010 at 12:52 PM, ernesto <wineforum-user at winehq.org> wrote:> > If i'm not deluded, how would I go about this? Are there instructions someplace? >Apparently it is possible and some thing suggested for cases like this. To the best of my knowledge there are no instructions though it was implied you'd use a profiler the way you'd usually use one. I've been planning to try it out on the TF2 connect to server delay but I haven't had a free weekend yet to get up to speed. If you have any luck write your method some where please. I was pointed to this project by some one in #winehackers and it seems like a good place to start. http://oprofile.sourceforge.net/news/
John Drescher wrote:> On Sat, Jun 5, 2010 at 10:52 PM, ernesto <wineforum-user at winehq.org> wrote: > > > Hello, > > > > I have a game which runs almost perfectly (Europa Universalis III), there's just one problem: when you click a province to open the dialog, there is a noticeable delay. Since it's a specific problem to diagnose, I'm hoping it'll be as simple as running a profiler to see which WINE function(s) the game calls to complete this task, and hopefully fix the problem function. > > > > Am I badly deluded? I know I can't probably profile the game itself, but I'm hoping I can profile the WINE calls it makes. > > > > If i'm not deluded, how would I go about this? Are there instructions someplace? > > > > > > Try running it in a terminal and take a look at the fixme(s). > > JohnOnly a few fixmes at startup. None when trying to open the dialog.