Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Commit

Permalink
Apply difficulty hacks
Browse files Browse the repository at this point in the history
(specifically for Campaign, Tournament, and Knockout)
... And add more offsets
  • Loading branch information
alexstrout committed Mar 22, 2017
1 parent 88c5bfe commit 8f53dba
Show file tree
Hide file tree
Showing 3 changed files with 458 additions and 2 deletions.
Binary file modified Difficulty Selection Patch/nfs4.exe
Binary file not shown.
28 changes: 26 additions & 2 deletions Tools/Offsets.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,37 @@
config.dat 000C04 00->01 = enable cheats

nfs4.exe 0C4E9C C705104D7C0001000000 -> 90909090909090909090 = disable Hot Pursuit difficulty override (Part 1)
nfs4.exe 0C4EA8 C705104D7C0002000000 -> 90909090909090909090 = disable Hot Pursuit difficulty override (Part 2)
nfs4.exe 0C4EB8 C705104D7C0001000000 -> 90909090909090909090 = disable Hot Pursuit difficulty override (Part 3)

nfs4.exe 0C3A6C 8915104D7C00 -> 909090909090 = disable Knockout difficulty override
nfs4.exe 0C3FB4 8915104D7C00 -> 909090909090 = disable Tournament difficulty override

nfs4.exe 0C4AA2 891D104D7C00 -> 909090909090 = disable Career difficulty override (Part 1)
nfs4.exe 0C4ABB 890D104D7C00 -> 909090909090 = disable Career difficulty override (Part 2)
nfs4.exe 0C4AC3 8915104D7C00 -> 909090909090 = disable Career difficulty override (Part 3)
nfs4.exe 0C4B27 A3104D7C00 -> 9090909090 = disable Career difficulty override (Part 4)

---
In progress:
---
Disable Hot Pursuit difficulty override:
nfs4.exe+C5AB8 - C7 05 104D7C00 01000000 - mov [nfs4.exe+3C4D10],00000001 { [00000001] }
nfs4.exe+C5A9C - C7 05 104D7C00 01000000 - mov [nfs4.exe+3C4D10],00000001 { [00000001] }
nfs4.exe+C5AB8 - C7 05 104D7C00 01000000 - mov [nfs4.exe+3C4D10],00000001 { [00000001] }
nfs4.exe+C5AA8 - C7 05 104D7C00 02000000 - mov [nfs4.exe+3C4D10],00000002 { [00000001] }
+ 2 more, possibly splitscreen?

C705104D7C0001000000 -> 90909090909090909090
C705104D7C0002000000 -> 90909090909090909090

Disable Knockout difficulty override:
nfs4.exe+C466C - 89 15 104D7C00 - mov [nfs4.exe+3C4D10],edx { [00000002] }

Disable Tournament difficulty override:
nfs4.exe+C4BB4 - 89 15 104D7C00 - mov [nfs4.exe+3C4D10],edx { [00000002] }

Disable Career difficulty override:
nfs4.exe+C56A2 - 89 1D 104D7C00 - mov [nfs4.exe+3C4D10],ebx { [00000002] }
nfs4.exe+C56BB - 89 0D 104D7C00 - mov [nfs4.exe+3C4D10],ecx { [00000002] }
nfs4.exe+C56C3 - 89 15 104D7C00 - mov [nfs4.exe+3C4D10],edx { [00000002] }
nfs4.exe+C5727 - A3 104D7C00 - mov [nfs4.exe+3C4D10],eax { [00000002] }
+ more??
Loading

0 comments on commit 8f53dba

Please sign in to comment.