Widescreen Gaming Forum

[-noun] Web community dedicated to ensuring PC games run properly on your tablet, netbook, personal computer, HDTV and multi-monitor gaming rig.
It is currently 01 Dec 2024, 11:09

All times are UTC [ DST ]




Post new topic Reply to topic  [ 162 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14, 15, 16, 17  Next
Author Message
PostPosted: 15 Nov 2017, 07:38 
Offline

Joined: 12 Nov 2017, 22:49
Posts: 4
Super Thnkxxxxx


Top
 Profile  
 


PostPosted: 15 Nov 2017, 09:01 
Offline

Joined: 15 Nov 2017, 08:55
Posts: 1
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.


Top
 Profile  
 
PostPosted: 15 Nov 2017, 09:08 
Offline

Joined: 15 Nov 2017, 09:03
Posts: 1
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.


Top
 Profile  
 
PostPosted: 15 Nov 2017, 10:05 
Offline
User avatar

Joined: 15 Nov 2017, 09:58
Posts: 3
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!

_________________
Appreciate my work? Consider buying me a coffee! https://www.paypal.me/LennardF1989


Top
 Profile  
 
PostPosted: 15 Nov 2017, 16:18 
Offline

Joined: 11 Nov 2017, 13:03
Posts: 10
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"
    Image
  • Enter constant - 3FE38E39 and press OK
    Image
  • Select second found command "mov dword ptr [rbx+0x50], 0x3FE38E39" click on it RMB (right mouse button) and select "Follow in Disassembler"
    Image
  • Scroll down FPU window and click two times LMB (left mouse button) on XMM0 register
    Image
  • 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
    Image
  • 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 ..."
    Image
  • Go to "Memory Map" tab, select nioh.exe click on it RMB and select "Find Pattern"
    Image
  • Paste to "Hex:" window following bytes 0F 95 C0 88 46 34 and press OK
    Image
  • Select found bytes "0F 95 C0 88 46 34"click on it RMB and select "Follow in Disassembler"
    Image
  • 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 ..."
    Image
  • Select "call 0x00007FF772BA3451" and press "Enter" to go inside it
    Image
  • Press "Enter" again to go inside "jmp 0x00007FF773104E40"
    Image
  • Click two time LMB on command
    jle 0x00007FF773104E70
    and change it to unconditional jump
    jmp 0x00007FF773104E70
    Image
    and also change command
    jns 0x00007FF773104E86
    to unconditional jump
    jmp 0x00007FF773104E86
    Image Image
  • 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)"
    Image
  • You will see values 1080 and 1920
    Image
  • 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
    Image
  • Click two times LMB on 1920 value in the Dump window and change it to 45200000
    Image Image
  • 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)"
    Image
  • You will see two group of values
    Image
    First is a real resolution:
    Code:
    3840        2160
    2560        1440
    2048        1152
    1920        1080
    1600         900
    1366         768
    1280         720

    Second is internal game resolution:
    Code:
    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...
    Image Image
    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.
    Image
  • File - Patch file
  • Click "Patch File"
    Image
    Make copy of nioh.exe, and select it for patch, but make sure that file doesn't have attribute "Read only"
    Image

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?


Top
 Profile  
 
PostPosted: 16 Nov 2017, 01:48 
Offline

Joined: 25 Aug 2016, 06:13
Posts: 13
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.


Top
 Profile  
 
PostPosted: 16 Nov 2017, 01:53 
Offline

Joined: 20 Aug 2017, 14:29
Posts: 16
Is there a way to fix the HUD position?


Top
 Profile  
 
PostPosted: 17 Nov 2017, 18:18 
Offline

Joined: 29 Oct 2017, 19:28
Posts: 8
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.


Top
 Profile  
 
PostPosted: 17 Nov 2017, 23:16 
Offline
User avatar

Joined: 15 Nov 2017, 09:58
Posts: 3
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 :) With 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

_________________
Appreciate my work? Consider buying me a coffee! https://www.paypal.me/LennardF1989


Top
 Profile  
 
PostPosted: 20 Nov 2017, 08:58 
Offline

Joined: 25 Aug 2016, 06:13
Posts: 13
LennardF1989 wrote:
I just released v1.1.0 which incorporates the fixes provided by @Jackufuste :) With 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).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 162 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14, 15, 16, 17  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 153 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  




Powered by phpBB® Forum Software © phpBB Group