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 30 Nov 2024, 16:54

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: The Grinch
PostPosted: 29 Nov 2017, 14:30 
Offline

Joined: 29 Nov 2017, 13:56
Posts: 3
Hello, I would like to play The Grinch in widescreen but there are two issues:

1/ by default the maximum resolution available is 1024x768. I was able to change the resolution in the "config.pc" to 1920x1080, but it is stretched:

1024x768 :
Attachment:
1.jpg
1.jpg [ 27.98 KiB | Viewed 2588 times ]
Attachment:
2.jpg
2.jpg [ 24.28 KiB | Viewed 2588 times ]

1920x1080 :
Attachment:
3.jpg
3.jpg [ 47.16 KiB | Viewed 2592 times ]
Attachment:
4.jpg
4.jpg [ 40.67 KiB | Viewed 2594 times ]


I tried to set it to 1440x1080 to keep a 4/3 ratio but the graphics are completely broken, though I'm running XP under VirtualBox so it might be the video driver:
Attachment:
5.jpg
5.jpg [ 22.71 KiB | Viewed 2602 times ]



2/ the game requires to run on 16bit color mode. It's more an inconvenience because XP has a compatibility option to run on 256 bits color mode and will switch automatically, but there is no such option for 16bit color mode.

I tried to install nGlide but it doesn't change anything; I ran "strings" on the exe and found this, if it helps:
Code:
\opengl32.dll
\glu32.dll
Default OpenGL Driver
\3dfxvgl.dll
\3dfxvglu.dll
3dfx Standalone OpenGL Driver
\opengl.dll
\glu.dll
SGI Software OpenGL Driver


Here are the content of config.pc (I couldn't upload it) with the 1024x768 configuration; I don't know if there is a FOV option in it, the game seems to save other options like language somewhere else.
Code:
       0     14 00 00 00 02 00 00 00  01 00 00 00 00 00 00 00    ................
      10     00 04 00 03 01 00 00 00  02 00 00 00 00 00 00 00    ................
      20     00 00 00 00 00 00 f0 3f  00 00 00 00 00 00 f0 3f    .......?.......?
      30     64 00 00 00 4b 00 00 00  64 00 00 00 01 00 00 00    d...K...d.......
      40     00 01 02 03 04 05 06 07  08 09 0a 0b 48 01 00 00    ............H...
      50     50 01 00 00 4d 01 00 00  4b 01 00 00 12 00 00 00    P...M...K.......
      60     10 00 00 00 13 00 00 00  11 00 00 00 1e 00 00 00    ................
      70     1f 00 00 00 20 00 00 00  21 00 00 00 0f 00 00 00    .... ...!.......
      80     3b 00 00 00 00 00 00 00  48 00 00 00 50 00 00 00    ;.......H...P...
      90     4d 00 00 00 4b 00 00 00  00 00 00 00 00 00 00 00    M...K...........
      A0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
      B0     53 01 00 00 4f 01 00 00  00 00 00 00 00 00 00 00    S...O...........
      C0     00 00 00 00 0f 00 00 00  1c 00 00 00 10 01 00 00    ................
      D0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 f0 3f    ...............?
      E0     00 00 00 00 00 00 f2 3f  00 00 00 00 00 00 f0 3f    .......?.......?
      F0     00 00 00 00 00 00 00 00                             ........


Thanks!


Top
 Profile  
 


 Post subject: Re: The Grinch
PostPosted: 29 Nov 2017, 22:29 
Offline
Insiders
Insiders
User avatar

Joined: 19 Dec 2011, 16:03
Posts: 521
Change bytes 00 00 40 3F => 00 00 10 3F in TheGrinch.exe to get 16:9 aspect ratio.


Top
 Profile  
 
 Post subject: Re: The Grinch
PostPosted: 30 Nov 2017, 09:49 
Offline

Joined: 29 Nov 2017, 13:56
Posts: 3
Thanks for your answer, unfortunately it's Vert- while I would like Hor+. Also for some reason the camera shows a different direction at the end of a cut-scene, though it's not really important.

How did you know which values to find and replace?


Attachment:
1.jpg
1.jpg [ 49.09 KiB | Viewed 2571 times ]
Attachment:
2.jpg
2.jpg [ 42.97 KiB | Viewed 2572 times ]


Top
 Profile  
 
 Post subject: Re: The Grinch
PostPosted: 30 Nov 2017, 12:07 
Offline
Insiders
Insiders
User avatar

Joined: 19 Dec 2011, 16:03
Posts: 521
Dreamkey wrote:
Thanks for your answer, unfortunately it's Vert- while I would like Hor+. Also for some reason the camera shows a different direction at the end of a cut-scene, though it's not really important.

Hor+ possible, change bytes:
68 F0 00 00 00 68 00 02 00 00 => 68 F0 00 00 00 68 AB 02 00 00
but you will see how objects disappear at screen edges. Should be another constant that controls objects clipping, but I didn't find it.

Attachment:
TheGrinch.gif
TheGrinch.gif [ 78.67 KiB | Viewed 2584 times ]

Dreamkey wrote:
How did you know which values to find and replace?

Old games uses 4:3 aspect ratio, so it's obvious that the game may uses constants:
4/3 = 1.33333 | AB AA AA 3F
3/4 = 0.75 | 00 00 40 3F


Top
 Profile  
 
 Post subject: Re: The Grinch
PostPosted: 30 Nov 2017, 23:11 
Offline

Joined: 30 Nov 2017, 23:00
Posts: 1
Please, upload a file for 1366x768...


Top
 Profile  
 
 Post subject: Re: The Grinch
PostPosted: 01 Dec 2017, 10:32 
Offline

Joined: 29 Nov 2017, 13:56
Posts: 3
Thanks again, the cut-scenes render in widescreen, the menu and HUD are not stretched, that's great!

I believe the first modification is for the aspect ratio and the second for the FOV, is that right?

The strings matched different offset, I tried all of them, only one seems to be important.
Code:
7E32E: 40 -> 10   // aspect ratio (16:9)
AE964: 40 -> 10   // ?

Code:
2B261: 00 -> AB   // ?
2B6AD: 00 -> AB   // FOV (16:9)
2BB6F: 00 -> AB   // ?


About the clipping, I tried to change the resolution in the exe instead of config.pc. I found "00 04 00 03" @CF00D, but the exe's icon was corrupted and I couldn't start the game.
Can you give me some ideas to look for it? I'm wondering how you were able to find the values for the FOV :)



moimusic wrote:
Please, upload a file for 1366x768...
As soon as the clipping issue is fixed I or jackfuste will write a post on the games DB.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 17 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