Skip to content
John Peterson edited this page May 14, 2013 · 26 revisions

Apply .dif

Apply a .dif with

idadif.py xinput1_3.dll xinput1_3.dif

Frequently written memory

Problem

Some values are written often by the program, and sometimes also read soon after they are written, f.e. the position in a racing game

Solution

Patch the position update function. This is done in

daytona2
scud
srally2

This is easier in an emulator that allow memory breakpoints, f.e. model3emu, because that allow finding the function

In ArtMoney setting "Options → General → Freeze time" to the lowest value "1 ms" work, f.e. in srally2, when

  • it read the position (on finish) more than 1 ms after writing it

doesn't work when

  • it read the position (on finish) less than 1 ms after writing it
  • it read the position from a function rather than a variable

Clone this wiki locally