Skip to content

Instantly share code, notes, and snippets.

@nlgxzef
Created June 11, 2018 16:17
Show Gist options
  • Save nlgxzef/703ed726b162271c50bc3592f31234b7 to your computer and use it in GitHub Desktop.
Save nlgxzef/703ed726b162271c50bc3592f31234b7 to your computer and use it in GitHub Desktop.
This cheat table lets you enable Leaderboard on prologue races of NFS Carbon.
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="24">
<CheatEntries>
<CheatEntry>
<ID>0</ID>
<Description>"Enable leaderboard in prologue events (click the box on the left)"</Description>
<LastState Activated="1"/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>// Show HUD Elements on Prologue Events
[ENABLE]
// Force show leaderboard
5DC77B:
db 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
// Don't use special values for prologue races
5DC8FA:
db EB
[DISABLE]
5DC77B:
db 74 12 83 F8 09 74 0D 83 F8 07 74 08 83 F8 0D 74 03
5DC8FA:
db 74
</AssemblerScript>
</CheatEntry>
</CheatEntries>
<CheatCodes>
<CodeEntry>
<Description>Change of je NFSC.exe+1DC78F</Description>
<Address>005DC785</Address>
<ModuleName>NFSC.exe</ModuleName>
<ModuleNameOffset>1DC785</ModuleNameOffset>
<Before>
<Byte>74</Byte>
<Byte>0D</Byte>
<Byte>83</Byte>
<Byte>F8</Byte>
<Byte>07</Byte>
</Before>
<Actual>
<Byte>74</Byte>
<Byte>08</Byte>
</Actual>
<After>
<Byte>83</Byte>
<Byte>F8</Byte>
<Byte>0D</Byte>
<Byte>74</Byte>
<Byte>03</Byte>
</After>
</CodeEntry>
<CodeEntry>
<Description>Change of je NFSC.exe+1DC78F</Description>
<Address>005DC780</Address>
<ModuleName>NFSC.exe</ModuleName>
<ModuleNameOffset>1DC780</ModuleNameOffset>
<Before>
<Byte>74</Byte>
<Byte>12</Byte>
<Byte>83</Byte>
<Byte>F8</Byte>
<Byte>09</Byte>
</Before>
<Actual>
<Byte>74</Byte>
<Byte>0D</Byte>
</Actual>
<After>
<Byte>83</Byte>
<Byte>F8</Byte>
<Byte>07</Byte>
<Byte>90</Byte>
<Byte>90</Byte>
</After>
</CodeEntry>
<CodeEntry>
<Description>Change of je NFSC.exe+1DC78F</Description>
<Address>005DC77B</Address>
<ModuleName>NFSC.exe</ModuleName>
<ModuleNameOffset>1DC77B</ModuleNameOffset>
<Before>
<Byte>C3</Byte>
<Byte>8B</Byte>
<Byte>44</Byte>
<Byte>24</Byte>
<Byte>14</Byte>
</Before>
<Actual>
<Byte>74</Byte>
<Byte>12</Byte>
</Actual>
<After>
<Byte>83</Byte>
<Byte>F8</Byte>
<Byte>09</Byte>
<Byte>90</Byte>
<Byte>90</Byte>
</After>
</CodeEntry>
<CodeEntry>
<Description>Change of je NFSC.exe+1DC78F</Description>
<Address>005DC78A</Address>
<ModuleName>NFSC.exe</ModuleName>
<ModuleNameOffset>1DC78A</ModuleNameOffset>
<Before>
<Byte>90</Byte>
<Byte>90</Byte>
<Byte>83</Byte>
<Byte>F8</Byte>
<Byte>0D</Byte>
</Before>
<Actual>
<Byte>74</Byte>
<Byte>03</Byte>
</Actual>
<After>
<Byte>83</Byte>
<Byte>CD</Byte>
<Byte>08</Byte>
<Byte>8B</Byte>
<Byte>4C</Byte>
</After>
</CodeEntry>
</CheatCodes>
<UserdefinedSymbols/>
</CheatTable>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment