Skip to content

Instantly share code, notes, and snippets.

@Spikeyy

Spikeyy/guide.md Secret

Created June 13, 2022 08:12
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Spikeyy/b2e4d1f9892eeee7692d2fc6f43c1dd1 to your computer and use it in GitHub Desktop.
Save Spikeyy/b2e4d1f9892eeee7692d2fc6f43c1dd1 to your computer and use it in GitHub Desktop.
Guide to patch Id5Tweaker for Epic Games version of Wolfenstein: The New Order

Id5Tweaker for Wolfenstein: The New Order (Epic Games)

  1. Download Id5Tweaker (https://community.pcgamingwiki.com/files/file/849-id5-tweaker/) and extract.
  2. Open 64bit_RAGE_Wolfenstein/dinput8.dll in a hex editor (e.g. HxD)
  3. Using the table below, search for the values on the left as hex and replace with the values on the right
  4. Save and copy dinput8.dll to the games install folder (Epic Games/WolfensteinTNO).
Find Replace
20 A1 5B 41 01 30 25 48 41 01
30 DF 9E 40 01 80 A3 A5 40 01
E0 CC 15 A0 55 16
40 54 86 40 01 A0 0B 83 40 01
40 54 86 40 01 A0 0B 83 40 01
90 E1 9E 40 01 70 B9 A5 40 01
D0 D2 9D 40 01 20 B9 A4 40 01
40 6F EF 41 01 20 62 CE 41 01
80 D5 9D 40 01 E0 AA A4 40 01
60 17 6B 41 01 90 55 55 41 01
@Byproduct
Copy link

Byproduct commented Jul 17, 2022

Wow this works! Finally no 60 FPS lock, thank you so much!

Btw after this fix I had to change PPF from 64 to 32 and VT compress to enabled (in advanced video options) or it would run the menu but crash the game. Just a heads up in case someone else has the same problem.

Also worth noting that id5Tweaker.ini lets you disable depth of field entirely. Not a fan of it personally. :)

@GR-LORD
Copy link

GR-LORD commented May 23, 2023

Hallo,

does this works on the xbox game pass version also ?

@Spikeyy
Copy link
Author

Spikeyy commented May 23, 2023

Hallo,

does this works on the xbox game pass version also ?

I'm currently unable to test, but these values (same order as above) should work with game pass version

  • 30 05 52 41 01
  • B0 10 A7 40 01
  • 00 59 16
  • 20 78 84 40 01
  • 20 78 84 40 01
  • A0 26 A7 40 01
  • 70 26 A6 40 01
  • 70 9F D8 41 01
  • 30 18 A6 40 01
  • 90 91 5F 41 01

@GR-LORD
Copy link

GR-LORD commented May 24, 2023

I'm currently unable to test, but these values (same order as above) should work with game pass version

  • 30 05 52 41 01
  • B0 10 A7 40 01
  • 00 59 16
  • 20 78 84 40 01
  • 20 78 84 40 01
  • A0 26 A7 40 01
  • 70 26 A6 40 01
  • 70 9F D8 41 01
  • 30 18 A6 40 01
  • 90 91 5F 41 01

@Spikeyy

this did not work

@Sas-KP
Copy link

Sas-KP commented May 29, 2023

I can't get it working. Did it twice, double checked if everything that I replaced is right. After using the 2 console commands (toggle com_synctotime and r_syncatendframe) it's still running very fast. Without the commands, FPS is locked to 60 like normally.

I also copied over id5Tweaker.ini, no change. Also tried leaving "dinput8.dll" in the "64bit_RAGE_Wolfenstein" folder, and copying the whole folder to the game's main folder, no change. It does not matter if I start the game from EGS or from the game's folder.

@Sas-KP
Copy link

Sas-KP commented May 29, 2023

Nevermind, I actually had to use the "id5Tweaker_SetFpsLimit 144" command in console, the other 2 are not needed at all...

Thanks a lot for your effort putting this together, I can finally replay this masterpiece with a high framerate after 9 years.
Back then I was 14 and could barely run this with 30 fps on my wooden PC.

@GR-LORD
Copy link

GR-LORD commented May 29, 2023

Nevermind, I actually had to use the "id5Tweaker_SetFpsLimit 144" command in console, the other 2 are not needed at all...

Thanks a lot for your effort putting this together, I can finally replay this masterpiece with a high framerate after 9 years. Back then I was 14 and could barely run this with 30 fps on my wooden PC.

Hi Sas-KP

What exactly did you do to make it work?

@Spikeyy
Copy link
Author

Spikeyy commented May 30, 2023

I'm currently unable to test, but these values (same order as above) should work with game pass version

  • 30 05 52 41 01
  • B0 10 A7 40 01
  • 00 59 16
  • 20 78 84 40 01
  • 20 78 84 40 01
  • A0 26 A7 40 01
  • 70 26 A6 40 01
  • 70 9F D8 41 01
  • 30 18 A6 40 01
  • 90 91 5F 41 01

@Spikeyy

this did not work

@GR-LORD

Hey, I tested those values on the game pass version and they worked. Not sure why they didn't work for you, but I uploaded a patched DLL for game pass here

@GR-LORD
Copy link

GR-LORD commented May 30, 2023

@Spikeyy

Hi, I tried the patched DLL file and didn't work also !
I don't know why it isn't working for me.

@Sas-KP
Copy link

Sas-KP commented May 30, 2023

@GR-LORD I'm using the EGS version, can't help you with Game Pass, the whole file structure looks different.

Edited the 64 bit dinput8.dll, copied it, found out that I have to use the "id5Tweaker_SetFpsLimit 144" console command for it to actually work.

You can also copy "id5Tweaker.ini" to the same directory where the game's exe is, and edit the line ";id5Tweaker_SetFpsLimit 120".
Delete the semicolon to enable it (";") and replace 120 with 144 or whatever limit you want and save it. This way you don't have to use the console command at all, it's automatic + you can do a bunch of other stuff with it like disable depth of field.

@Spikeyy
Copy link
Author

Spikeyy commented Jun 1, 2023

@GR-LORD
Hmm, odd. I assume the game just crashes?

@Saeniv
Copy link

Saeniv commented Jul 5, 2023

I copied the changed .dll to the Heroic Games Folder, where I found the .exe file and added the commands, WINEDLLOVERRIDES="dinput8=n,b" %command% +com_skipintrovideo 1, found on ProtonDB to skip the long intro and add the dll to wine.

But when I enter id5Tweaker_SetFpsLimit 140 I always get "Unkown command". Does anyone have the same issue?

@igorgomeslima
Copy link

igorgomeslima commented Jul 29, 2023

For "Epic Games version" 2023

Well, Ive tried to change the hex values in the last version of dinput8.dll, but the game crashes when I run the necessary commands(we need commands when we do not have id5Tweaker.ini in root game folder), like: id5Tweaker_SetFpsLimit <1123123123123>.

I found a workaround here, just follow the guide.

TL; DR: Basically we already have a Epic Games specific dinput8.dll ready to use.

GG!

@Aux5
Copy link

Aux5 commented Aug 2, 2023

@Spikeyy Do you know where I would be able to find game pass hex values for Wolfenstein Old Blood?

@Spikeyy
Copy link
Author

Spikeyy commented Aug 2, 2023

@Spikeyy Do you know where I would be able to find game pass hex values for Wolfenstein Old Blood?

Find Replace
90 00 7A 41 01 30 B3 53 41 01
60 36 9C 40 01 A0 84 A7 40 01
70 84 15 D0 70 16
80 65 83 40 01 60 E2 84 40 01
80 65 83 40 01 60 E2 84 40 01
A0 4B 9C 40 01 80 99 A7 40 01
20 6A 9B 40 01 B0 9C A6 40 01
60 9D 0F 42 01 60 08 DA 41 01
C0 5B 9B 40 01 D0 8E A6 40 01
40 6B 8B 41 01 20 2E 61 41 01

@Aux5
Copy link

Aux5 commented Aug 2, 2023

@Spikeyy does the file location matter? I was able to extract the gamepass version to a folder on my C: drive. Those values you provided caused a failure to launch before and after I moved the game folder. Could you explain how you're finding these hex values? Perhaps its different per machine

@Spikeyy
Copy link
Author

Spikeyy commented Aug 2, 2023

@Aux5 My bad, I forgot to include the values to search for. Updated previous comment.

@Aux5
Copy link

Aux5 commented Aug 3, 2023

@Spikeyy That worked! Thank you so much, I really appreciate you taking the time to help.

@heisenderp
Copy link

I'm currently unable to test, but these values (same order as above) should work with game pass version

  • 30 05 52 41 01
  • B0 10 A7 40 01
  • 00 59 16
  • 20 78 84 40 01
  • 20 78 84 40 01
  • A0 26 A7 40 01
  • 70 26 A6 40 01
  • 70 9F D8 41 01
  • 30 18 A6 40 01
  • 90 91 5F 41 01

@Spikeyy
this did not work

@GR-LORD

Hey, I tested those values on the game pass version and they worked. Not sure why they didn't work for you, but I uploaded a patched DLL for game pass here

Hello, I tried this dll file and pasted it in the WindowsApp > Wolfenstein game folder is this correct? It doesn't appear to work.

@Spikeyy
Copy link
Author

Spikeyy commented Aug 6, 2023

@heisenderp Place it in the folder that contains the games .exe file.

@phucle2608445
Copy link

phucle2608445 commented Aug 9, 2023

can you show me how to use the hex editor i opened it and i totally didn't know how to use

@rs4c
Copy link

rs4c commented Sep 21, 2023

This fix breaks one of the quests ('find Anya'), script on beginning of the quest doesn't work. jfyi
deletting / reinstalling files and it works again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment