Native support. Select Configure upon game launch to set in-game resolution. For resolutions lower than 16:9, use the modified Flawless Widescreen script in the attachments and place it in this directory:
C:\Program Files (x86)\Flawless Widescreen\PluginCache\FWS_Plugins\Modules\SonicASRTransformed\Dependencies\Scripts
Also, it will automatically adjust the width and height of the UI without having to use manual display detection override.
Using any resolution other than 16:9 through the configuration requires editing the executable to run the game in any resolution even with scripts enabled.
When open in any hex editor of your choice, find these bytes in a hex editor:
DE F9 D9 5C 24 18 D9 44 24 18 DC 15
then at offset 0x16 from the address where the bytes are located at, change 15 to 00 and at 0x23 from 0A to 00. This only works for decrypted executables only.
Warning: The HUD will suddenly remove from the screen if it has been set at a negative number.
files available on PC Gaming Wiki