Team Sonic Racing™

Team Sonic Racing™

Not enough ratings
Vertical Aspect fix
By Brandondorf9999
By default, the game's screen change behavior for the field of view is HOR+ and Vert+ for the interface which appears to be inconsistent due to the fact that it should extend vertical space if below 16:9 plus the black borders block sides of certain portitions of the game such as cut-scenes and menus.
   
Award
Favorite
Favorited
Unfavorite
Tools required
In-order to apply the fix to make the camera aspect ratio in perspective projection to extend vertical space instead of horizontal on aspect ratios under the widescreen (16:9) resolutions, you will need a hex editor of your choice like HxD, Notepad to paste the addresses found through array scanning, and Cheat Engine to get the address calling offsets.
Applying the fix
Option 1:
Before proceeding, please make sure you make a backup of the executable incase a mistake was made and need to start over.

For just the vertical aspect fov and black border removal, open up the executable in the hex editor you installed, then find the following bytes in the first search:

CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC

and paste-write these bytes:

F3 0F 11 49 44 F3 0F 5E C9 F3 0F 58 C9 D9 41 44 F3 0F 11 49 44 D8 71 44 D9 F2 D9 C9 0F 2F 05 16 00 00 00 73 09 D8 71 40 D8 0D 0B 00 00 00 D9 C9 D9 F3 D8 49 44 D9 59 44 C3 39 8E E3 3F

After that, find the address by scanning the bytes F3 0F 11 49 44 EB 2F, then replace the original with "E8 00 00 00 00" and a number of nops if the targeting array is longer than 5 bytes. Copy and paste the address at "E8" to any text editor to avoid losing track while editing. Now for the calling offset, start at "E8" and add 0x5 to the address, subtract it by the injection address where you pasted the corresponding array at, change the sign of the array, then swap the endian and paste write the offset after "E8".

And the final fix is to remove the black bars for a full picture. To do that, find F3 0F 10 05 EE 1B 32 F7 and replace it with F3 0F 5E DB F3 0F 10 C3.

Exit the game and close Cheat Engine and re-launch the game with the modifications to see if the game will correctly run with it without crashes.

Option 2:

Download the Cheat Engine table provided in the WSGF entry[www.wsgf.org] and attach the process, then press "I" to enable the fixes plus the FOV/Zoom factors can be adjusted by pressing the - and + keys (Ctrl combination affects the entire screen). Ctrl+Backspace reverts the FOV adjustment to default and Alt+Backspace changes the screen zoom back to 1.

Before:

After: