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 25 Apr 2024, 20:23

All times are UTC [ DST ]




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

Joined: 10 Nov 2017, 15:02
Posts: 6
Exactly that's the point!

Don't treat him like some sort of "god" here, dunno what's so secret and why he can't simply response and tell us: "No I can't because it's too complicated" or "Yes I can, do it like this..."

I really appreciate his job here but just can't understand this "secrets" - the forum is meant to help and share opinions...


Top
 Profile  
 


PostPosted: 14 Nov 2017, 21:42 
Offline

Joined: 11 Nov 2017, 13:03
Posts: 10
caleb59 wrote:
Exactly that's the point!

Don't treat him like some sort of "god" here, dunno what's so secret and why he can't simply response and tell us: "No I can't because it's too complicated" or "Yes I can, do it like this..."

I really appreciate his job here but just can't understand this "secrets" - the forum is meant to help and share opinions...

If he doesn't mind fixing the exe every time the game is updated, then I'm fine with that. The only reason why I asked him for a guide was precissely to avoid annoying him every time a new patch is deployed. But if he prefers to maintain it in secret it's ok, as long as he continues supporting the game, hehe.


Top
 Profile  
 
PostPosted: 14 Nov 2017, 21:55 
Offline
Insiders
Insiders
User avatar

Joined: 19 Dec 2011, 16:03
Posts: 521
  • 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


Top
 Profile  
 
PostPosted: 14 Nov 2017, 22:06 
Offline

Joined: 10 Nov 2017, 15:02
Posts: 6
Yes, thank you very much!


Top
 Profile  
 
PostPosted: 14 Nov 2017, 22:49 
Offline
User avatar

Joined: 26 Aug 2016, 16:41
Posts: 49
I hope people understand how much time it took to just make that post alone, not to mention figure all this out, and appreciate the effort. Even though I don't play this game, I would like to say thanks.


Top
 Profile  
 
PostPosted: 14 Nov 2017, 23:18 
Offline

Joined: 08 Nov 2017, 16:02
Posts: 11
Do you take donations of any sort Jackfuste?


Top
 Profile  
 
PostPosted: 15 Nov 2017, 01:24 
Offline

Joined: 09 Nov 2017, 17:51
Posts: 10
thank you for your guide and as others have said: i really would like to support you for your work. if you take donations of any kind, please feel free to send me a message ( and dont be shy ... you really helped us and it took you some time doing it. So the least I / we can do is support YOU a little) :)


Top
 Profile  
 
PostPosted: 15 Nov 2017, 03:58 
Offline

Joined: 15 Apr 2013, 02:40
Posts: 6
just login for thx jack.
lol
lol
lol


Top
 Profile  
 
PostPosted: 15 Nov 2017, 05:24 
Offline

Joined: 25 Aug 2016, 06:13
Posts: 13
SirPommes wrote:
thank you for your guide and as others have said: i really would like to support you for your work. if you take donations of any kind, please feel free to send me a message ( and dont be shy ... you really helped us and it took you some time doing it. So the least I / we can do is support YOU a little) :)


I absolutely absolutely positively agree: The level of transparency and professionalism, not to mention the timely uploads of the patched executables since the game's release, have been absolutely amazing and unexpected. You really outdid yourself and as I mentioned in a previous post, were the sole reason I finally went through and purchased what many people were considering a shoddy PC port at best. I've come to love the game and have since validated my purchase of the product with virtually all of my positive sentiments riding on the shoulders of your hard work.

Thank you, Jack.


Top
 Profile  
 
PostPosted: 15 Nov 2017, 05:51 
Offline

Joined: 29 Oct 2016, 00:32
Posts: 22
Spoiler:
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


This is awesome Jack! Thanks! So is this process similar for most games?


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Yandex [Bot] and 11 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