Widescreen Gaming Forum

[-noun] Web community dedicated to ensuring PC games run properly on your tablet, netbook, personal computer, HDTV and multi-monitor gaming rig.
It is currently 09 Nov 2024, 11:33

All times are UTC [ DST ]




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 03 Mar 2017, 11:04 
Offline
User avatar

Joined: 26 Aug 2016, 16:41
Posts: 49
Searching for a widescreen / FOV fix for Will Rock (2003) gave me no results. After playing the first 2 levels I got the sniper bow and decided to try my luck with Cheat Engine using the sniper zoom method. First time I tried doing this in a game.

1. There are two FOV values I found, or whatever you would call it, one is vertical and one horizontal. Luckily the vertical value is 59.84044647 which only appears once, so you can find it right in the first search with the following settings:
Value - 59.84044647
Scan type - Exact Value
Value Type - Float
Rounded (default)

2. Double click on it to add it to the bottom list in Cheat Engine (I think it is called table).

3. Also, luckily, the vertical and horizontal values are stored right next to each other, and once you find the address for the vertical, you get the horizontal by just reducing the vertical value address by 4 bytes. Just copy paste the row with you previously found address in the table list, and in the little "paste table entries" window that appears "adjust the address by" -4. The new entry should hold the value 75. Now you just have to change these values by double clicking on them. I change the 75 to 90, for my 16:9 monitor.

Image

Here are comparison photos:
Before -> stretched horizontally
Image
After -> fixed
Image

Unfortunately these values change every time you zoom in/out with the sniper or if a cut-scene plays. Interestingly when you zoom in/out the vertical value increases, like the game wants to go back to its original 4:3(or 5:4, not sure) aspect ratio based on the current horizontal value, while in the cut-scene it just goes back to 75 and 59.840...

4. So, what I did is I made a hotkey(Q) which simply resets both of the values back to my numbers. Just right click on the table entry, click change/set hotkeys and create a new hotkey for both values:

Image

The found addresses change every time you launch the game, so you will have to search for it every time. It's a minor annoyance, but it beats playing in 4:3 or being stretched. Until someone finds a better method, I hope this will help someone.

To spare you the trouble of making hotkeys and stuff, here is the Cheat Engine table file. Now all need you to do is search for 59.84044647, and once you found it just change the two addresses in the bottom table.
http://www.mediafire.com/file/6i0a1nqqvapwjgy/WillRock.CT


Top
 Profile  
 


PostPosted: 09 Mar 2017, 12:43 
Offline
Editors
Editors
User avatar

Joined: 06 Mar 2008, 17:20
Posts: 3424
This is brilliant ! :clap:

Unfortunately I can't get my euro cd game to run in Win7 without the russian exe and it looks gimped: can't select resolutions higher than 1280x1024, can't use Borderless Gaming, get two addresses instead of one for 59.84044647...

What exact region/version of the game are you using ? Any tips to make it work on a modern OS ?
The screenshot at PCGW suggests that at least 1920x1080 is natively supported, are you playing at 720p ?

Sorry to bother you with such basic stuff. I vowed to reinstall this game so many times. I wanna rock !


Top
 Profile  
 
PostPosted: 10 Mar 2017, 16:02 
Offline
User avatar

Joined: 26 Aug 2016, 16:41
Posts: 49
scavvenjahh wrote:
This is brilliant ! :clap:

Unfortunately I can't get my euro cd game to run in Win7 without the russian exe and it looks gimped: can't select resolutions higher than 1280x1024, can't use Borderless Gaming, get two addresses instead of one for 59.84044647...

What exact region/version of the game are you using ? Any tips to make it work on a modern OS ?
The screenshot at PCGW suggests that at least 1920x1080 is natively supported, are you playing at 720p ?

Sorry to bother you with such basic stuff. I vowed to reinstall this game so many times. I wanna rock !


US version. I read that many have issues running it on modern systems, but the game just works for me on Win 7 64 bit, and my PC is relatively new with parts from 2013/2014. I didn't have to do anything, 1080p resolution was available to me in the menu. I even have 1440p, but that would give me a gsInitVideo() error on start. The options menu lists all resolutions my GPU supports.

Did you try setting the resolution in the willrock.ini configuration file, it should be in ..Ubi Soft\Saber Interactive\Will Rock\bin :
VIDEO_SizeX=1920
VIDEO_SizeY=1080
VIDEO_FullScr=Yes

It did happen to me once to get two addresses instead of one for 59.84044647, but only once. Just check if the address before it(-4 bytes) contains value 75.


Top
 Profile  
 
PostPosted: 10 Mar 2017, 17:24 
Offline
Insiders
Insiders
User avatar

Joined: 19 Dec 2011, 16:03
Posts: 521
scavvenjahh wrote:
This is brilliant ! :clap:

Unfortunately I can't get my euro cd game to run in Win7 without the russian exe and it looks gimped: can't select resolutions higher than 1280x1024

Compatibility mode "Windows 98 / Windows Me" doesn't allow to enumerate all supported resolution, so remove it.
antrad wrote:
I even have 1440p, but that would give me a gsInitVideo() error on start. The options menu lists all resolutions my GPU supports.

DirectX 7 API have artificial limitation, resolution can't be higher than 2048 pixels.
To bypass it, copy D3DIM700.DLL from this archive:
Attachment:
D3DIM700.7z [191.43 KiB]
Downloaded 625 times

to the game folder.


Top
 Profile  
 
PostPosted: 11 Mar 2017, 14:56 
Offline
Editors
Editors
User avatar

Joined: 06 Mar 2008, 17:20
Posts: 3424
Oooh yeah.

Image

Placing that dll in \bin\ works wonders, thanks.
On my Surround setup I have to stick to windowed mode or the game crashes, whatever the resolution or refresh rate. There are glitchy textures too, but this looks directly related to the res (no glitches at 3072x768). No problem at all on the ultrawide screen, running at native fullscreen 3440x1440.

I still routinely get two sets of adresses to test but the whole process only takes mere seconds. Kudos on a working and very well-presented solution.


Top
 Profile  
 
PostPosted: 12 Mar 2017, 12:37 
Offline
User avatar

Joined: 26 Aug 2016, 16:41
Posts: 49
Glad to see you got it working. I can also confirm that dll method from jackfuste worked for me too, and now even 1440p works.

How come I haven't seen this method mentioned before ? I saw several threads on the web where people mention this DirectX 7 resolution limit issue, but no one knew about this solution.


Top
 Profile  
 
PostPosted: 14 Mar 2017, 23:23 
Offline
Editors
Editors
User avatar

Joined: 06 Mar 2008, 17:20
Posts: 3424
One little thing about the sniper crossbow: by default the scope has a pretty powerful zoom.

Image Image

However the zoomed view stretches in widescreen, and if you press the hotkey to fix the aspect ratio it also kills the zoom. What you get is just the (still stretched) scope sight sitting over your normal gameplay FOV.

Image Image

To fix this I set a second hotkey with "zoomed in" values (using T and Y, but it could be Q and D or whatever):

Hotkey T - VFOV 59.84044647 - HFOV 91.31 - fix for normal gameplay (default HFOV 75 for 4:3)
Hotkey Y - VFOV 7.884647369 - HFOV 13.6 - max zoom-in (default HFOV 10.5 for 4:3)

Crude but effective. I'm not sure how we got to magnification x-180 though...

Image


Top
 Profile  
 
PostPosted: 16 Mar 2017, 13:54 
Offline
Insiders
Insiders
User avatar

Joined: 11 Dec 2008, 23:51
Posts: 685
Location: Germany
I have found the HEX Code for FOV and Aspect Ratio - the Zoom works also.

Example for 3440 x 1440:

FOV: 00 00 96 42 --> 00 00 F0 42
Aspect Ratio: 00 00 40 3F --> 00 00 D6 3E

Attachment:
Will Rock.JPG
Will Rock.JPG [ 103.06 KiB | Viewed 8940 times ]

_________________
CZARMAN aka 彼得爸爸


Top
 Profile  
 
PostPosted: 16 Mar 2017, 14:13 
Offline
User avatar

Joined: 26 Aug 2016, 16:41
Posts: 49
That is great news !

But, how did you do it, how did you know what to look for, what are these values "00 00 96 42" and "00 00 40 3F" ? I want to learn.


Top
 Profile  
 
PostPosted: 16 Mar 2017, 14:27 
Offline
Insiders
Insiders
User avatar

Joined: 11 Dec 2008, 23:51
Posts: 685
Location: Germany
Well 00 00 96 42 is 75 the FOV and 00 00 40 3F stands for Aspect Ratio. But not every Game has the same Values. The Aspect is 0.75 but dont ask me why ;)

I use the this Calculator --> https://www.h-schmidt.net/FloatConverter/IEEE754de.html

Attachment:
FOV.JPG
FOV.JPG [ 32.87 KiB | Viewed 8929 times ]

_________________
CZARMAN aka 彼得爸爸


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  




Powered by phpBB® Forum Software © phpBB Group