The Witcher 2: Assassins of Kings Enhanced Edition Guide

The Witcher 2 Linux Ultrawide using hex edits for The Witcher 2: Assassins of Kings Enhanced Edition

The Witcher 2 Linux Ultrawide using hex edits

Overview

Guide for Linux users and users who don’t want third party programs

Setup Guide

If you are a Windows user and are willing to use third party programs to enable Ultrawide resolutions I recommend: [link]

Guide for Linux users and users who don’t want third party programs
  1. Install The Witcher 2.
  2. Run the game launcher and select the configure option.
  3. Set everything as you like but leave the Resolution and Aspect Ratio.
  4. Save your settings and enter the game just to verify that it is working.
  5. Go the folder where the game was installed (Steam/steamapps/common/the witcher 2/)
  6. Make a backup copy of witcher2.vpfs (on Windows this should be witcher2.exe, but it is always the largest file in this folder)
  7. Edit the above file with a hex editor (I used a program called Okteta) and replace all 39 8E E3 3F with CD 90 18 40 if you have 21:9 monitor with 3440×1440 resolution (you can find the values for other monitor sizes bellow)
  8. Go to the folder where the game saves its settings (.local/share/cdprojektred/witcher2/GameDocuments/Witcher 2/config/ on Linux)
  9. Edit the User.ini and under [Viewport] section enter your monitor’s width and height in pixels and under section [Rendering] delete the line that sets AspectRatio if it exists.
  10. Lunch the game and enjoy

Values for other aspect ratios:

Common Name
Value
5:04
00 00 A0 3F
4:03
AB AA AA 3F
3:02
00 00 C0 3F
16:10
CD CC CC 3F
15:09
55 55 D5 3F
16:09
39 8E E3 3F
1.85:1
CD CC EC 3F
2.39:1
C3 F5 18 40
2.76:1
D7 A3 30 40
3×5:4
00 00 70 40
3×4:3
00 00 80 40
3×16:10
9A 99 99 40
3×15:9
00 00 A0 40
3×16:9
AB AA AA 40
21:9 (2560×1080)
26 B4 17 40
21:9 (3440×1440)
8E E3 18 40

What these values mean?

They are the FOV value for the camera saved as a floating point number. You can see what float number these hex values represent by entering them on this website: [link]. Note that you need to enter them in the opposite order so if you want to see what 8E E3 18 40 means you should enter it as 40 18 E3 8E and you will get that it means 2.38889. You can also use the site to enter the FOV value that you want and convert it to hex so you can put that value in. Again be careful to write it in the file in the opposite order from the one you get on the site.

SteamSolo.com