To unlock frame rate  (Read 16992 times)

Piglet

  • 1337
  • *
  • Posts: 3257
  • Country: gb
To unlock frame rate
« on: December 05, 2019, 16:30 »
« Last Edit: December 06, 2019, 09:10 by Piglet »

-Adler-

  • Junior Member
  • *
  • Posts: 47
  • Country: 00
Re: To unlock frame rate
« Reply #1 on: December 05, 2019, 21:05 »
KeyYouChose=netspeed 1001

KeyYouChose=netspeed 10001 ;D
-----------------------------------------------------------------
Sorry, but I don't trust anything that bleeds for five days and doesn't die.

Piglet

  • 1337
  • *
  • Posts: 3257
  • Country: gb
Re: To unlock frame rate
« Reply #2 on: December 05, 2019, 21:34 »
Yup was on my phone typing it.

Quote
Since there doesn’t seem to be a definitive guide on UT2004 frame-rates and connection settings, I thought I’d share what I found to make everyone’s online experience (much) better.
There is often some confusion as to what netspeed to use and which frame-rate is better than the other, hopefully this guide will put this to an end. Since this game is almost ten years old a lot of the settings were designed for PC’s and networks of pre-2004, but we can now change some things to make better use of current tech.
What we all want to achieve is lower latency when playing online to give us the best gaming experience. To achieve this we need a high stable frame-rate and to also tweak connection settings to send more packets of data. Why more packets? So that the game doesn’t have to wait as long to send your ‘hit data’ to the server – meaning that your hits will be registered more often and more accurately! Before anyone complains, the weapons fire rates are independent of the games’ tick-rate, frame-rate, or packets sent/s, meaning that firing weapons online should be closer to how they feel offline (The way it’s meant to be played  ).
By default the online fps is capped to 85fps. This sends about 43 packets/s, which gives you 24ms of latency before you’ve sent that data to the server. When the Netspeed is set above 10000 (also unlocks fps cap) then the game will send 85 packets/s at 85fps, which gives you 12ms of latency.
Now what if you want higher frame-rate?
I’ve found that the engine caps the online frame-rates to these values:
FPS Caps (BIOS: HPET=off): 85, 93, 102, 113, 127, 145, 169, 202, 252, 335, 502
FPS Caps (BIOS: HPET=on): 90, 100, 111, 125, 142, 166, 199, 250, 333, 500
So, 85fps = (1/0.012 + 2), 93fps = (1/0.011 + 2), 102fps = (1/0.010 + 2), etc.
This can be changed via ut2004.ini:
[Engine.LevelInfo]
MaxClientFrameRate=85.0
Let’s say that you wanted 120fps and you put MaxClientFrameRate=120 in your ut2004.ini, you’ll only get 113fps in-game as that’s the next cap down according to the above fps caps. So, you cannot pick whatever fps cap you like.
OK, so how do you work out which Netspeed to set?
User.ini:
[Engine.Player]
ConfiguredInternetSpeed=
Or, type: ‘Netspeed xxxxx’ in console.
Or, bind to a key: ‘key=Netspeed xxxxx’.


THOR`

  • Sr. Member
  • *
  • Posts: 144
  • Country: gb
    • anxious_f0x
Re: To unlock frame rate
« Reply #3 on: December 05, 2019, 22:05 »
I seem to remember that the bind wasn't always required depending on what server I used to join, maybe something server side?

Not 100% sure.

I'd also recommend installing the 64 bit patch for newer operating systems, DX9 64 bit gives me far higher frame rates than DX8 32 bit.

Guide:

Download the v3369 patch.
Extract ut2004_win3669.zip. You should end up with two files: "ut2004-win64-3369.zip" and "ut2004-winpatch3369.exe".
Run ut2004-winpatch3369.exe and follow the instructions to install the patch.
Now extract ut2004-win64-3369.zip
Open the extracted System folder, rename ut2004-win64.exe to ut2004.exe and place in Unreal Tournament 2004/System, overwriting the original executable. Also put DefOpenAL64.dll there.

Optional: Rename "ucc-win64.exe" to "ucc.exe" and place in System. This will only be useful for modders.
Also optional: Rename "UT2004-Win64Logo.bmp" to "UT2004Logo.bmp" and place in the "Help" folder. Now you'll see the nifty "64-bit version" splash screen.

Link to the patch https://www.moddb.com/downloads/ut2004-v3369-including-64-bit

And backup any ini files you may need just in case something goes wrong!
« Last Edit: December 05, 2019, 22:11 by THOR` »

Grim_Fandango

  • Sr. Member
  • *
  • Posts: 138
  • Country: scotland
Re: To unlock frame rate
« Reply #4 on: December 06, 2019, 00:39 »
I've been trying for years to achieve a higher frame-rate, however cannot get anything above the capped rate of 85FPS.

If anyone out there is getting higher speeds, please upload you User.ini & UT2004.ini files.

A screengrab of your FPS would also help.
« Last Edit: June 14, 2024, 14:29 by Grim_Fandango »
• Have you tried turning it off and back on again?

Piglet

  • 1337
  • *
  • Posts: 3257
  • Country: gb
Re: To unlock frame rate
« Reply #5 on: December 06, 2019, 09:06 »
It would have been a little more polite to say "I'm having difficulty getting this working, please can you help?"

This is my configuration for a 165Hz monitor (Asus ROG PG278QR)

In ut2004/system/ut2004.ini change to this at the place indicated

Quote
[WinDrv.WindowsClient]
MinDesiredFrameRate=201.000000

Quote
[Engine.LevelInfo]
MaxClientFrameRate=201

In ut2004/system/user.ini change to this at the place indicated:

Quote
[Engine.Input]
//NumPad8=Stat Net | stat fps | netspeed 10001
//NumPad8=Stat Net | stat fps | netspeed 10880
NumPad8=Stat Net | stat fps | netspeed 20000

I have 20000 in there for a test. It's normally the 10880/10001 value - I've just not set it back

When you go online you hit the 85fpg cap:



When you press the numpad number 8 key it does a "stat net" and a "stat fps" and a "netspeed whatevervalueyouputhere":

  ... 

I then press numpad 8 again to remove the green wording from my screen.

You have to press the button at the start of every map.

« Last Edit: April 27, 2023, 17:37 by Piglet »

Nardaq_NL

  • 1337
  • *
  • Posts: 454
  • Country: nl
Re: To unlock frame rate
« Reply #6 on: December 06, 2019, 16:11 »
I doubt 64bit version will benefit anything since hardware is almost 15 years ahead now.

« Last Edit: December 06, 2019, 16:17 by Nardaq_NL »

THOR`

  • Sr. Member
  • *
  • Posts: 144
  • Country: gb
    • anxious_f0x
Re: To unlock frame rate
« Reply #7 on: December 06, 2019, 16:20 »
Well on 32 bit version I was maxed out at 167fps, with the 64 bit version I can get around 250fps but I cap it to 200fps with MSI Afterburner just for stability.

miley.cyrus

  • Junior Member
  • *
  • Posts: 47
  • Country: se
Re: To unlock frame rate
« Reply #8 on: December 08, 2019, 20:26 »
The 64-bit version is nice but has a vehicle sound bug which ruins it on some vehicles.