Nioh No 21:9 support (Fix request)
Re: Nioh No 21:9 support (Fix request)
Super Thnkxxxxx
Re: Nioh No 21:9 support (Fix request)
Is it safe to use fix with steam version? Game has multiplayer so isn't cracked .exe a guaranteed vac ban?
Anyway, thanks for fix. Great job.
Anyway, thanks for fix. Great job.
Re: Nioh No 21:9 support (Fix request)
Just create the User Account for the sake of being able to say "thank you" to Jackfuste. You are the reason I bought Nioh again on steam (aside from owning it on my PS4 PRO). I'm ready to contribute something to you as a donation as well and please consider it as my deepest gratitude for making this happen. Again if you take some kind of donation please let us know, a guy like u are a valuable person that keeps contributing great things to the community.
- LennardF1989
- Posts: 3
- Joined: 15 Nov 2017, 09:58
- Contact:
Re: Nioh No 21:9 support (Fix request)
Hey everyone, I released a tool yesterday to do patching work based on my own research, you can find it here: https://github.com/LennardF1989/NiohResolution
When I compare my logic to what @Jackfuste does, it's almost the same except for the aspect ratio "fix" it seems, but in theory it does the final steps and should work for any version to come.
I'll look into incorporating some of Jackfuste's notes, the super-sampling support sounds fun! Pull Requests to get additional steps in here are appreciated!
When I compare my logic to what @Jackfuste does, it's almost the same except for the aspect ratio "fix" it seems, but in theory it does the final steps and should work for any version to come.
I'll look into incorporating some of Jackfuste's notes, the super-sampling support sounds fun! Pull Requests to get additional steps in here are appreciated!
Appreciate my work? Consider buying me a coffee! https://www.paypal.me/LennardF1989
-
Bastinazus
- Posts: 10
- Joined: 11 Nov 2017, 13:03
Re: Nioh No 21:9 support (Fix request)
jackfuste wrote:
- First you need a cracked nioh.exe. Why it's needed? Because legit exe is encrypted and you can't modify it.
- Download latest version x64dbg debugger - https://sourceforge.net/projects/x64dbg/files/snapshots/
- Run release\x64\x64dbg.exe with Administrator rights
- Go to Options - Preferences
- Uncheck "System Breakpoint"; "TLS Callback"; "Attach Breakpoint" and save settings
- File - Open - nioh.exe
- Click RMB and select "Search for - Current Module - Constant"
- Enter constant - 3FE38E39 and press OK
- Select second found command "mov dword ptr [rbx+0x50], 0x3FE38E39" click on it RMB (right mouse button) and select "Follow in Disassembler"
- Scroll down FPU window and click two times LMB (left mouse button) on XMM0 register
- Input to "Float:" window you new aspect ratio, for example, for resolution 2560x1080 it will be 2560/1080 = 2.37037037037037
Click on "Hexadecimal" and copy value from "Long:" window to clipboard, in my case it will be 4017B426- Click two time LMB on command
mov dword ptr [rbx+0x50], 0x3FE38E39
and change aspect ratio value 3FE38E39 to your new aspect ratio value 4017B426
mov dword ptr [rbx+0x50], 0x4017B426
Click "OK" and then close window "Assemble at ..."- Go to "Memory Map" tab, select nioh.exe click on it RMB and select "Find Pattern"
- Paste to "Hex:" window following bytes 0F 95 C0 88 46 34 and press OK
- Select found bytes "0F 95 C0 88 46 34"click on it RMB and select "Follow in Disassembler"
- Click two time LMB on command
setne al
Check "Fill with NOP's" and change it to
xor al,al
Click "OK" and then close window "Assemble at ..."- Select "call 0x00007FF772BA3451" and press "Enter" to go inside it
- Press "Enter" again to go inside "jmp 0x00007FF773104E40"
- Click two time LMB on command
jle 0x00007FF773104E70
and change it to unconditional jump
jmp 0x00007FF773104E70
and also change command
jns 0x00007FF773104E86
to unconditional jump
jmp 0x00007FF773104E86![]()
- Go to "Memory Map" tab, select nioh.exe click on it RMB and select "Find Pattern"
- Paste to Hex: window following bytes 00 00 87 44 00 00 F0 44 and press OK
- Select found bytes "00 00 87 44 00 00 F0 44"click on it RMB and select "Follow in Dump"
- Click RMB in Dump window and change view to "Float - Float (32-bit)"
- You will see values 1080 and 1920
- For aspect ratio lower than 1.77777 (16:9) you should change 1080 value.
How to recalc it:
for aspect ratio 1.6 (16:10); 1920/1.6 = 1200
for aspect ratio 1.33333 (4:3); 1920/1.33333 = 1440
And for aspect ratio higher than 1.77777 (16:9) you should change 1920 value.
How to recalc it:
for aspect ratio 2.37037 (2560:1080); 1080*2.37037 = 2560
for aspect ratio 2.38888 (3440:1440); 1080*2.38888 = 2580- So, for resolution 2560x1080, change 1920 to 2560
Click two times LMB on XMM0 register
Input value 2560 to "Float:" window
Click on "Hexadecimal" and copy value from "Long:" window to clipboard, in my case it will be 45200000- Click two times LMB on 1920 value in the Dump window and change it to 45200000
![]()
- Go to "Memory Map" tab, select nioh.exe click on it RMB and select "Find Pattern"
- Paste to Hex: window following bytes 00 0F 00 00 70 08 00 00 and press OK
- Select first found bytes "00 0F 00 00 70 08 00 00"click on it RMB and select "Follow in Dump"
- Click RMB in Dump window and change view to "Integer - Signed long (32-bit)"
- You will see two group of values
First is a real resolution:Code: Select all
3840 2160
2560 1440
2048 1152
1920 1080
1600 900
1366 768
1280 720
Second is internal game resolution:Code: Select all
3840 2160
3328 1872
2560 1440
1920 1080
1664 936
1280 720
960 540- So, for resolution 2560x1080, change all values to 2560 and 1080
Click two times LMB on 3840 value in the Dump window and change it to 2560
Click two times LMB on 2160 value in the Dump window and change it to 1080
etc...![]()
You can increase/decrease internal game resolution to manipulate image quality.
So if you wish to get supersampling 2x2 change all internal game resolution values to 5120 and 2160.- File - Patch file
- Click "Patch File"
Make copy of nioh.exe, and select it for patch, but make sure that file doesn't have attribute "Read only"
Wow it's much more complex than I thought. Thank you very much anyway for the effort.
So, before doing all this work, we have to wait for a new cracked nioh.exe?
-
shrgnatlas
- Posts: 13
- Joined: 25 Aug 2016, 06:13
Re: Nioh No 21:9 support (Fix request)
LennardF1989 wrote:Hey everyone, I released a tool yesterday to do patching work based on my own research, you can find it here: https://github.com/LennardF1989/NiohResolution
I downloaded your tool and unfortunately the game launches in a 2560x1080 window but does not render the game, it's menu, the UI, or anything else you might expect to fill the screen outside of the 1920x1080 settings that you suggested were to be applied in the launcher. There are black bars on both sides of the screen, and the steam overlay fills up the entire screen, but the game itself is constrained to its normal resolution. I'll continue to use Jack's fix for now, but if there is something I missed I'd love to use the automated process in the future.
-
DaemonXHUN
- Posts: 16
- Joined: 20 Aug 2017, 14:29
Re: Nioh No 21:9 support (Fix request)
Is there a way to fix the HUD position?
Re: Nioh No 21:9 support (Fix request)
LennardF1989 wrote:Hey everyone, I released a tool yesterday to do patching work based on my own research, you can find it here: https://github.com/LennardF1989/NiohResolution
When I compare my logic to what @Jackfuste does, it's almost the same except for the aspect ratio "fix" it seems, but in theory it does the final steps and should work for any version to come.
I'll look into incorporating some of Jackfuste's notes, the super-sampling support sounds fun! Pull Requests to get additional steps in here are appreciated!
Yeah no dice here my dude, I am at 3840x1080, and had to do the Jackfuste method - yours just gave me a pillar boxed screen.
- LennardF1989
- Posts: 3
- Joined: 15 Nov 2017, 09:58
- Contact:
Re: Nioh No 21:9 support (Fix request)
HWGuy wrote:LennardF1989 wrote:Hey everyone, I released a tool yesterday to do patching work based on my own research, you can find it here: https://github.com/LennardF1989/NiohResolution
When I compare my logic to what @Jackfuste does, it's almost the same except for the aspect ratio "fix" it seems, but in theory it does the final steps and should work for any version to come.
I'll look into incorporating some of Jackfuste's notes, the super-sampling support sounds fun! Pull Requests to get additional steps in here are appreciated!
Yeah no dice here my dude, I am at 3840x1080, and had to do the Jackfuste method - yours just gave me a pillar boxed screen.
I just released v1.1.0 which incorporates the fixes provided by @Jackufuste
https://github.com/LennardF1989/NiohResolution/releases
Appreciate my work? Consider buying me a coffee! https://www.paypal.me/LennardF1989
-
shrgnatlas
- Posts: 13
- Joined: 25 Aug 2016, 06:13
Re: Nioh No 21:9 support (Fix request)
LennardF1989 wrote:I just released v1.1.0 which incorporates the fixes provided by @JackufusteWith a little bit of luck, it remains forward compatible! Tool now also has support for the mentioned supersampling (or downsampling if you want some more performance).
https://github.com/LennardF1989/NiohResolution/releases
Well, there we go folks! It works flawlessly and the supersampling is an absolute godsend since this game has no native support for anti-aliasing. You and @Jackufuste should both be commended for your efforts, though it's a shame the game seems like it'll never receive the "proper" support it needs, considering the movies are all stretched to 21:9 (when they are encoded at 16:9) and some UI elements aren't shifted or stretched appropriately. This is common for nearly every game like it so I'm not one to complain, but I may want to track down something like this for Nioh:
https://steamcommunity.com/sharedfiles/ ... =890543121
Has anyone seen an easy way to complete the process? Honestly, if I can't find one it should be pretty easy to do, considering every video in the game is its own individual .wmv file (inside ..\Steam\steamapps\common\Nioh\movie).
Re: Nioh No 21:9 support (Fix request)
The Game have a new patch, now 21:9 again still not working, need a refresh version .exe file of resolution, can someone attach it plz?
Re: Nioh No 21:9 support (Fix request)
niceee wrote:The Game have a new patch, now 21:9 again still not working, need a refresh version .exe file of resolution, can someone attach it plz?
LennardF1989's Fix still works!
https://github.com/LennardF1989/NiohResolution/releases
Re: Nioh No 21:9 support (Fix request)
Update for v1.21.03
Re: Nioh No 21:9 support (Fix request)
wsgf_fan wrote:niceee wrote:The Game have a new patch, now 21:9 again still not working, need a refresh version .exe file of resolution, can someone attach it plz?
LennardF1989's Fix still works!
https://github.com/LennardF1989/NiohResolution/releases
I dont get it how it works
jackfuste wrote:Update for v1.21.03
Thx a lot you are the best
Re: Nioh No 21:9 support (Fix request)
jackfuste wrote:Update for v1.21.03
It seems that files are corrupt, could be?
-
mistershan
- Posts: 11
- Joined: 03 Jun 2017, 21:14
Re: Nioh No 21:9 support (Fix request)
jackfuste wrote:LiquidSam wrote:It seems that files are corrupt, could be?
Forum doesn't allow to attach files more than 5MB, so the archive divided into 3 parts.
You need to download all 3 parts of archive and start unpack it from first part - Nioh_v1_21_03.part001.rar
You can unpack it using 7-Zip or WinRAR
Thank you for the fix! Is there a way to also adjust the interface for 21:9? The interface seems to be set to 16:9. I don't remember but I thought last time it fit the full screen. Thanks again.
Re: Nioh No 21:9 support (Fix request)
jackfuste wrote:LiquidSam wrote:It seems that files are corrupt, could be?
Forum doesn't allow to attach files more than 5MB, so the archive divided into 3 parts.
You need to download all 3 parts of archive and start unpack it from first part - Nioh_v1_21_03.part001.rar
You can unpack it using 7-Zip or WinRAR
It was my fault. Winrar version. Thx! u rock!
Re: Nioh No 21:9 support (Fix request)
New Update just hit steam.
Still using the fix for 1.21.03. Working fine.
Still using the fix for 1.21.03. Working fine.
Re: Nioh No 21:9 support (Fix request)
Update for v1.21.04
Who is online
Users browsing this forum: Bing [Bot], Semrush [Bot] and 5 guests




























