Page 4 of 4

Re: 60FPS Inflight hook

Posted: Sat Jun 22, 2019 8:47 pm
by blue_max
I'm seeing more than 60fps now, even with the VR mod working. This is awesome!!! I had to install the latest hook_time from here:

http://www.xwaupgrade.com/phpBB3008/vie ... 10&t=11338

I also had to disable vsync (which the VR mod already does) and lower down the resolution a bit (to 1920x1080). Thanks Jeremy!

Re: 60FPS Inflight hook

Posted: Sat Jun 22, 2019 8:49 pm
by Justagai
Darksaber wrote:
Sat Jun 22, 2019 8:41 pm
So Justagai, will you have to alter your tour hook to remove the FPS stuff and leave it to Jeremy's time hook to sort that out?
There isn't any FPS stuff in my tour hook so that shouldn't be a problem.

EDIT: Unless you are referring to the Update rate, in which case that is different and I've left that at 59 as well as my FPS hook for multiplayer syncing reasons. Though I might test out 120FPS and see how that goes in multiplayer one of these days and thus update the update rate range should it go well. But just to clarify, server update rate and FPS are separate things.

Glad to hear everything is good blue_max!

Re: 60FPS Inflight hook

Posted: Sat Jun 22, 2019 8:56 pm
by Darksaber
Ah sorry, it was with Jeremy saying
There is a conflict because Justagai's hook limits the fps to 59 (236/4) where mine limits the fps to 118 (236/2).
I automatically thought that the same coding was in each hook causing the conflict

Sorry again, I didn't mean to accuse you of anything :2thumbs:

Re: 60FPS Inflight hook

Posted: Sat Jun 22, 2019 9:02 pm
by Justagai
Nah, you're fine :D

Re: 60FPS Inflight hook

Posted: Sat Jun 22, 2019 9:04 pm
by JeremyaFr
I think that Justagai's 60 FPS hook is no longer needed for XWA.
The offsets contained in Justagai's hook are included in the time hook with better values.

Re: 60FPS Inflight hook

Posted: Sat Jun 22, 2019 9:14 pm
by Darksaber
Nah never had that installed, I thought the 60 FPS was included in his Multiplayer Tour Hook for some reason lol, pay no attention to me I'm loosing it :irre:

Re: 60FPS Inflight hook

Posted: Sat Jun 22, 2019 11:30 pm
by Justagai
JeremyaFr wrote:
Sat Jun 22, 2019 9:04 pm
I think that Justagai's 60 FPS hook is no longer needed for XWA.
The offsets contained in Justagai's hook are included in the time hook with better values.
For XWAUP/DSUCP singleplayer, of course. There is no doubt.

Although for Linux users they do require my 60FPS hook since there are timing issues with the time hook as per the Linux guide posted on this forum.

For multiplayer I still have to run tests on the time hook to ensure there will be no issues.

EDIT: I've added a note to the first post to prevent confusion.

Re: 60FPS Inflight hook

Posted: Mon Mar 02, 2020 9:34 pm
by spas79
Justagai wrote:
Sat Jun 22, 2019 11:30 pm
JeremyaFr wrote:
Sat Jun 22, 2019 9:04 pm
I think that Justagai's 60 FPS hook is no longer needed for XWA.
The offsets contained in Justagai's hook are included in the time hook with better values.
For XWAUP/DSUCP singleplayer, of course. There is no doubt.

Although for Linux users they do require my 60FPS hook since there are timing issues with the time hook as per the Linux guide posted on this forum.

For multiplayer I still have to run tests on the time hook to ensure there will be no issues.

EDIT: I've added a note to the first post to prevent confusion.
So how do we manipulate that to push it over 60fps. At the moment I don't seem to be able to go over that.

Re: 60FPS Inflight hook

Posted: Tue Mar 03, 2020 12:51 am
by blue_max
spas79 wrote:
Mon Mar 02, 2020 9:34 pm
So how do we manipulate that to push it over 60fps.
Use Jeremy's time hook (hook_time.dll). I believe that removes the FPS restriction completely. However, you may need to disable the 60FPS hook and I don't know if that'll break the game under Linux or Multiplayer.

Also, use Jeremy's latest ddraw ( 1.3.8 ) along with the xwa_hook_d3d -- that increases the performance too. See this thread: https://xwaupgrade.com/phpBB3/viewtopic ... 10&t=12424

Re: 60FPS Inflight hook

Posted: Tue Mar 03, 2020 6:20 am
by spas79
Thanks, that did the trick. Disabling Vsync in ddraw.cfg and installing the two files brought my fps up to the 200s (240 at the start of mission 1, needs more testing).
This at 1920x1080, on i7 9700k @5.1GHz, 2080ti FE, 32 GB RAM