Ya, did not test more in that direction, 21:9 worked quit fine.
Also dont think Denovu will like patching the function. May corrupt the SFX or later CRC checks on the memory.
The code contains jump cases for 16:9 and 16:10 with the diagonal floating point as "constant", wich is a general fault.
So changing vertical cases and the diagonal to the result of the ratio should work for any ratio/resolution.
Did u allready found a solution?
...well tested alot now and its quit bugged for the window modes, depending on the hor:ver. and increasing the ratio really does not matter just eats performance, so i use now 21.5 : 9 and 2.38888889 wich removes the bars completly and it does not looked streched/zoomed atleast for 2560x1080 and 3440×1440.
Quote:
Diagonal Floating Point Value(removes/openes the black bars):
1.777778(float) 3FE38E39(hex aligned) "39 8E E3 3F"(binary) to 2.3888889(float) 40155555(hex aligned) "55 55 15 40"(binary)
Fix the ratio (horizontal X):
16.00000(float) 41800000(hex aligned) "00 00 80 41"(binary) to 21.00000(float) 41A80000(hex aligned) "00 00 A8 41"(binary)
Fix the ratio (vertical Y) a:
nothing todo here
Fix the ratio (vertical Y) b:
10.00000(float) 41200000(hex aligned) "00 00 20 41"(binary) to 9.0000(float) 41100000(hex aligned) "00 00 10 41"(binary)
and thats how the game should look in 16:3 || 48:9
using:
Quote:
Diagonal Floating Point Value(removes/openes the black bars):
1.777778(float) 3FE38E39(hex aligned) "39 8E E3 3F"(binary) to 5.300000(float) 40A9999A(hex aligned) "9A 99 A9 40"(binary)
Fix the ratio (horizontal X):
nothing todo here
Fix the ratio (vertical Y) a:
9.00000(float) 41100000(hex aligned) "00 00 10 41"(binary) to 3.00000(float) 40400000(hex aligned) "00 00 40 40"(binary)
Fix the ratio (vertical Y) b:
10.00000(float) 41200000(hex aligned) "00 00 20 41"(binary) to 3.00000(float) 40400000(hex aligned) "00 00 40 40"(binary)