NieR Replicant ver.1.22474487139...

NieR Replicant ver.1.22474487139...

View Stats:
Georgy ✪ May 6, 2022 @ 2:24pm
Black bars while using 16:10 aspect ratio
Hey guys!

I guess this is quite a common issue and I'm not the only one with it - is there a fix so I can remove black bars? When using 16:9 aspect ratio, the game seems to be kinda stretched. Maybe it's not but it does look so.
< >
Showing 1-8 of 8 comments
eastlondondon May 9, 2022 @ 12:42pm 
Hello, I do not own the game, but all media and games that are 1080p will have black bars when played on a 16:10 screen as the aspect ratio is 1920x1200, the only way I am aware of to remove them without stretching the image is if there is a 1920x1200 resolution in the games settings.
Georgy ✪ May 9, 2022 @ 9:15pm 
Originally posted by eastlondondon:
Hello, I do not own the game, but all media and games that are 1080p will have black bars when played on a 16:10 screen as the aspect ratio is 1920x1200, the only way I am aware of to remove them without stretching the image is if there is a 1920x1200 resolution in the games settings.

Hey, mate 👋🏻

I decided to play with these black bars, but there is a fix called Special-K — worth looking into it. Also, the game is great, I highly recommend!
Draken Jun 1, 2022 @ 8:14am 
It should be possible by tweaking the .exe with HxD, but i can't find the value for 16:10, only for 21:9 or more
Last edited by Draken; Jun 1, 2022 @ 8:16am
inkus Jun 2, 2022 @ 3:27am 
Originally posted by Draken:
It should be possible by tweaking the .exe with HxD, but i can't find the value for 16:10, only for 21:9 or more
There is an article @ PCGamingWiki[www.pcgamingwiki.com] about hex-editing the exe.
According to that you have first to replace every occurance of the default aspect ratio (in the IEEE754 floating-point format and Intel byte order 16/9 == ~1.77 == 39 8E E3 3F) with your desired value (16/10 == 1.6 == CD CC CC 3F).
Second thing you have to do is to search for a byte sequence 00 00 10 41 00 00 50 41 00 00 80 41 00 00 00 00. And replace default numerator of the aspect ratio (16 == 16.0 == 00 00 80 41) with your desired one. 16/10 and default 16/9 have the same numerator, so, no change is required in this particular case.
And the third step is to follow this article @ Reddit to fix the UI stretching. Note: the article and files attached are about/for 32:9, you have to substitute your own specific values instead of the defaults!
Most tricky moments are: you are not defining the resolution itself but only it's aspect ratio; values are in the IEEE754 floating point format[www.h-schmidt.net] and Intel byte order.

P.S. Currently I don't have this game to test the steps above myself. Someone interested should do that and post the result. So, the article at PCGamingWiki could be updated with a confirmed result.
Last edited by inkus; Jun 2, 2022 @ 3:41am
Draken Jun 2, 2022 @ 4:21am 
"Second thing you have to do is to search for a byte sequence 00 00 10 41 00 00 50 41 00 00 80 41 00 00 00 00. And replace default numerator of the aspect ratio (16 == 16.0 == 00 00 80 41) with your desired one. 16/10 and default 16/9 have the same numerator, so, no change is required in this particular case."

That's the problem inkus, the game already have "support" for 16:10 so the first step should not be necessary, the second step is to remove the black bars, thats the value i was looking to change but you say its the same for 16:9 and 16:10 :,( .

So maybe the solution its to put the game in 16:9 first and do all the steps even if you have a 16:10 monitor.

Like always, thanks to the money hungry @Squarenix for a ♥♥♥♥♥♥ cashgrab pc "port".
inkus Jun 2, 2022 @ 5:18am 
IEEE754 representation of decimal 9 would be 00 00 10 41, for decimal 10 it's 00 00 20 41. I actually see the representation of 9 even in the string above (00 00 10 41 00 00 50 41 00 00 80 41 00 00 00 00). Try to replace one with the other and see if it helps.
And the first step might be still necessary as well.
Last edited by inkus; Jun 2, 2022 @ 5:32am
Draken Jun 2, 2022 @ 6:47am 
So after some testing, i can't find the solution so i will just play with the black bars on the steam deck. It's not worth the time it took so far.

Just changing the value for the black bars remove them but the image is streched verticaly (UI too). If you do all the steps: no black bars, UI is good but the image is still streched.

Since i'm just above the basic geek/PC user, this .exe editing is new to me but it was fun.
Next time i will simply not support this kind of product and go back to the other side to download it.

Anyway, big thanks to you inkus.
octopus Nov 1, 2022 @ 9:34am 
Worked fine for me if anyone cares. Inkus gave the right answers already for the values.

You need to replace [00 00 10 41 00 00 50 41 00 00 80 41 00 00 00 00] with [00 00 20 41 00 00 50 41 00 00 80 41 00 00 00 00] and all occurrences of [39 8E E3 3F] with [CD CC CC 3F]. The UI would be stretched. We need another fix, Nier_Replicant_SQRT1.5_UI (can be found in a Reddit thread called "Nier Replicant Sqrt(1.5) Proper Resolution, Aspect and HUD in 32:9") changing "// Our aspects for scaling" in two files: ShaderFixes\0a2c2125f4a421a5-vs_replace.txt and dc88834b3469cba8-vs_replace.txt to 16 and 10.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: May 6, 2022 @ 2:24pm
Posts: 8