Hello, everyone. I am sorry I do not have Windows / x86 any longer. :( I may still disassemble new version, but I do not want to install game I cannot really play or test any longer. If someone would to send me the newest update just an executable, I could compile a new version of mod. Reply to this message or send direct message and I can help out. Beside this, the source code is completely public domain. If someone would like to take mod responsibility, I would be happy to make this one redirect to new version.
For 2.21, the new hex location is: File offset @ 0x029DEFEF Binary pattern: 74 ? 8B 05 ? ? ? ? 4C 8D 0D
0x74 -> 0xEB (jz -> jmp)
Seems to work and disables watchdog timeout. However, if you are using this for PT in photo mode for the new Nvidia 50 series graphics cards, the issue is a driver issue and disabling watchdog timeout will not fix it. We will have to wait until Nvidia addresses the problem. Issue is acknowledged by Nvidia under their latest driver update post: https://www.nvidia.com/en-us/geforce/forums/game-ready-drivers/13/560098/geforce-grd-57283-feedback-thread-released-31825/.
I suggest using a hex editor (I am use ImHex personally) and changing the instruction manually. MAKE A BACK UP OF THE ORIGINAL .EXE JUST IN CASE
Quick tutorial with ImHex: - BACK UP YOUR ORIGINAL EXE PLEASE! - Open ImHex - Go to File -> Load File - Load your Cyberpunk 2077.exe from install location - Go to File -> Goto (Or press CTRL + G)
FOR 2.12: - Enter 0x29BB13F into the Goto box FOR 2.13: - Enter 0x299423D into the Goto box
- In the hex view, a byte that says 74 should be highlighted --! IF IT IS NOT '74' THEN YOUR EXE IS DIFFERENT OR VERSION IS WRONG , POST COMMENT HERE !-- - Double click that byte and type `EB` into the form, it should now be red - Go to File -> Save (If it is greyed out, it has automatically saved the file) - Close ImHex and program should be patched
Thank you it worked! I did everything you said. I would like to learn about how this works, for me it's interesting that an useful patch like this can be done by changing a byte. If you could send me to tutorials on how I can learn about how to do this reverse engineering will be appreciated
Sure thing, hope it helps :) As to reverse engineer, I would suggest look around game modding/hacking forums. There are a lot of forum dedicated to doing this kind of objective. There are places where you can try to find "CrackMe" challenge and a lot of people will do these and make write up about how they did them. The best thing you can do is write software in low level languages like C/C++ and understand what it is doing. Look at other people software and understand what that is doing. Open programs with a disassembler (IDA, Ghidra are two big ones) and look around at what they're doing. Figure out how to use those programs proficient. For more specific, try OALabs on youtube, he has a very good channel! Guided Hacking will have a lot of good resources on Youtube as well :) Try to follow along with those videos, web search what you do not understand. Ask ChatGPT or other AI text bot for help. They can be very useful to learning fast. Sorry this is not too specific. Hope it is helpful, take care
Don't worry, your answer is perfect and thank you so much, I'll look into the tips you gave me. I been always wanting to learn this but I had 0 idea where to start, I already a little bit about coding but never knew exactly what tools to use, thanks again and take care! <3
@TwentyOneCharacters: Back in the old days, this method was actually common practice, and how we made our own programs do things that they weren't ordinarily able to do. Early versions of BASIC actually had built-in commands to do it, called PEEK and POKE. Given a memory address, PEEK would return its contents, and POKE could then be used to change the value.
Writing programs that require or make use of direct access to addressed memory space is generally considered a HUGE no-no these days, you'll get fired from a coding job if you use injections like that in anything that's going to be sold commercially. But sometimes it's necessary, such as in this case.
I also had the Problem, since 2.13, that CP77 crashes, because it takes longer than 120s to start. Solution: Disable Avira Antivirus. When your PC has enugh power, check, if maybe your "Snakeoil Software" interrupts the Cyberpunk 2077 start.
59 comments
I may still disassemble new version, but I do not want to install game I cannot really play or test any longer. If someone would to send me the newest update just an executable, I could compile a new version of mod. Reply to this message or send direct message and I can help out. Beside this, the source code is completely public domain. If someone would like to take mod responsibility, I would be happy to make this one redirect to new version.
File offset @ 0x029DEFEF
Binary pattern: 74 ? 8B 05 ? ? ? ? 4C 8D 0D
0x74 -> 0xEB (jz -> jmp)
Seems to work and disables watchdog timeout. However, if you are using this for PT in photo mode for the new Nvidia 50 series graphics cards, the issue is a driver issue and disabling watchdog timeout will not fix it. We will have to wait until Nvidia addresses the problem. Issue is acknowledged by Nvidia under their latest driver update post: https://www.nvidia.com/en-us/geforce/forums/game-ready-drivers/13/560098/geforce-grd-57283-feedback-thread-released-31825/.
I suggest using a hex editor (I am use ImHex personally) and changing the instruction manually.
MAKE A BACK UP OF THE ORIGINAL .EXE JUST IN CASE
Quick tutorial with ImHex:
- BACK UP YOUR ORIGINAL EXE PLEASE!
- Open ImHex
- Go to File -> Load File
- Load your Cyberpunk 2077.exe from install location
- Go to File -> Goto (Or press CTRL + G)
FOR 2.12:
- Enter 0x29BB13F into the Goto box
FOR 2.13:
- Enter 0x299423D into the Goto box
- In the hex view, a byte that says 74 should be highlighted
--! IF IT IS NOT '74' THEN YOUR EXE IS DIFFERENT OR VERSION IS WRONG , POST COMMENT HERE !--
- Double click that byte and type `EB` into the form, it should now be red
- Go to File -> Save (If it is greyed out, it has automatically saved the file)
- Close ImHex and program should be patched
As to reverse engineer, I would suggest look around game modding/hacking forums. There are a lot of forum dedicated to doing this kind of objective. There are places where you can try to find "CrackMe" challenge and a lot of people will do these and make write up about how they did them. The best thing you can do is write software in low level languages like C/C++ and understand what it is doing. Look at other people software and understand what that is doing. Open programs with a disassembler (IDA, Ghidra are two big ones) and look around at what they're doing. Figure out how to use those programs proficient. For more specific, try OALabs on youtube, he has a very good channel! Guided Hacking will have a lot of good resources on Youtube as well :)
Try to follow along with those videos, web search what you do not understand. Ask ChatGPT or other AI text bot for help. They can be very useful to learning fast. Sorry this is not too specific. Hope it is helpful, take care
Writing programs that require or make use of direct access to addressed memory space is generally considered a HUGE no-no these days, you'll get fired from a coding job if you use injections like that in anything that's going to be sold commercially. But sometimes it's necessary, such as in this case.
Update for 2.2 now! Sorry again.
Nexus will take time to review file. New version is on Github under releases.
Solution: Disable Avira Antivirus.
When your PC has enugh power, check, if maybe your "Snakeoil Software" interrupts the Cyberpunk 2077 start.