diff --git a/Difficulty Selection Patch/nfs4.exe b/Difficulty Selection Patch/nfs4.exe index 6f3923e..1224074 100644 Binary files a/Difficulty Selection Patch/nfs4.exe and b/Difficulty Selection Patch/nfs4.exe differ diff --git a/Tools/Offsets.txt b/Tools/Offsets.txt index 82e028e..b018937 100644 --- a/Tools/Offsets.txt +++ b/Tools/Offsets.txt @@ -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?? diff --git a/Tools/nfs4.CT b/Tools/nfs4.CT new file mode 100644 index 0000000..d243b72 --- /dev/null +++ b/Tools/nfs4.CT @@ -0,0 +1,432 @@ + + + + + 0 + "Difficulty" + + 4 Bytes +
007C4D10
+
+
+ + + Code :inc [eax] (Inc. Difficulty) +
004ACADB
+ nfs4.exe + ACADB + + 00 + 00 + 8B + 45 + E0 + + + FF + 00 + + + 8B + 45 + E0 + 8B + 00 + +
+ + Code :mov [eax],00000000 (Wrap-Around Difficulty) +
004ACAF0
+ nfs4.exe + ACAF0 + + 75 + 09 + 8B + 45 + E0 + + + C7 + 00 + 00 + 00 + 00 + 00 + + + 83 + 7D + EC + 00 + 74 + +
+ + Code :mov [eax],edx (Set Difficulty) +
004AEAA2
+ nfs4.exe + AEAA2 + + FA + 10 + 8B + 45 + D8 + + + 89 + 10 + + + 8B + 45 + CC + E8 + E4 + +
+ + Code :mov [nfs4.exe+3C4D10],edx (Auto-Set Difficulty - KO) +
004C466C
+ nfs4.exe + C466C + + 01 + 98 + 9F + 5B + 00 + + + 89 + 15 + 10 + 4D + 7C + 00 + + + 8B + 94 + 01 + 88 + 9F + +
+ + Code :mov [nfs4.exe+3C4D10],edx (Auto-Set Difficulty - Tournament) +
004C4BB4
+ nfs4.exe + C4BB4 + + 01 + A0 + 9D + 5B + 00 + + + 89 + 15 + 10 + 4D + 7C + 00 + + + 8B + 94 + 01 + 90 + 9D + +
+ + Code :mov [nfs4.exe+3C4D10],ecx (Auto-Set Difficulty - Career T2) +
004C56BB
+ nfs4.exe + C56BB + + DF + E0 + 9E + 73 + 08 + + + 89 + 0D + 10 + 4D + 7C + 00 + + + EB + 06 + 89 + 15 + 10 + +
+ + Code :mov [nfs4.exe+3C4D10],esi +
004C1B82
+ nfs4.exe + C1B82 + + 3D + F0 + 4C + 7C + 00 + + + 89 + 35 + 10 + 4D + 7C + 00 + + + 31 + C0 + BF + 02 + 00 + +
+ + Code :mov [nfs4.exe+3C4D10],ebx (Auto-Set Difficulty - Career T1) +
004C56A2
+ nfs4.exe + C56A2 + + 9E + 76 + 0A + 31 + DB + + + 89 + 1D + 10 + 4D + 7C + 00 + + + EB + 1F + D9 + 85 + 6E + +
+ + Code :mov [nfs4.exe+3C4D10],edx (Auto-Set Difficulty - Career T3?) +
004C56C3
+ nfs4.exe + C56C3 + + 4D + 7C + 00 + EB + 06 + + + 89 + 15 + 10 + 4D + 7C + 00 + + + 83 + 7D + 3E + 02 + 75 + +
+ + Code :mov [nfs4.exe+3C4D10],eax (Auto-Set Difficulty - Career HS) +
004C5727
+ nfs4.exe + C5727 + + 00 + 00 + 8B + 45 + 7A + + + A3 + 10 + 4D + 7C + 00 + + + D9 + 85 + 6E + FD + FF + +
+ + Code :mov [nfs4.exe+3C4D10],eax +
00516C3B
+ nfs4.exe + 116C3B + + 00 + EB + C2 + 31 + C0 + + + A3 + 10 + 4D + 7C + 00 + + + EB + 0A + C7 + 05 + 10 + +
+ + Code :mov [nfs4.exe+3C4D10],00000002 +
00516C42
+ nfs4.exe + 116C42 + + 4D + 7C + 00 + EB + 0A + + + C7 + 05 + 10 + 4D + 7C + 00 + 02 + 00 + 00 + 00 + + + 31 + F6 + 89 + 35 + 0C + +
+ + Code :mov [nfs4.exe+3C4D10],edx +
00516EF3
+ nfs4.exe + 116EF3 + + 12 + EB + 1D + 31 + D2 + + + 89 + 15 + 10 + 4D + 7C + 00 + + + 89 + EC + 5D + 5F + 5E + +
+ + Code :mov [nfs4.exe+3C4D10],eax +
00516F01
+ nfs4.exe + 116F01 + + 5F + 5E + 5A + 59 + C3 + + + A3 + 10 + 4D + 7C + 00 + + + 89 + EC + 5D + 5F + 5E + +
+ + Code :mov [nfs4.exe+3C4D10],00000002 +
00516F0E
+ nfs4.exe + 116F0E + + 5F + 5E + 5A + 59 + C3 + + + C7 + 05 + 10 + 4D + 7C + 00 + 02 + 00 + 00 + 00 + + + 89 + EC + 5D + 5F + 5E + +
+
+ +