Widescreen Gaming Forum
http://www.wsgf.org/phpBB3/

The Witcher 2: Assassins of Kings
http://www.wsgf.org/phpBB3/viewtopic.php?f=61&t=24969
Page 2 of 2

Author:  jpd7 [ 22 Sep 2018, 00:03 ]
Post subject:  Re: The Witcher 2: Assassins of Kings

Susahamat thank you for your response. I downloaded and installed flawless widescreen and installed Witcher 2 plugin but still, the display in the game is 16:9. I have attached a screenshot of the flawless widescreen program, it seems that it is identifying that the game is running, and I have tried toggling with the hotkey but still no change in display aspect ratio. Any feedback is really appreciated.
Attachment:
File comment: screenshot of flawless widescreen running.
Capture.PNG
Capture.PNG [ 1.04 MiB | Viewed 8887 times ]

Author:  jpd7 [ 23 Sep 2018, 00:47 ]
Post subject:  Re: The Witcher 2: Assassins of Kings

Okay, so I figured out how to get this game to work in UW using Flawlesswidescreen. You need to open the "user" file that is found in the "config" folder, the path on my pc is Documents>Witcher2>config, in the "user" file at the very bottom, make sure the width is equal to 3440, in my case it was not so I had to change it and save it, then set the file to read-only. Then running the game while the program flawlesswidescreen is open puts the game in 21:9.

Author:  susahamat [ 23 Sep 2018, 04:22 ]
Post subject:  Re: The Witcher 2: Assassins of Kings

glad to hear that you've been made works

Author:  Timobkg [ 05 Nov 2018, 03:55 ]
Post subject:  Re: The Witcher 2: Assassins of Kings

I'm trying to get The Witcher 2 via GOG v3.5.0.26(A) working at 6040x1080. In the game it looks like it's only rendering 5760x1080 with black bars on the left and right hand side. Flawless Widescreen doesn't work, and Widescreen Fixer says it's running but doesn't seem to actually change anything (except for sometimes causing the game to be all black).

Anyone have any idea on how to remove the black bars on the sides?

Author:  Gungoose360 [ 30 Nov 2018, 16:15 ]
Post subject:  Re: The Witcher 2: Assassins of Kings

Xarn wrote:
Have been trying to get GOG version (3.5.x) to work on my 21:9 (2560x1080) screen. Hex edit method kinda works (after changing value to 24 B4 17 40 which is correct ratio for my resolution) but for some reason HUD is positioned much further away from top/bottom of the screen then expected. So I'm thinking this method does not work fully. So instead I tried hacking Flawless Widescreen to work with this version and I think I managed to do it.

Here is howto, maybe someone will find it useful.

Just small disclaimer, I'm not responsible for any damage this does to anything, use on your own responsibility, as I'm not sure how exactly detection in Flawless Widescreen works, so I kinda did trial and error ;)

After installing Flawless Widescreen and Witcher 2 plugin, navigate to Flawless Widescreen folder > PluginCache > FWS_PLUGINS > Modules > TheWitcher2 > Dependencies > Scripts and open TheWitcher2.lua in editor of your choice.

Serch for line:
Code:
if HackTool:SignatureScan("C6 ?? ?? ?? ?? ?? 01 8B ?? ?? 89 ?? ?? ?? 00 00 8B ?? ?? 89",tAddress,PAGE_EXECUTE_READ,0x7,Process_EXEName) == 0 then

and replace it with:
Code:
if HackTool:SignatureScan("C6 ?? ?? ?? ?? ?? 01 8B ?? ?? 89 ?? ?? ?? 00 00 8B ?? ?? 8D",tAddress,PAGE_EXECUTE_READ,0x7,Process_EXEName) == 0 then


One could probably use "C6 ?? ?? ?? ?? ?? 01 8B ?? ?? 89 ?? ?? ?? 00 00 8B" to make it compatible between versions but i have no way of testing this


Hey thanks man I've been trying to get this to work for the longest time and had all but given up on a windowed 21:9 Steam version of TW2... Lets see if I can post some screenshots.

Author:  Gungoose360 [ 30 Nov 2018, 16:17 ]
Post subject:  Re: The Witcher 2: Assassins of Kings

Xarn wrote:
Have been trying to get GOG version (3.5.x) to work on my 21:9 (2560x1080) screen. Hex edit method kinda works (after changing value to 24 B4 17 40 which is correct ratio for my resolution) but for some reason HUD is positioned much further away from top/bottom of the screen then expected. So I'm thinking this method does not work fully. So instead I tried hacking Flawless Widescreen to work with this version and I think I managed to do it.

Here is howto, maybe someone will find it useful.


This community has helped me over a dozen times over the last 5 years and I'm grateful. Since I use different configs for my monitors I MUST run 21:9 games in Windowed mode unless they are Dx9 which allows me to use Soft TH but sometimes even that doesn't work... I'm thinking that with your correction I could use Soft TH and still use FWS to recognize the game now that I have your instructions!
Thanks again bud! :clap: :D
~Gungoose360 =)

Lets see if I can post some screenshots.
Attachment:
witcher2_2018_11_30_09_59_32_966.jpg
witcher2_2018_11_30_09_59_32_966.jpg [ 1.72 MiB | Viewed 5484 times ]

Attachment:
witcher2_2018_11_30_10_00_29_637.jpg
witcher2_2018_11_30_10_00_29_637.jpg [ 1.83 MiB | Viewed 5521 times ]

Attachment:
witcher2_2018_11_30_09_59_14_681.jpg
witcher2_2018_11_30_09_59_14_681.jpg [ 487.93 KiB | Viewed 5511 times ]

Author:  Amakker [ 22 Jul 2019, 01:33 ]
Post subject:  Re: The Witcher 2: Assassins of Kings

Hi everyone. I recently decided to play the Witcher 2 again and noticed there are some issues trying to get it to work for ultrawide setups. I took some notes in the past that was a fix for the GOG release with Flawless Widescreen. I unfortunately forget the source/person who discovered this fix but I cannot find it. So I will post it here. I don't know if this works for the Steam version, hopefully someone can test that.

Here are the notes:

Witcher 2 Ultrawide fix. for v.3.5.xx

Fix for Flawless Widescreen v1.0.15:

After installing Flawless Widescreen and Witcher 2 plugin, navigate to Flawless Widescreen folder > PluginCache > FWS_PLUGINS > Modules > TheWitcher2 > Dependencies > Scripts and open TheWitcher2.lua in editor of your choice.

Serch for line:

Code: Select all
if HackTool:SignatureScan("C6 ?? ?? ?? ?? ?? 01 8B ?? ?? 89 ?? ?? ?? 00 00 8B ?? ?? 89",tAddress,PAGE_EXECUTE_READ,0x7,Process_EXEName) == 0 then


and replace it with:

Code: Select all
if HackTool:SignatureScan("C6 ?? ?? ?? ?? ?? 01 8B ?? ?? 89 ?? ?? ?? 00 00 8B ?? ?? 8D",tAddress,PAGE_EXECUTE_READ,0x7,Process_EXEName) == 0 then


I just tested this on the GOG version of the game v3.5.0.26(A) and this still works. No more black bars on the side. The hud is still 16:9 but at least the black bars are gone.

Hope this helps, enjoy!

Author:  Azulath [ 30 Jul 2019, 21:15 ]
Post subject:  Re: The Witcher 2: Assassins of Kings

For me, this hack doesn't seem to work :-(

I have a 32:9 screen, maybe this makes the difference, but I'm not sure

Author:  Azulath [ 31 Jul 2019, 17:25 ]
Post subject:  Re: The Witcher 2: Assassins of Kings

So, the manual method of replacing "39 8E E3 3F" with "CD 90 18 40" does seem to work. However, it only enables 21:9. Any way to enable 32:9 as well? I donn't know what these hex values stand for

Author:  Azulath [ 31 Jul 2019, 18:10 ]
Post subject:  Re: The Witcher 2: Assassins of Kings

If anyone is still looking the correct hex values for 32:9 are the following: "38 8E 63 40"

Basically, you enter the IEEE hex value of 32/9 = 3.555555.

I used the calculator below:
https://www.ultimatesolver.com/de/ieee-754

And this guide here:
https://steamcommunity.com/sharedfiles/filedetails/?id=852329703

Page 2 of 2 All times are UTC [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/