UT2004 Widescreen support: foxWSFix v2.2.0  (Read 15250 times)

Grim_Fandango

  • Sr. Member
  • *
  • Posts: 113
  • Country: scotland
UT2004 Widescreen support: foxWSFix v2.2.0
« on: April 12, 2024, 22:47 »
This mod enables widescreen support for Unreal Tournament 2004.

Features:
* Aspect-correct "Hor+" FOV adjustment, including vehicle and weapon zoom values
* Aspect-correct rendering for first-person weapons
* Aspect-correct HUD support (mostly), based on Azarael's HUD Scaling Fix mutator
* Aspect-correct mouse sensitivity (scale off wider FOV instead of hard-coded 90)
* Entirely client-side - no mutators required

foxWSFix-v2.2.0.7z

Download the file from here:  https://github.com/alexstrout/foxWSFix-UT2k4/releases
Extract the Src & System folders and drop them into your UT2004 install directory.
Open System\User.ini and find the following line:

Quote
InputClass=Class'Engine.PlayerInput'

Replace every instance of it with the following:
Quote
;InputClass=Class'Engine.PlayerInput'
InputClass=Class'foxWSFix.foxPlayerInput'

Note: This line should appear at least twice, once under [Engine.PlayerController], and once under [XGame.xPlayer]. Be sure to change each one! (or add it if missing).  Be sure to search and change each instance.
You're done! To uninstall, simply reverse your changes.
--

If your screen resolution isn't showing, edit your UT2004.ini (or ut2004-win64.ini if you're running 64-bit) to your preferred res'.  I'm on a curved ultrawide, so I chose the max display res'.

Quote
[WinDrv.WindowsClient]
WindowedViewportX=1024
WindowedViewportY=768
FullscreenViewportX=3440
FullscreenViewportY=1440
• Men are from Mars, Women are from Venus, made up genders are from Uranus.
• It's all shits & giggles until someone giggles and shits.
• I wish I had the aim of an Eastern Bloc player.

}TCP{Cloud

  • Full Member 
  • *
  • Posts: 65
  • Country: nl
  • If everything is a dream, don't wake me up.
    • Cl04d
Re: UT2004 Widescreen support: foxWSFix v2.2.0
« Reply #1 on: April 13, 2024, 04:45 »
Seems nice, tryed it offline. Can u play with it online? Without being flagged by anti cheat systems etc..?

Grim_Fandango

  • Sr. Member
  • *
  • Posts: 113
  • Country: scotland
Re: UT2004 Widescreen support: foxWSFix v2.2.0
« Reply #2 on: April 13, 2024, 12:31 »
Yes, it can be used when playing online.  It's a fix for widescreen displays and not a cheat.
You can further enhance this by adjusting your FOV to suit (Game -> Settings -> Player -> Default FOV).

I sometimes switch between 90-100° depending on the map as battlefields such as Linear don't really require a large field of vision.
• Men are from Mars, Women are from Venus, made up genders are from Uranus.
• It's all shits & giggles until someone giggles and shits.
• I wish I had the aim of an Eastern Bloc player.

Piglet

  • 1337
  • *
  • Posts: 3197
  • Country: gb
Re: UT2004 Widescreen support: foxWSFix v2.2.0
« Reply #3 on: April 13, 2024, 16:12 »
Seems nice, tryed it offline. Can u play with it online? Without being flagged by anti cheat systems etc..?

You can - but the server you play on can see that you have something non-standard running but has no way to know whether it's actually a cheat or is really what it says it is.

However, it gets a bit messed up when another gametype or mod replaces the HUD - which is the case for both Freon and vCTF (the balancer replaces the HID to show flag messages). You may get thousands of error messages in your log.

I'm planning on adding widescreen support into our vCTF code. I had a working proof of concept, but it got nowhere beyond "started to look at" and isn't anywhere near the top of my to-do list.

If I ever complete it then we'll certainly prevent use of fox (the real one) or fox (any cheat pretending to be it).

Unaben

Re: UT2004 Widescreen support: foxWSFix v2.2.0
« Reply #4 on: April 13, 2024, 18:59 »
Isn't it possible to scan the `whitelisted` mutator to check if it's an unmodified one?

Piglet

  • 1337
  • *
  • Posts: 3197
  • Country: gb
Re: UT2004 Widescreen support: foxWSFix v2.2.0
« Reply #5 on: April 13, 2024, 21:49 »
No. Not as far as I know. I might give something a try though...