There is a conflict because Justagai's hook limits the fps to 59 (236/4) where mine limits the fps to 118 (236/2).
60FPS Inflight hook
Moderator: JeremyaFr
-
- Posts: 218
- Joined: Mon Dec 08, 2014 10:59 pm
It sounds like everything should be good for 90+ FPS if using the time hook.
Not sure why it wouldn't be 60+ in blue_max's case...maybe the VS performance profiler will show different results for him.
Not sure why it wouldn't be 60+ in blue_max's case...maybe the VS performance profiler will show different results for him.
Last edited by Justagai on Sat Jun 22, 2019 8:12 pm, edited 2 times in total.
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hello,
To remove the limit of 59 fps, the following patch is required:
I've included it in the time hook.
To remove the limit of 59 fps, the following patch is required:
Code: Select all
At offset 0F739C, replace 730A with EB0A.
At offset 10FD86, replace 7D07 with EB07.
At offset 11034C, replace 7D07 with EB07.
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
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?
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- blue_max
- Posts: 2295
- Joined: Wed Mar 20, 2019 5:12 am
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!
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!
-
- Posts: 218
- Joined: Mon Dec 08, 2014 10:59 pm
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!
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
Ah sorry, it was with Jeremy saying
Sorry again, I didn't mean to accuse you of anything
I automatically thought that the same coding was in each hook causing the conflictThere is a conflict because Justagai's hook limits the fps to 59 (236/4) where mine limits the fps to 118 (236/2).
Sorry again, I didn't mean to accuse you of anything
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
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.
The offsets contained in Justagai's hook are included in the time hook with better values.
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
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
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
-
- Posts: 218
- Joined: Mon Dec 08, 2014 10:59 pm
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.
-
- Posts: 8
- Joined: Sun Mar 01, 2020 10:46 am
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.Justagai wrote: ↑Sat Jun 22, 2019 11:30 pmFor 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.
- blue_max
- Posts: 2295
- Joined: Wed Mar 20, 2019 5:12 am
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
-
- Posts: 8
- Joined: Sun Mar 01, 2020 10:46 am
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
This at 1920x1080, on i7 9700k @5.1GHz, 2080ti FE, 32 GB RAM